i created a mission for our public server which leads into a gameServer crash when a player is joining on the empty server {F23004} {F23005} {F23006}
Description
Description
Details
Details
- Legacy ID
- 2357145871
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Game Crash
Steps To Reproduce
- Create a mission with multiple playable units inside
- put this scripting sequence into the init line of those units "if!(isPlayer this) then { deleteVehicle this; };"
- run the mission on a server
- join the game
- reconnect (and get into the game again)
Additional Information
*.bidmp
*.mdmp
*.rpt
are inside of the attached zip
Issue type:
Access Violation (thread)
Event Timeline
Comment Actions
crash also happens with a mission which is not using custom addons
update 1:
when another player joins after step 2
the game of player 1 crashes instead of the server
update 2:
located the issue
i will edit the ticket to let it match the exact bug now
Comment Actions
When 1st player starts the mission he is initialised very early and isPlayer true in init, when JIP joins isPlayer is false when init runs. So what you do is you remove playable unit before player gets chance to transfer to it. No surprise the game crashes.
Comment Actions
does not matters
it was stupidness that i havent removed the code out of the mission
thats true
but the game should not crash anyway!