Jump to content

DangerRuss

Member
  • Posts

    963
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by DangerRuss

  1. I think eBay is closer to the mark. The server automatically uses the shutdown command with BEC but somehow these guys are able to completely break it. It won't restart until i manually kill the server. So idk how firedaemon could see that my server is running for too long and shut it down? 

    I suppose a restart bat would hurt bit I'd need to find out how to make it run on a schedule

  2. Do you mind pm'ing me or OP and explain how they're doing this? I have only seen it through spectating but Im not actually sure how they're doing. The only thing I see is that they are able to deposit money without losing money, and then withdraw that money which effectively doubles their current money. Then they repeat.

    On 4/18/2016 at 4:08 AM, creativv said:

    You can fix this by not allowing a player to deposit when another player is near . But it can also promote trolling . 

     

     

  3. I'd be interested in finding a fix for a dupe that I witness all of the time. It's very similar to this

     

    but instead of players duping coins with each other, they're able to do it at the banker. They deposit the exact same amount of money they have on their person, and instead of getting rid of the coins it just adds that amount to the bank, so they then have double. They repeat the process and very quickly have max coins.  It seems that they need a vehicle nearby for some reason.

  4. So I've been having trouble with script kiddies that are able to break my server restarts. 

    They seem to be able to keep the server on night time permanently and break server restarts completely. I have to manually restart the server for it to fix.

    Im wondering if anyone has any ideas on something I could run in the background to close Arma and BEC if it's been running without a restart for X amount of hours. Something that wouldnt close the bat file I use to launch the server, but would terminate Arma and BEC so that the bat file restarts the server. My start bat file is already set up to automatically restart the server if it's been closed (as long as the bat file isn't closed) but I need something to force close Arma if its' been running for say 3 hours straight. Any ideas?

  5. On 3/19/2016 at 4:03 PM, Hoplox said:

    Try this instead:

    
    CREATE TRIGGER `bankingIssueFix` AFTER INSERT ON `player_data`
     FOR EACH ROW INSERT INTO banking_data
    ( PlayerUID, PlayerName, BankSaldo,  LastUpdated)
    VALUES
    (NEW.PlayerUID, NEW.PlayerName, 100000, NOW())

     

    The new error
     

    ---------------------------
    Error
    ---------------------------
    SQL Error (1235): This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table'
    ---------------------------
    OK   
    ---------------------------

     

  6. On 3/14/2016 at 3:40 PM, ViseVersa said:

     

    Next Time put it in a Spoiler to, please :P Oh and the Title is wrong. This is ViewDistance, not Fog! And it`s not well optimized ^^

    There was literally no reason to add a spoiler. I was simply updating the original post with a code box so it was easier to copy paste. 

  7. Just wanted to add this to a code block because it just looks so much nicer...
     

    titleText ["picking random fog", "PLAIN DOWN", 3];
    sleep 5;
    _var = random 1.80; //generates a random value between 0 and 1.80
    if (_var < 0.20) then {
    execVM 'overwrites\click_actions\250.sqf';
    } else {
    if (_var < 0.40 and _var > 0.20) then {
    execVM 'overwrites\click_actions\500.sqf';
    } else {
    if (_var > 0.40 and _var < 0.60) then {
    execVM 'overwrites\click_actions\750.sqf';
    } else {
    if (_var > 0.60 and _var < .80) then {
    execVM 'overwrites\click_actions\1000.sqf';
    } else {
    if (_var > 0.80 and _var < 1) then {
    execVM 'overwrites\click_actions\1250.sqf';
    } else {
    if (_var > 1 and _var < 1.20) then {
    execVM 'overwrites\click_actions\1500.sqf';
    } else {
    if (_var > 1.20 and _var < 1.40) then {
    execVM 'overwrites\click_actions\1750.sqf';
    } else {
    if (_var > 1.40 and _var < 1.60) then {
    execVM 'overwrites\click_actions\2000.sqf';
    } else {
    if (_var > 1.60 and _var < 1.80) then {
    execVM 'overwrites\click_actions\2500.sqf';
    };
    };
    };
    };
    };
    };
    };
    };
    };
    };
    };
    };
    };
    };
    };
    };
    };
    };
    };
    
    titleText ["fog is now set relog to unset the change", "PLAIN DOWN", 3];

     

  8. I went through the AH.sqf and searched for onmapsingleclick and removed it from where it seemed relevant. I believe it was around where the _UAT variable is being defined.

    My antihack is pretty old so idk if the code is the same but I found this little area here

    Keep in mind removing this check weakens your antihack. Yours may look different but this should help point you in the right direction.

    onEachFrame {"+_oneachframe+"=diag_tickTime;onMapSingleClick '';};
    
    	                };
    
    	                onMapSingleClick '';
    
    	                if("+str _UAT+") then {
     

    and removed the 

    onEachFrame {"+_oneachframe+"=diag_tickTime;};
    
    	                };
    
    	               
    
    	                if("+str _UAT+") then {
    
     

     

     

  9. I've been using this mod on my server for awhile

    I've been trying to add a feature similar to the infistar admin tool, which would remove the key from the players inventory if they vehicle they're searching for no longer exists. However, Im pretty stumped as to how to go about doing this. I've been looking at the infistar code and I can see how he does it, but Im not sure how to implement it into this existing script. Any help would be awesome. 

  10. Going to necro this thread in the hopes that someone might know a trick or two...
    Infistar has an admin script which allows you to search for vehicles you have a key for.. if the vehicle does not exist it deletes the key from your inventory. I would love to add this feature to this script but since infistars works a bit differently Im not sure how to do it. Anyone have any suggestions?

    Simplified explanation... Key in inventory, right click to search for vehicle, vehicle was destroyed and no longer exists so the key is removed from inventory.

×
×
  • Create New...