Jump to content
  • 0

Client command /sp causes mapserver crash


Kyosama66

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  04/14/13
  • Last Seen:  

EDIT: For anyone finding this, I managed to get the client to knock it off.

 

It required manually Hex Editing the client to remove the /sp command entirely. Find the string "/sp" as 2F 73 70 at 005A52F0 and change it to something else, or do as I did and change it to another command, like /mp. /sp will inform the player it's an "Invalid Command" and /mp will function as intended (as far as I know).

 

I've got a pretty odd little issue here, when you send a /sp command, my 20130807a client sends a strange packetset that my mapserver can't handle, and segfaults.

 

If we can just disable the /sp command, or remap it to be the same as the /mp emote, that would be pretty nifty. I've also attached a WPE sniff of the data being sent from the client. In this case, you can see character "GM Scrub" send the string "Send 1" and then issue the /mp emote. Then, following the phrase "Send 2", you see the client bombard the server with SPPOINT and JOBLEVEL information 5 times.

 

Sending.txt

 

If there's some clever way I could rework this, I'd love to hear it.

Edited by Kyosama66
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...