Liberty Unleashed
Scripting => Script Help => Topic started by: VetalYA on November 22, 2011, 12:02:04 pm
-
Ok, now real difficult question from me :D :D
How to delete Client Sphere, when client disconnects from the server.
For example if i have only 1 Client Sphere
I can delete it with
local pSphere = FindSphere( 0, pPlayer )
if ( pSphere ) { pSphere.Remove(); }
But please note, this will not work OnPlayerPart event.
IF client disconnects from the server with active ingame local Sphere - server shuts down with error.
How to fix it ?
Thanks in Advance.
-
Why do you want to delete a client sphere when he disconnects, he quits so wont see it anyways.
It gets removed automatically..
-
client sphere when he disconnects
Because it crashes server. I think it's server bug, and can't be fixed via scripts.
You can check it on your own, at least 3 functions should be fixed in the next LU release.
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Checkpoints/CreateClientCheckpoint (http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Checkpoints/CreateClientCheckpoint)
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Spheres/CreateClientSphere (http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Spheres/CreateClientSphere)
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Blips/CreateClientBlip (http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Blips/CreateClientBlip)
-
client sphere when he disconnects
can't be fixed via scripts.
Actually, it can.
But
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Checkpoints/CreateClientCheckpoint (http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Checkpoints/CreateClientCheckpoint)
should be fixed anyway.
;)
-
client sphere when he disconnects
can't be fixed via scripts.
Actually, it can.
Race server which i have already scripted & tested with many LU players works very well, and even if i have solved this trouble (a little bit ) by my scripts, this problem keeps crashing my server sometimes.
I want to encourage & inspire LU developers by this post with following text:
Dear LU Developers & Testers :)
You have done & tested a lot of fun features in LU, and even IF you tired to develop it, then just fix the major bug with this above described problem.
Just fix it in server bin/exe file :) compile, and release as independent server update which will be compitible with current LU Client Version. I think a lot of LU players will be very grateful to you for this.
I think it wont take much time, so come on :) Please, Please, Please :)
-
Report this on the bug tracker!
-
Report this on the bug tracker!
Thank you, i will try it.
-
I want to make it clear. I am not blame anyone for this bug. I am not trying to say, that this bug is good or bad.
I know, that LU have many other bugs, errors, BUT ! Dont look at them, Just Solve this 3 bugs, so people can have fun on my server today.
Because People feel bored to play on default game modes like Deathmatches and Freeroams, they want something special. And this special, i already have... But this errors makes me crazy
http://mantis.liberty-unleashed.co.uk/view.php?id=36 (http://mantis.liberty-unleashed.co.uk/view.php?id=36)
http://mantis.liberty-unleashed.co.uk/view.php?id=37 (http://mantis.liberty-unleashed.co.uk/view.php?id=37)
http://mantis.liberty-unleashed.co.uk/view.php?id=38 (http://mantis.liberty-unleashed.co.uk/view.php?id=38)
-
Spamming the forums isn't going to get the bug fixed any quicker, the developers are doing this in their own spare time and from experience you can get bored of a project and leave it for a few months. I'm sure the bug will be fixed but screaming about it every day isn't going to get that done.
-
Thought i'd replied here already but obviously not...
This was fixed shortly after the last release, we just haven't updated it yet since there's not that many fixes in the current code and we're all a bit preoccupied with other things atm. An update will come soon though which will include this fix.
-
I will wait. ;)
Also, i will use this time to improve my anti hack system ( a lot of code is ready already ) ::) :P