Jump to content

MultiGamer

Member
  • Posts

    43
  • Joined

  • Last visited

Posts posted by MultiGamer

  1. _x is the current object when doing a forEach loop, if you are putting the loop in the middle of your code make sure it's initiated with spawn or execVM to avoid blocking other processes.  

     

    I would still be tempted to separate that check loop with a spawn, ensure it exits at some point and doesn't cause unnecessary load when running.

     

    Kzk,s blog is a wealth of good information.

    Thanks for help! i'm understand.

  2. #1.

    That full quote makes You look retarded.

    #2.

    There is a typo:

    IsKindOf not isKindOff

    #3.

    "_x" is a "magic varable", used in "count" and "forEach" loops.

    Greez KiloSwiss

    Okay.

    while { true } do { if ( _x isKindOff "AllVehicles" ) then { _x setDamage 1; }; };

    doesn't work...

    maybe i'm don't understand...

  3. #1.

    That limit is only existent if You call the Code, where the while loop is in.

    http://killzonekid.com/arma-scripting-tutorials-loops/

    #2.

    while { true } do {     waitUntil { cursorTarget isKindOf "AllVehicles" };       if( damage cursorTarget > 0 ) then {                systemChat format ["damage value - [%1]", damage cursorTarget];     };};

    Here I do not understand how to correctly use isKindOf?.

    For example:

    if ( _x isKindOff "AllVehicles") then { _x setDamage 1; };

    But it doesn't work...

  4. Hello everyone.
    How to create a continuous redo?

    i use: while {true} do {code?};
    but this redo is have limit on 10000 loops.

    How to make more?

    p.s I check for vehicle damage.
     

        while { true } do {
            if ( cursorTarget isKindOf "AllVehicles" ) then {   
                if( damage cursorTarget > 0 ) then {
                    systemChat format ["damage value - [%1]", damage cursorTarget];
                };
            };
        };
  5. Your launch parameters are not the reason for the crash, you can see the launch options info Here

    You really need to update your server files though, nobody can join a 1.38 server unless they disable auto updates, the vast majority will now be on 1.40

     

    I'd still double check Redis, check the redi conf info to what you have in epochserver.ini, they must match.

    The redis.conf

    bind 127.0.0.1
    maxmemory 4gb
    save 900 1
    save 300 10
    save 60 1000
    requirepass pass

    The epochserver.ini

    [EpochServer]
    InstanceID = NA123
    
    [Redis]
    IP = 127.0.0.1
    Port = 6379
    DB = 0
    Password = pass
  6. hi all!
    Why is almost every day falls server?
    Put the portion of the log.

      A3_Weapons_F_gamma in a3\weapons_f_gamma\
      A3_Air_F_Heli_Heli_Light_03 in a3\air_f_heli\heli_light_03\
      A3_Soft_F_Heli_MRAP_01 in a3\soft_f_heli\mrap_01\
      A3_Modules_F_GroupModifiers in a3\modules_f\groupmodifiers\
      A3_Weapons_F_Acc in a3\weapons_f\acc\, A3_Modules_F_UAV in a3\modules_f\uav\
      A3_Plants_F_Bush in a3\plants_f\bush\
    Mods: @EpochHive
    Extensions:
      ARMA_LOG (.\ARMA_LOG.dll)
      epochserver (E:\Server\@EpochHive\epochserver.dll)
    Distribution: 0
    Version 1.38.128937
    Fault time: 2015/03/05 19:08:29
    Fault address:  014DD209 01:009DC209 E:\Server\arma3server.exe
    file:     epoch (__cur_mp)
    world:    Altis
    Prev. code bytes: 6B 02 00 84 C0 74 2B 8B 4C 24 6C E8 F7 54 02 00
    Fault code bytes: 8B 80 D4 00 00 00 F3 0F 10 80 00 08 00 00 F3 0F
    
    Registers:
    EAX:00000000 EBX:00000009
    ECX:5D5787C0 EDX:5D5787C0
    ESI:00000000 EDI:6D0FAB60
    CS:EIP:0023:014DD209
    SS:ESP:002B:00A4F1D8  EBP:0000006C
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010246
    =======================================================
    note: Minidump has been generated into the file SC\arma3server_2015-03-05_16-00-29.mdmp
  7.  

    Try :

    		class Item1
    		{
    			position[]={18454.9,0.148972,14272.8}; //WEST
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="tradezone_z";
    			expCond="(player distance tradezone_z) < 100;";
    			expActiv = "[""ESpawn"",[""you have entered the safe zone.""]] call bis_fnc_showNotification; _safeZoneFiredEH = player addEventHandler ["Fired", {    deleteVehicle (_this select 6);    }];";
                expDesactiv = "[""EuSpawn"",[""you went with the safe zone.""]] call bis_fnc_showNotification; player removeEventHandler["Fired", _safeZoneFiredEH];";
                class Effects{};
    			{
    			
    			};
    		};
    

    image.png

    doesn't work.

    The error.

  8. Hi all!
    what could be the problem? error : incountered instead of '='

     

    the lines:

            class Item1 {
                name = "tradezone_z";
                position[] = {18454.9,0.148972,14272.8};
                a = 100;
                b = 100;
                angle = -130.966;
    2058 line:  activationBy = "ANY";
                repeating = 1;
                interruptable = 1;
                age = "UNKNOWN";
                expCond = "(vehicle player) in thislist;";
                expActiv = "[""ESpawn"",[""you have entered the safe zone.""]] call bis_fnc_showNotification; _safeZoneFiredEH = player addEventHandler ["Fired", {    deleteVehicle (_this select 6);    }];";
                expDesactiv = "[""EuSpawn"",[""you went with the safe zone.""]] call bis_fnc_showNotification; player removeEventHandler["Fired", _safeZoneFiredEH];";
                class Effects{};
        };

    image.png

×
×
  • Create New...