Title: VCS Cheat Adresses
Description: Post and find all the addresses found
emcp - January 19, 2007 09:28 PM (GMT)
hi this forum here is to post all found address in vcs and wat they do to encourage people to make cheats theres a
great tut on how to make cheats using C language but no topics for addresses so here it is
(id post some if i knew any but i dont / this is to encourage people to make cheats and get CS running again so lets get started finding thoose addresses)
(also addresses that do nothing would also be good to save values but dont spam only a few)
Addresses------------------------------------------------------------------------------------------------------------------------------------------------------------------------
pplayer + 0x30, 0x34, and 0x38Player position in the order X, Y, Zpplayer + 0x78angle beetween vic and ground (rotate up and down)[u]
pcar + 0x30, 0x34, and 0x38
[u]Player's car position in the order X, Y, Zpplayer + 0x140, 0x144, and 0x148Player's current speed in the order X, Y, Zpcar + 0x140, 0x144, and 0x148Player's car's current speed in the order X, Y, Zpobj + 0x150int that shows what object the player is touching. In the hex editor it's backwards, meaning if it shows 80 81 91 09 in the hex editor,
the value is actually 0x09918180pobj + 0xf0 shows what the player is standing/driving on. In the hex editor it's backwards, meaning if it shows 80 81 91 09 in the
hex editor, the value is actually 0x09918180pcar + 0x56which car the player is in0x08BA1D70which ped the player is aiming at, use +0x30, +0x34, and +0x38 to find the ped you're aiming at's location pcar + 0x56which car the player is inpcar+0x27CVehicles Health : begins with no health at 250 ends at 1000 Full healthpplayer + 0x4E8Armor : begins at 0 No Armor (might begin at 2 but treat as 0 for easier result) ends at 100 Full armor(only been tested without extra armor award)pplayer + 0x4E4Health : begins at 0 No Health (might begin at 2 but treat as 0 for easier result) ends at 100 Full armor (only been tested without extra health award)pplayer + 0x82CMost likely works the same as health and armor
Durka Durka Mahn - January 19, 2007 09:32 PM (GMT)
pplayer + 0x30, 0x34, and 0x38- Player position in the order X, Y, Z
pcar + 0x30, 0x34, and 0x38- Player's car position in the order X, Y, Z
pplayer + 0x140, 0x144, and 0x148- Player's current speed in the order X, Y, Z
pcar + 0x140, 0x144, and 0x148- Player's car's current speed in the order X, Y, Z
pobj + 0x150- int that shows what object the player is touching. In the hex editor it's backwards, meaning if it shows 80 81 91 09 in the hex editor, the value is actually 0x09918180
pobj + 0xf0- Same as pobj + 0x150, but instead shows what the player is standing/driving on. In the hex editor it's backwards, meaning if it shows 80 81 91 09 in the hex editor, the value is actually 0x09918180
pcar + 0x56- which car the player is in
0x08BA1D70- which ped the player is aiming at, use +0x30, +0x34, and +0x38 to find the ped you're aiming at's location
chad1416 - February 11, 2007 06:49 PM (GMT)
so how do you find out the addresses?
Durka Durka Mahn - February 11, 2007 06:50 PM (GMT)
Searching through the hexes.
chad1416 - February 11, 2007 06:56 PM (GMT)
well i know that but what after that like press x on the one i want and put it somwhere?
chad1416 - February 12, 2007 11:08 PM (GMT)
or is that one of those things that are just to complicated to explain?
Durka Durka Mahn - February 12, 2007 11:17 PM (GMT)
if(press & CTRL_CROSS)
{
Put your coding here
}
BTW, try not to double post next time :)
chad1416 - February 12, 2007 11:19 PM (GMT)
alright thanks for the help
a guy - February 22, 2007 02:45 AM (GMT)
how would i spawn fire on a vehicle?...
Durka Durka Mahn - February 22, 2007 02:51 AM (GMT)
That would be kinda complex..
a guy - February 22, 2007 03:02 AM (GMT)
| QUOTE (Durka Durka Mahn @ Feb 22 2007, 02:51 AM) |
| That would be kinda complex.. |
oh...nvm then :mellow:
Durka Durka Mahn - February 22, 2007 03:06 AM (GMT)
Hold on, don't give up yet :P
I could make one, but it wouldn't really do anything but spawn in the middle of your car.
#cheat Fire On Car
setchar(0x08be3a20, 1);
setfloat(0x08be3a30, getfloat(pobj+0x30), getfloat(pobj+0x34), getfloat(pobj+0x38));
Try that out.
a guy - February 25, 2007 11:42 PM (GMT)
| QUOTE (Durka Durka Mahn @ Feb 22 2007, 03:06 AM) |
Hold on, don't give up yet :P
I could make one, but it wouldn't really do anything but spawn in the middle of your car.
#cheat Fire On Car setchar(0x08be3a20, 1); setfloat(0x08be3a30, getfloat(pobj+0x30), getfloat(pobj+0x34), getfloat(pobj+0x38));
Try that out. |
does the fire eventually blow up the car that your in?
Durka Durka Mahn - February 25, 2007 11:47 PM (GMT)
jumpman06 - February 26, 2007 05:50 PM (GMT)
Nope it dont, i was lookin at ur vic of fire cheat i took it messed with it changed it to pcar and it just made car catch fire, aslong as uve got indestructable car cheat on ull be fine, i changed it n then found this thread lol, erm i put it on a cheat to make it like ghost rider (the marvel one, not the illegal guy) :lol:
heres code n e way
| CODE |
#cheat GhostRider pspawn = 0x08E81290; setint(pspawn, 231); setfloat(pspawn + 4, -1041.73, -761.80, 11.57, 90); pspawn += 0x30; setchar(0x08be3a20, 1); setfloat(0x08be3a30, getfloat(pobj+0x30), getfloat(pobj+0x34),
getfloat(pobj+0x38)); setchar(0x08be3a20, 1); setfloat(0x08be3a30, getfloat(pcar+0x30), getfloat(pcar+0x34),
getfloat(pcar+0x38)); setchar(0x9569b94, 0xFF, 0x00, 0x00); setchar(pcar+0x224, 0xFF, 0x00, 0x00); setchar(pcar+0x228, 0xFF, 0x00, 0x00); setshort(pcar+0x3b6, 0, 0); R = 255; G = 0; B = 0; for(neon=0;neon<16;neon++) {setchar(0x097272d0+4*neon, R, G, B);} static rotation; if (rotation == 0) { rotation = 900; } spin = tan(rotation); setfloat(pcar + 0x644, spin, spin, spin, spin); rotation = rotation - 1; if (rotation == 1) {rotation = 900;}
if (buttons & CTRL_CROSS && !(buttons & CTRL_CIRCLE)) {
speed = sqrt(getfloat(pcar + 0x140) * getfloat(pcar + 0x140) + getfloat(pcar +
0x144) * getfloat(pcar + 0x144));
if(speed<1.8) { setfloat(pcar+0x140, getfloat(pcar+0x140)-getfloat(pcar+0x4)*0.005); setfloat(pcar+0x144, getfloat(pcar+0x144)+getfloat(pcar)*0.005); } }
if(buttons & CTRL_SQUARE && getshort(pcar+0x1c8)==0.5)
setfloat(pcar+0x140, 0, 0);
max speed for NOS accelerate if(speed<1.8) { setfloat(pcar+0x140, getfloat(pcar+0x140)-getfloat(pcar+0x4)*0.005); setfloat(pcar+0x144, getfloat(pcar+0x144)+getfloat(pcar)*0.005); } } //Power Brake if vehicle is on ground if(buttons & CTRL_SQUARE && getshort(pcar+0x1c8)==0.5)
setfloat(pcar+0x140, 0, 0);
|
there we go, EDIT: put flames on vic aswell, use the robbery suit for best look
Edit:

screen shot video thingy, click to see
emcp - June 28, 2007 01:40 PM (GMT)
is it possible to show the fps of the game also
would it also be possible to get a vehicles unique ID because im modifying something to do with a vehicle and i dont want the person to be able to get out and back in and reset it or to go to one other vehicle then return to the first one it was in.
what would i use to seta number or decimal
because ive got a value and its contains a number and i want to display that on screen
eg short, int, float
Waterbottle - June 28, 2007 02:25 PM (GMT)
| QUOTE (emcp @ Jun 28 2007, 03:40 PM) |
is it possible to show the fps of the game also and would you check to see if the car your in has an id of 0 and if its 0 it means your not in a car
what would i use to seta number or decimal because ive got a value and its contains a number and i want to display that on screen
eg short, int, float |
For the fps you'd need to find a time counter in memory, or if you're not using the cd, (ie. your own mod) you could easily do it by checking how many milliseconds have passed since the game started and then seeing how many frames pass in a second.
I think you mean something similar to sprintf?
For printing an integer you could use this code.
| CODE |
int = ValueToPrint; size = 0; for( i = 1; i < int; i *= 10 ) size+=2; for( i = 0; int > 0; i+=2 ) { setshort(0x08e90bf4+size-i, '0' + (int % 10)); int = int(int/10); } |
I'll write a code for printing a float after dinner.
emcp - June 28, 2007 03:12 PM (GMT)
i thought you couldnt use for statments
ohh and thanks have a nice dinner lol
and thanks WB
Waterbottle - June 28, 2007 03:43 PM (GMT)
| CODE |
f = ValueToPrint; maxDecimals = 2; size = 0; p = 0x08e90bd8; if( f < 0 ) { setshort( p, '-' ); p += 2; f = -f; } for( c = 1.0; c <= f; c *= 10 ); c /= 10; if( f < 1 ) setshort( p, '0' ), p += 2; while( f >= 1 ) { setshort( p, '0'+int(f / c) ); p += 2; f -= int(f / c) * c; c /= 10; } setshort( p, '.' ); p += 2; if( f == 0 ) setshort( p, '0' ), p += 2; while( f > 0 && maxDecimals-- > 0 ) { setshort( p, '0'+int(f / c) ); p += 2; f -= int(f / c) * c; c /= 10; } setshort( p, 0 ); |
emcp - July 5, 2007 08:24 PM (GMT)
MORE ADDRESSES ADDED
*Armor
*Health
*Breath
ill be adding more to the list
and thanks WB also is it possible to print a short
would you just use this
SHORT = getshort( 0x9835231232);
setshort(0x08e90bd8, 1, SHORT, 0);
Waterbottle - July 5, 2007 09:45 PM (GMT)
Just use the int printing code.
Prometheus - August 23, 2008 12:48 PM (GMT)
pplayer + 0x78 >>>angle beetween vic and ground (rotate up and down)
Freestyle - August 30, 2008 01:21 AM (GMT)
| QUOTE (Prometheus @ Aug 23 2008, 04:48 AM) |
| pplayer + 0x78 >>>angle beetween vic and ground (rotate up and down) |
be easy with bumping topics. That usually does not fly here dude. -_-
emcp - August 30, 2008 03:16 PM (GMT)
| QUOTE (Freestyle @ Aug 30 2008, 01:21 AM) |
| QUOTE (Prometheus @ Aug 23 2008, 04:48 AM) | | pplayer + 0x78 >>>angle beetween vic and ground (rotate up and down) |
be easy with bumping topics. That usually does not fly here dude. -_-
|
no,
hes alright, hes updating a list, which was asked to be updated
Dudek13l - February 17, 2009 03:19 AM (GMT)
so wats the difference between
| CODE |
setfloat(pcar+0x140, getfloat(pcar+0x140)-getfloat(pcar+0x4)*0.005);
and
setfloat(pcar+0x144, getfloat(pcar+0x144)+getfloat(pcar)*0.005);
|
Durka Durka Mahn - February 17, 2009 11:45 PM (GMT)
The address, of course.
0x140 is player speed on the X axis.
0x144 is player speed on the Y axis.
Dudek13l - February 18, 2009 03:47 AM (GMT)
| QUOTE (Durka Durka Mahn @ Feb 17 2009, 04:45 PM) |
The address, of course.
0x140 is player speed on the X axis. 0x144 is player speed on the Y axis. |
how about
| CODE |
-getfloat(pcar+0x4)*0.005);
and
+getfloat(pcar)*0.005);
|