Jump to content
  • 0

Duplication


EliTe Alien

Question

As the post suggests, when logging in the server shows the players inventory before the player is fully loaded in, it then quickly closes and the player loads in game with twice the amount of stuff they had before. Does anyone have any ideas what may be causing this glitch? Recently I have added in the deploy bike script and I had to comment out a section of the server_functions.sqf, this is what I quoted out. Should it cause a problem? If this isnt quoted out then players get killed for deploying a bike. Any help is welcome <3

server_checkHackers = {
if (DZE_DYN_AntiStuck2nd > 3) then { DZE_DYN_HackerCheck = nil; DZE_DYN_AntiStuck2nd = 0; };
if(!isNil "DZE_DYN_HackerCheck") exitWith {  DZE_DYN_AntiStuck2nd = DZE_DYN_AntiStuck2nd + 1;};
DZE_DYN_HackerCheck = true;
{
if (!((isNil "_x") || {(isNull _x)})) then {
if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle) && (vehicle _x getVariable ["MalSar",0] !=1)) then {
diag_log ("CLEANUP: KILLING A HACKER " + (name _x) + " " + str(_x) + " IN " + (typeOf vehicle _x));
(vehicle _x) setDamage 1;
_x setDamage 1;
sleep 0.25;
};
};
sleep 0.001;
} count allUnits;
DZE_DYN_HackerCheck = nil;
};

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Okay, the players are still getting kicked for duping. Ive uncommented the line and the server is still duping the players items. When they load into the game their gear is open and when they click escape to close it then they get sent back to the loading in screen

 

Sorry, we need more information:

 

  • Which Mods / addons have you got installed?
  • Which Mod / addon did you install lasts?
  • When did the error for occur?
  • Did you try revert to a backup you hopefully made?
  • Will you make backups in the future?
Link to comment
Share on other sites

  • 0

We have 

  • Spawn selection
  • Snap Pro
  • Config Traders and Loot
  • R3 Tow and Lift
  • Service Point
  • Group Management
  • DZMS
  • Deploy Bike

The latest mod to be installed was deploy bike, group management was the second from last mod installed

 

I didnt make a backup no, I will in future make backups

Link to comment
Share on other sites

  • 0

We have 

  • Spawn selection
  • Snap Pro
  • Config Traders and Loot
  • R3 Tow and Lift
  • Service Point
  • Group Management
  • DZMS
  • Deploy Bike

The latest mod to be installed was deploy bike, group management was the second from last mod installed

 

I didnt make a backup no, I will in future make backups

 

 

Good Answer! Now it's up to finding the Mod that's causing the Issue. To do that, disable the Mod (prevent it from being loaded) and then start the server, see if it helps. Start with the Spawn Selection mod, please.

Link to comment
Share on other sites

  • 0

Is there a less time consuming process I could try?

 

Uploading a Backup.. ^^

 

Sorry, but your issue could be caused by anything. A wrong installation of a mod, a broken Upload or just a tiny typo. To find that, you'll have to try around and see what works. Once you found the mod, that's causing the problem, we can look trough it together and find the Error Position.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...