Vice Underdogs
Scripting => Script Showroom => Topic started by: stormeus on September 30, 2011, 02:08:57 am
-
Holy crap, a new version here (http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=2.msg1485#msg1485)
Boring Story
I cracked open the VC:MP Squirrel Server in a debugger and started looking through it. There was some interesting stuff (SendSpikeStrip and onPlayerCrashDump, for example) and found where the death messages are. I figured it would be useful to have a server that didn't FORCE the "X killed Y" messages.
After an hour of reading about assembly and jumping between addresses, I found the address that sent the messages (0040BAE0). I null'ed it (NOP) so it would not send a message. onPlayerDeath, onPlayerKill, and onPlayerTeamKill will work and the death will still be logged in the console.
Somewhat Tested
All messages are confirmed as nullified and will not be sent. However, the server callbacks still get thrown and the dead player will show up as dead to everyone else.
I have no idea what other effects this might have on the server, if any, so I wouldn't recommend using this on a production server just yet.
Actually Important Stuff
It's the same as the VC:MP Squirrel (http://vcmp.liberty-unleashed.co.uk) server, except it won't show the "X killed Y" or "X died" messages. Those are basically customizable by scripts now. This is not for Pawn.
Download
A Linux version is not available. Source code is not available, as it was hacked by using a debugger.
Windows server (http://www.mediafire.com/?jt7ketv1ycwkkej)
-
Looks nice, altho you could've just asked Juppi or VRocker :P
-
Looks nice, altho you could've just asked Juppi or VRocker :P
I was in a pretty DIY mood. :P
-
Very naice. The only problem here is that they still haven't released the mem leak free server, so if we were to use this one the mem leak would come back.
-
Hmmm i'd be interested to know if this causes any issues. Not sure if we tried doing this before.
If it works without any problems, we could add this properly so you would just need to return under the onPlayerDeath (like in LU)
Nice work anyway :)
Very naice. The only problem here is that they still haven't released the mem leak free server, so if we were to use this one the mem leak would come back.
The mem-leak free server has been passed around a bit, but seems to fail for some people :/ it either doesn't work or it still leaks, which is very strange.
Still needs looking into.
-
Hmmm i'd be interested to know if this causes any issues. Not sure if we tried doing this before.
If it works without any problems, we could add this properly so you would just need to return under the onPlayerDeath (like in LU)
Nice work anyway :)
Thanks. :)
I'm thinking of deploying it on Argonath's beta server to see if it works properly with kills and team-kills.
-
Nice work mang ;)
-
Works perfectly. I've seen it on the Argonath Beta Server just now.
-
Uploaded a newer version which NOPs teamkills and kills as well.
EDIT: http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=2.msg1485#msg1485
Well, it was fun while it lasted.
-
Holy shit, this is awesome!