Closed SpiderOfDeath closed 10 years ago
Debug the variables in the if selection with:
diag_log format["Last Damage: %1 playerDistance: %2",_lastDamage,(_playerObj distance (getMarkerpos "respawn_west"))];
to see what could be wrong
Not a coder, so forgive me my incompetence.I got this after replacing line 31 with your code: "Player UID# CID# as , logged off at " and if i put it on the end it errors out: http://pastebin.com/JfLx7MW2
Best bet would be to use some form of Anti Disco Bot for this.
Well, all the disco bot's i saw are buggy and are a dupers paradise. Trying to figure this out and will send you the solution to this bug if i find it.
That would be awesome.
So, in server_onPlayerDisconnect.sqf, line 31 i see that we should get a entry in our rpt file when someone logs out before the timer is finished. I tried ALT+F4, kicking myself from the server and killing arma2oa.exe via taskmanager while beeing in combat. Nothing showed the expected result. It only gives me the report that is generated in line 28.
Any solution to this?