CADelta / ArmA3_dpWasteland3.Stratis

ArmA 3 dp Wasteland 3 by CADelta
http://dp-clan.enjin.com/home
1 stars 2 forks source link

Spawn with full gear #17

Open Krycek-dk opened 10 years ago

Krycek-dk commented 10 years ago

Reports are in that people still spawn with full gear some times. Thought I closed that by putting the following in initPlayer.sqf

if(!(playerSide in [west, east, resistance]) && (primaryWeapon player != "")) then
{
    endMission "LOSER";
};

Was so certain that (primaryWeapon player != "") took care of that. Maybe it's being checked to early? :/

Jay-13 commented 10 years ago

Ive had it yesterday twice, it seems, oddly, to be related to the same spawn point for me @ Strogos Bay - thought thats all random? Im spawning with an AI spawn set essentially.

I think the script is kicking in BEFORE spawn in, and perhaps on the initial log in before ever selecting a spawn? I think this will be one to test in a closed session. Can I check where that script is and ill have a look at it.

Jay-13 commented 10 years ago

Might be worth also changing "LOSER" to " You have spawned with an un-fair advantage. You will now need to reconnect".

Krycek-dk commented 10 years ago

"LOSER" is a parameter for the endMission function.

I´ll also have a quick look later on that spawn point, wonder if it has something to do with me adding a 25. spawn location, hmm.

@Jay-13 We are sharing the Server Side files via a Dropbox Share. If you PM me your Dropbox username, i´ll invite you to that, so you can test stuff out locally.