March 28, 2024, 03:21:36 pm

Author Topic: Squirrel Server, Sans Death Messages  (Read 3152 times)

0 Members and 1 Guest are viewing this topic.

stormeus

  • Vice Underdog
  • Crazy Man
  • *
  • *
  • Posts: 1755
  • Country: us
  • VC:MP Developer
    • View Profile
    • GTA VICE CITY Respective owner
Squirrel Server, Sans Death Messages
« on: September 30, 2011, 02:08:57 am »
Holy crap, a new version here

Quote
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 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
« Last Edit: November 11, 2011, 06:30:01 pm by stormeus »
Agree Disagree Funny Winner Pwnt Informative Friendly Useful Optimistic Artistic Late Brain Donor

<krystianoo> stormeus do good job
<krystianoo> with recent update
<krystianoo> if not agree; jeb yourself in head
<Avenger> yesterday you said death to stormeus
<karan> double standard krystianoo
<karan> he called him fake prophet too
<krystianoo> sure fake prophet
<krystianoo> but with recent updates real

Thijn

  • Forum Administrator
  • Crazy Man
  • *
  • *
  • *
  • Posts: 2946
  • Country: nl
    • View Profile
Re: [WIP] Squirrel Server, Sans Death Messages
« Reply #1 on: September 30, 2011, 05:51:42 am »
Looks nice, altho you could've just asked Juppi or VRocker :P
Agree Disagree Funny Winner Pwnt Informative Friendly Useful Optimistic Artistic Late Brain Donor

I'm not totally useless,
I can be used as an bad example ;)

"Never do Today, What you can do Tomorrow"


stormeus

  • Vice Underdog
  • Crazy Man
  • *
  • *
  • Posts: 1755
  • Country: us
  • VC:MP Developer
    • View Profile
    • GTA VICE CITY Respective owner
Re: [WIP] Squirrel Server, Sans Death Messages
« Reply #2 on: September 30, 2011, 06:08:39 am »
Looks nice, altho you could've just asked Juppi or VRocker :P

I was in a pretty DIY mood. :P
Agree Disagree Funny Winner Pwnt Informative Friendly Useful Optimistic Artistic Late Brain Donor

<krystianoo> stormeus do good job
<krystianoo> with recent update
<krystianoo> if not agree; jeb yourself in head
<Avenger> yesterday you said death to stormeus
<karan> double standard krystianoo
<karan> he called him fake prophet too
<krystianoo> sure fake prophet
<krystianoo> but with recent updates real

Charley

  • Vice Underdog
  • Crazy Man
  • *
  • *
  • Posts: 4749
  • Country: 00
    • View Profile
Re: [WIP] Squirrel Server, Sans Death Messages
« Reply #3 on: September 30, 2011, 10:13:59 am »
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.
Agree Disagree Funny Winner Pwnt Informative Friendly Useful Optimistic Artistic Late Brain Donor

Writer of excessively long posts


VRocker

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Liberty Unleashed
Re: [WIP] Squirrel Server, Sans Death Messages
« Reply #4 on: September 30, 2011, 10:50:38 am »
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.
« Last Edit: September 30, 2011, 10:52:10 am by VRocker »
Agree Disagree Funny Winner Pwnt Informative Friendly Useful Optimistic Artistic Late Brain Donor


stormeus

  • Vice Underdog
  • Crazy Man
  • *
  • *
  • Posts: 1755
  • Country: us
  • VC:MP Developer
    • View Profile
    • GTA VICE CITY Respective owner
Re: [WIP] Squirrel Server, Sans Death Messages
« Reply #5 on: September 30, 2011, 04:25:54 pm »
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.
Agree Disagree Funny Winner Pwnt Informative Friendly Useful Optimistic Artistic Late Brain Donor

<krystianoo> stormeus do good job
<krystianoo> with recent update
<krystianoo> if not agree; jeb yourself in head
<Avenger> yesterday you said death to stormeus
<karan> double standard krystianoo
<karan> he called him fake prophet too
<krystianoo> sure fake prophet
<krystianoo> but with recent updates real

aXXo

  • Vice Underdog
  • Crazy Man
  • *
  • *
  • *
  • *
  • *
  • *
  • Posts: 2722
  • Country: in
    • View Profile
Re: [WIP] Squirrel Server, Sans Death Messages
« Reply #6 on: September 30, 2011, 06:32:00 pm »
Nice work mang  ;)
Agree Disagree Funny Winner Pwnt Informative Friendly Useful Optimistic Artistic Late Brain Donor


morphine

  • Crazy Man
  • *****
  • Posts: 1908
  • Country: lt
    • View Profile
Re: [WIP] Squirrel Server, Sans Death Messages
« Reply #7 on: September 30, 2011, 06:46:18 pm »
Works perfectly. I've seen it on the Argonath Beta Server just now.
Agree Disagree Funny Winner Pwnt Informative Friendly Useful Optimistic Artistic Late Brain Donor


stormeus

  • Vice Underdog
  • Crazy Man
  • *
  • *
  • Posts: 1755
  • Country: us
  • VC:MP Developer
    • View Profile
    • GTA VICE CITY Respective owner
Re: [WIP] Squirrel Server, Sans Death Messages
« Reply #8 on: September 30, 2011, 07:07:53 pm »
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.
« Last Edit: September 30, 2011, 09:02:21 pm by stormeus »
Agree Disagree Funny Winner Pwnt Informative Friendly Useful Optimistic Artistic Late Brain Donor

<krystianoo> stormeus do good job
<krystianoo> with recent update
<krystianoo> if not agree; jeb yourself in head
<Avenger> yesterday you said death to stormeus
<karan> double standard krystianoo
<karan> he called him fake prophet too
<krystianoo> sure fake prophet
<krystianoo> but with recent updates real

Knucis

  • Vice Underdog
  • Crazy Man
  • *
  • Posts: 1784
  • Country: pt
    • View Profile
Re: Squirrel Server, Sans Death Messages
« Reply #9 on: September 30, 2011, 09:47:19 pm »
Holy shit, this is awesome!
Agree Disagree Funny Winner Pwnt Informative Friendly Useful Optimistic Artistic Late Brain Donor