PDA

View Full Version : CS:S memory editing



SourceX
02-14-2005, 10:28 AM
i posted this on myg0t.com, figured for the sake of participating in the forum somehow, id post it here as well. keep in mind, the point is not that its some great achievment or advantage in the game, just sort of funny and points out valves idiocy:

Although this works with any memory editing software, we are going to be using GameWiz32 which you find here:
http://www.gw32.de/english.html

Screenshot #1 (http://www.myg0t.com/images/css_mem_edit/css_mem_edit.jpg)

Once you have that installed, start CS:S as normal, but do not start GW32 yet. When CS:S is loaded, open your console and set sv_cheats to any unique value such as "sv_cheats 31337".

Screenshot #2 (http://www.myg0t.com/images/css_mem_edit/css_mem_edit1.jpg)

Once you do this, minimize and start GW32, select "Counter-Strike Source" as the game to edit, then in the search field, type in the value "31337". Now, to verify we have the correct hex value, we do this again. Maximize CS:S and change sv_cheats to a new unique value, such as "sv_cheats 666". Once again, minimize back to your desktop and inside GW32 enter in the value "666" in to the search field, this time it should find the correct hex value for sv_cheats. Now just freeze this value, go back in to CS:S, join an internet server, and you can use commands which sv_cheats enabled for you, such as the debug panel (Shift+F1) and any mat_ commands and the like.

Screenshot #3 (http://www.myg0t.com/images/css_mem_edit/css_mem_edit2.jpg)
Screenshot #4 (http://www.myg0t.com/images/css_mem_edit/css_mem_edit3.jpg)

This would be very easy to do as a trainer so you wouldn't need to find the value and freeze it by hand each time, but like I said before it's not some great hack, at the most wall hack and few other things. But, it really shows the lack of protection VALVe put in to this game, which is no new knowledge to anyone who's played it since release or Beta.

Screenshot #5 (http://www.myg0t.com/images/css_mem_edit/css_mem_edit4.jpg)
Screenshot #6 (http://www.myg0t.com/images/css_mem_edit/css_mem_edit5.jpg)
Screenshot #7 (http://www.myg0t.com/images/css_mem_edit/css_mem_edit6.jpg)
Screenshot #8 (http://www.myg0t.com/images/css_mem_edit/css_mem_edit7.jpg)

-Nobody-
02-14-2005, 01:21 PM
dont click those links anybody. bad things happen

goozeman
02-14-2005, 01:55 PM
^_^, lol yeah me and kekerot fucked around with this in 1.6 with stepsize and other shit, but it proved more useful in cs:s since they give you a shitload of debug cvars, some of which are good.

you can also just directly write 1 to 0x018D583C, as far as I know, if the admin doesnt force the value while ingame you only need to write to it once, so everytime you connect to a server you will need to write 1 in there.

but yeah, thanks SX :knocked_o

dabuzz
02-14-2005, 01:57 PM
dont click those links anybody. bad things happen
They work fine for me... :x And thx for sharing it here too SourceX ;p

SourceX
02-14-2005, 02:18 PM
They work fine for me... :x And thx for sharing it here too SourceX ;p

np.
also, the links work fine, if you try to visit them directly such as from IRC, or another website, they will redirect you to peoplesprimary.com. this is because we have hotlinking disabled except for our own sites, and now G-D of course, due to the fact people have tried to attack us in the past be leeching our bandwidth away with large image files.

the links in this thread are safe and work just finein both IE and Firefox.

SourceX
02-14-2005, 02:21 PM
^_^, lol yeah me and kekerot fucked around with this in 1.6 with stepsize and other shit, but it proved more useful in cs:s since they give you a shitload of debug cvars, some of which are good.

you can also just directly write 1 to 0x018D583C, as far as I know, if the admin doesnt force the value while ingame you only need to write to it once, so everytime you connect to a server you will need to write 1 in there.

but yeah, thanks SX :knocked_o

yeah, you are correct about writing 1 to the sv_cheats offset, but like my post said; this was more a proof of concept, the concept of how retared valve is, rofl.

but hey, maybe thats an idea for all your cheats, once you hook the game, you could do this easily with any other debug command.

goozeman
02-14-2005, 02:31 PM
keke, also, I just took the CVAR list from the Steampowered forums and removed all the cvars except for the cheat ones... meh

Orig List - [ http://www.neonblu.com/public/cvar2.txt ]
New List - [ http://www.goozeman.game-deception.com/misc/CSS_Cheat_CVar_list.txt ]

SourceX
02-14-2005, 03:07 PM
i added your cvar list to the news post, thanks.

SourceX
02-15-2005, 05:04 PM
One of our senior members, [myg0t]nimrod took a few minutes and came up with this simple hack written in ASM, to auto-find the offset for sv_cheats and freeze it at 1.

http://www.lcirc.net/sx/files/sv_cheats.zip

he hasnt released source yet, duno if he will. he needs an account on these forums, him and panzer know each other irl apparently.

sp0rky
02-15-2005, 06:21 PM
he hasnt released source yet, duno if he will. he needs an account on these forums, him and panzer know each other irl apparently.

They do actually know each other, but as for nimrod getting an account we had no intention of turning forum registration on anytime soon. You could share your acct with him unless he just absolutely has to have an acct.

Nice work on this tut though. Looks good.