View Single Post
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 03-28-2017 , 04:54   Re: Memory patching help
Reply With Quote #6

Quote:
Originally Posted by asherkin View Post
I think what you are trying to do is a lot more complex than you think it is, you'll need to learn the ins and outs of x86 assembly and calling conventions - even more so than most because you are trying to patch the middle of a function call. I feel this may be a bit of an XY problem, your post made it sound like you knew what to change just not how to do it.
I've just started to learn memory patching so I'm new there
I'm trying to change players count always showing 0 or at least 1 in the A2S_INFO queries (I now that Valve legacy master servers avoids this. But it is not for it though). I've succeded on the windows (I may be wrong on patching there anyway) but not linux.

Attached the test plugins I've used to. I'll be pleased if you point me out on how to patch the correct offset so it should show always 0.

Also this thread maybe as a tutorial for other people on the forum like me
Attached Files
File Type: txt test.gamedata.txt (546 Bytes, 67 views)
File Type: sp Get Plugin or Get Source (test.sp - 171 views - 753 Bytes)

Last edited by Despirator; 03-28-2017 at 04:54.
Despirator is offline