Jump to content

After a Server Restart - Gear gets Wiped?


GallardoAdsy

Recommended Posts

Hello,

 

I have a DayZ Overwatch 0.2.5 server at the moment. I have been using the same script for a Custom Starting Loadout for several weeks.

 

However, recently 3/4 players told me that after the restart they all spawned with the Starting Loadout again (Lee Enfield, M9 etc.) therefore deleting their gear.

 

I will put the code I am using here but does anyone know why this is happening?

 

Code:

 

//customised loadout
//remove weapons
player removeWeapon "DDOPP_X26";
player removeMagazines "DDOPP_1Rnd_X26";
player removeMagazine "HandRoadFlare";
//add weapons
player addWeapon "LeeEnfield";
player addWeapon "RH_M9SD";
player addMagazine "10x_303";
player addMagazine "10x_303";
player addMagazine "15Rnd_9x19_M9SD";
player addMagazine "15Rnd_9x19_M9SD";
player addMagazine "15Rnd_9x19_M9SD";
player addMagazine "FoodSteakCooked";
player addMagazine "ItemWaterbottle";
player addMagazine "ItemMorphine";
player addMagazine "ItemAntibiotic";
//tools
player addWeapon "ItemCompass";
player addWeapon "ItemMatchbox";
player addWeapon "ItemKnife";
player addWeapon "ItemMap";
player addWeapon "ItemToolbox";
//backpack
removeBackpack player;
player addBackpack "DZ_Patrol_Pack_EP1";
};
//Custom New Spawn Loadout End//
Link to comment
Share on other sites

first off, this is epoch forum, just fyi ... totaly diffrent mod

 

overwatch forum can be found here:

http://www.dayzoverwatch.com/forum

 

 

second ... if this is the only code you use, then i think you have more problems than this, it should be after a waituntil and an if statement to check that players is spawning in and not logging in.

Link to comment
Share on other sites

first off, this is epoch forum, just fyi ... totaly diffrent mod

 

overwatch forum can be found here:

http://www.dayzoverwatch.com/forum

 

 

second ... if this is the only code you use, then i think you have more problems than this, it should be after a waituntil and an if statement to check that players is spawning in and not logging in.

 

I know this is Epoch Forums - that is why I am in the Topic that says "Anything Not Epoch".

 

Also, thank you.

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
  • Discord

×
×
  • Create New...