Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Updates
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Cheat Development


Durka Durka Mahn
 Share

  • Replies 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

  • Upaluppa

    528

  • nerner

    391

  • Beamer9620

    131

Top Posters In This Topic

Recommended Posts

Cool, I`ll try it out !

Maybe I can modify the cheat to make the plane immediately solid !

 

Mate, you just made me want to work on that cheat again ! smile.gif

I think I`ll try to get the plane handling to work.

 

There must be a way to do it...

Edited by Upaluppa
Link to comment
Share on other sites

Cool, I`ll try it out !

Maybe I can modify the cheat to make the plane immediately solid !

 

Mate, you just made me want to work on that cheat again ! smile.gif

I think I`ll try to get the plane handling to work.

 

There must be a way to do it...

Hey its what i do, good luck, and i wish i could have been more help.

Link to comment
Share on other sites

Sorry about the double post, but will this work?

 

 

#cheat spawn stuntramps infront of playerPlayerx  = getfloat(pobj+0x30);Playery  = getfloat(pobj+0x34);Playerz  = getfloat(pobj+0x38);if(press & CTRL_DOWN){move(-0.50,-16.83,0.00);  object(0x02A5,Playerx,Playery,Playerz);}

 

Edited by nerner
Link to comment
Share on other sites

I can`t say it for sure, but just from looking at it I would say it should work.

The only problem is that playerx, y and z are not defined !

 

But you can do that if you add this to the beginning of your cheat:

 

Playerx  = getfloat(pobj+0x30);Playery  = getfloat(pobj+0x34);Playerz  = getfloat(pobj+0x38);

 

 

Edited by Upaluppa
Link to comment
Share on other sites

I thought that i needed to define those variables, but i wasn't sure what command to use. Thanks for that.

Link to comment
Share on other sites

Sorry it`s not working right now...

 

I guess the problem has to be with the coordinates.

 

I`ll do a little experimenting with it, maybe I can come up with a solution for it ! icon14.gif

 

EDIT:

I`ve tried to add sinus and cosinus commands to it, maybe they help:

 

#cheat spawn stuntramp infront of playerPlayerx  = getfloat(pobj+0x30);Playery  = getfloat(pobj+0x34);Playerz  = getfloat(pobj+0x38);if(press & CTRL_DOWN){moveto(Playerx + cos(7.2), Playery + sin(7.2), Playerz); object(0x02A5, -0.50, -16.83, -7.2 + 90);}

 

I`m not sure how exactly they work, but I saw them beeing used in some of DDM`s cheats so I tought I`ll just add them and see what they do !

 

I`ve also changed

move

to

moveto

but from what I know it shouldn`t make any difference !

Edited by Upaluppa
Link to comment
Share on other sites

Shame that that didn't work. Would have been my first cheat for a while. Do you mean Sine and Cosine? Or is sinus like the special coding term? I shall try that one tomorrow.

Link to comment
Share on other sites

Alright, I was talking about sin and cos, as you can see I`ve added those to the cheat:

 

+ sin (7.2)

for example !

 

It`s late now, but I`ll try to help you getting that thing to work tomorrow ! icon14.gif

Link to comment
Share on other sites

Well sin is the name of the coding function and 7.2 is just the number DDM used in his cheat !

Since I don`t know how exactly the sin and cos thing works I`ve decided not to change that number !

Link to comment
Share on other sites

  • 2 weeks later...

I´ve just started Cheatdevice programming again !

 

The stuntramp spawner still doesn´t work.

I´m currently working on a new version of it.

 

I think I´ve got it to work now:

 

#cheat Spawn Stuntrampif(press&CTRL_DOWN){moveto(getfloat(pplayer+0x30)-10,getfloat(pplayer+0x34),getfloat(pplayer+0x38));object(0x28E,0,0,0);}

 

Press Down to spawn it.

 

After you`ve spawned one drive away from it to be able to spawn another one !

(That`s because only one of them can exist at once)

 

It works, I`ve tested it !

The only problem is that the ramp spawns "inside" the player, not infront of him...

I´ll fix that now !

 

EDIT:

I`ve updated it again, I think the ramp spawns correctly infront of you now.

Now I`m looking for a way to spawn multiple ramps at once !

 

Here`s a cheat which removes the stuntramps you`ve spawned again:

 

#cheat Remove Stuntrampadd = getint(pobj+0x150);if(add){modelid = getshort(add+0x56);if(modelid == 654){setfloat(add+0x30,0,0,0);}}

 

Just touch the ramp by walking against it and it`ll dissappear !

Edited by Upaluppa
Link to comment
Share on other sites

I thought you had done an Edison Carter ,and walked out on CD forever. angry.gif

 

I shall try that cheat later tonight.

Link to comment
Share on other sites

Hey, do you really believe I would just stop making cheats from one day to the other without telling anyone ? cry.gif

Like I said, I`m not Edison Carter.

 

I won`t let this thing die, atleast not until San Andreas Stories comes...

Altough I`m not so sure if that ever happens.

 

I just didn`t make new cheats lately because I had no good ideas.

 

But I started some new ones yesterday!

 

I want to do something with helicopters again ! icon14.gif

Maybe an air race between the player and another computer controlled heli ?

 

That definately sounds like an interesting idea.

 

I`m also thinking of a cheat which allows you to attach a bodyguard onto the roof of your car so he can shoot the police !

 

BTW:

I`ve found a new ped pointer !

It`s not exactly pedspawn, but it allows me to select any random pedtype from the streets and do something with him !

 

EDIT:

Here are my first (Not yet finished) versions of the cheats:

 

Attach a Bodyguard to your vehicles roof:

 

user posted image

user posted image

user posted image

user posted image

user posted image

You might notice that the platform the bodyguard is standing on suddenly dissappears in the gif.

Well, in fact it doesn`t really dissappear, it just turns invisible when you drive fast.

That`s a little bug I haven`t fixed yet !

 

 

#cheat Vehicle Roof Attachmentpped = getint(0x08BA1D70);static yourped;if(pped&&!yourped&&press&CTRL_UP)yourped=pped;if(yourped){setfloat(yourped+0x4E4, 100.0);setfloat(yourped+0x4E8, 100.0);setint(yourped+0x5d8, 0xffffff);setint(yourped+0x5f4, 0xffffff);setint(yourped+0x610, 0xffffff);setint(yourped+0x5bc, 0xffffff);setint(yourped+0x62c, 0xffffff);setint(yourped+0x648, 0xffffff);setint(yourped+0x664, 0xffffff);setint(yourped+0x680, 0xffffff);setchar(yourped+0x87c, 0x1e);if(!pcar){if(getint(yourped+0x480))setchar(yourped+0x894, 0x10);else{pped = getint(0x08BA1D70);if(pped&&pped != yourped){static enemy;enemy=pped;if(enemy){setchar(yourped+0x894, 0x8);setint(yourped+0x890, enemy);health = getfloat(enemy+0x4e4);if(health == 0){enemy=0;setchar(yourped+0x894, 0xC);setint(yourped+0x890, pplayer);}}}else{setchar(yourped+0x894, 0xC);setint(yourped+0x890, pplayer);}}}else{if(yourped&&!getint(yourped+0x480)){x1 = getfloat(pobj+0x30);y1 = getfloat(pobj+0x34);z1 = getfloat(pobj+0x38);static obj;if(!obj){moveto(x1,y1,z1);obj = object(0x1CA4,90,0,0);}else{selectobject(obj);setfloat(obj+0x30, getfloat(pobj+0x30));setfloat(obj+0x34, getfloat(pobj+0x34));setfloat(obj+0x38, getfloat(pobj+0x038)+1);propagateobject();}x2 = getfloat(pobj+0x30);y2 = getfloat(pobj+0x34);z2 = getfloat(pobj+0x38);setfloat(yourped+0x30,x2);setfloat(yourped+0x34,y2);setfloat(yourped+0x38,z2+1.5);}}}if(yourped){pfollow = getchar(yourped+0x894);if(pfollow == 0xC&&buttons&CTRL_CROSS&&press&CTRL_UP){setchar(yourped+0x894, 0x31);yourped=0;}if(yourped){health2 = getfloat(yourped+0x4e4);if(health2 == 0){yourped=0;}}}#offobj = state = 0;setchar(yourped+0x894, 0x31);yourped=0;

 

And here`s the ped drives you around cheat:

 

#cheat Personal Driverpped = getint(0x08BA1D70);static yourped;if(pped&&!yourped)yourped=pped;if(yourped){setchar(yourped+0x87c, 0x1e);if(!pcar){if((press & CTRL_UP)){setchar(yourped+0x894, 0xC);setint(yourped+0x890, pplayer);}}if(buttons&CTRL_TRIANGLE&&!pcar){setchar(pplayer+0x894, 0x11);setchar(pplayer+0x8B4, 0x18);}if(buttons&CTRL_TRIANGLE){setchar(yourped+0x894, 0x12);setchar(yourpedr+0x8B4, 0x18);setint(yourped+0x484, pcar);setint(yourped+0x450, pcar);}if(yourped){health = getfloat(yourped+0x4e4);if(health == 0){yourped=0;}}}#offyourped=0;

 

I`ll use this for the helicopter race mod:

 

user posted image

 

Sorry, I`m currently improving the code !I`ll repost it as soon as the update is finished !

 

In all cheats you have to target a ped and press UP to recruit him.

Then you just have to enter a vehicle and it will do the thing (hopefully) ! smile.gif

 

I`ll improve them before I turn them into full cheats.

 

Also another thing I might do is finally finish the Learjet Mod !

Now that I know how to attach objects onto a vehicle it`s gonna be easy to finish that cheat !

 

I just wanted to give you guys a little introduction about my work ! icon14.gif

If I`m not posting new cheats for a week or so, don`t worry I´m not dead and I haven`t stopped cheatmaking either ! wink.gif

I just need a little rest sometimes ! (Hacking VCS is fun, but it`s also hard work and sometimes you just need a break !)

 

EDIT2:

 

I`m nearly finished with the Learjet !

I finally got it working right !

 

I just need to rename it into Learjet and it`s finished !

 

I promise you, I`ll release it today !

Edited by Upaluppa
Link to comment
Share on other sites

 

What the hell? A bodyguard on your cars roof? Thats crazy. Does he actually fire weapons.

Not yet, I`m going to add that in the final version !

At the moment I just wanted to show that it`s possible to attach objects and peds onto your vehicle !

Edited by Upaluppa
Link to comment
Share on other sites

Is the plane flying the correct way up now? As that was a pretty major bug. Is it solid now? Great work mate anyway. cookie.gifcookie.gif

Link to comment
Share on other sites

 

Is the plane flying the correct way up now? As that was a pretty major bug. Is it solid now? Great work mate anyway.  cookie.gif  cookie.gif

Don`t worry, just try it out mate !

It`s really great !

 

Alright here is...

 

 

...The Learjet:

 

user posted image

 

This will teleport you to the Biplane at the Airport:

 

#cheat Teleport to the Learjetteleport(-1266.37, -1076.81, 14.87)

 

 

And here`s the maincheat:

 

#cheat The Learjetsetint(pplayer+0x5bc, 0xffffff);setchar(pplayer+0xCB8, 0x2);setchar(pplayer+0x5B0, 0x10);for(pbomb = 0x08BF9E50; pbomb < 0x08BFA420; pbomb += 0x30)setchar(pbomb+0xC, 0x0);setchar(0x09f69054, 1);ptow = getint(0x0994f460);check = getshort(ptow+0x56);checkid = getshort(pcar+0x56);if(ptow&&checkid&&checkid == 222&&check&&check == 343 || check == 344 || check == 345){setchar(pcar+0x4A, 0x15);setshort(ptow+0x56, 7453);}if(ptow&&check&&check == 7453&&press&CTRL_TRIANGLE){setshort(ptow+0x56, 7454);parked1 = getfloat(pobj+0x30);parked2 = getfloat(pobj+0x34);parked3 = getfloat(pobj+0x38);}if(ptow&&check&&check == 7454&&press&CTRL_TRIANGLE){setshort(ptow+0x56, 7453);}if(ptow&&check&&check == 7454){setfloat(ptow+0x30, parked1);setfloat(ptow+0x34, parked2);setfloat(ptow+0x38, parked3);}if(pcar&&checkid&&checkid == 222&&ptow&&check&&check == 7453){setfloat(0x8bc8684, 10);a1 = getfloat(pcar+0x0);a2 = getfloat(pcar+0x4);a3 = getfloat(pcar+0x8);b1 = getfloat(pcar+0x10);b2 = getfloat(pcar+0x14);b3 = getfloat(pcar+0x18);c1 = getfloat(pcar+0x20);c2 = getfloat(pcar+0x24);c3 = getfloat(pcar+0x28);d1 = getfloat(pcar+0x30);d2 = getfloat(pcar+0x34);d3 = getfloat(pcar+0x38);e1 = getfloat(pcar+0x70);e2 = getfloat(pcar+0x74);e3 = getfloat(pcar+0x78);f1 = getfloat(pcar+0x140);f2 = getfloat(pcar+0x144);f3 = getfloat(pcar+0x148);static obj;if(!obj){obj = ptow;}else{selectobject(obj);setfloat(obj+0x0, a1);setfloat(obj+0x4, a2);setfloat(obj+0x8, a3);setfloat(obj+0x10, b1);setfloat(obj+0x14, b2);setfloat(obj+0x18, b3);setfloat(obj+0x20, c1);setfloat(obj+0x24, c2);setfloat(obj+0x28, c3);setfloat(obj+0x30, d1);setfloat(obj+0x34, d2);setfloat(obj+0x38, d3);setfloat(obj+0x70, e1);setfloat(obj+0x74, e2);setfloat(obj+0x78, e3);setfloat(obj+0x140, f1);setfloat(obj+0x144, f2);setfloat(obj+0x148, f3);propagateobject();}}#offobj = state = 0;setchar(0x09f69054, 0);setchar(pcar+0x4A, 0x18);

 

Don`t worry about the error it displays at first...

 

You`ll get an infinite amount of Teargas Grenades when the cheat is activated !

They are not really Grenades, but you need them to make the cheat work !

 

Just throw a Grenade next to the Biplane and enter it !

 

Enjoy your flight ! lol.gif

 

Note that there`s a slight chance of the cheat crashing your game if you leave the Learjet and try to reenter it again.

I haven`t found the reason for this yet, but I`ll take a look into it !

Edited by Upaluppa
Link to comment
Share on other sites

That is wierd, why do you have to throw a grenade next to the plane to activate it? But awesome work mate!

Link to comment
Share on other sites

Have you tried it already ?

I hope you like it.

 

It was one of the most complicated cheats I`ve created so far !

 

And the Grenade is needed because I need an object which I can turn into the Learjet !

The Grenade is the only object that get`s saved in the games memory, which means it does not dissappear like other spawned objects do if you move away from their original spawning position !

(This might sound a bit complicated, but I guess you just have to accept that the grenade is neccessairy to make it work ! smile.gif )

Link to comment
Share on other sites

So the handling is all worked out now?

Yes, it is !

Try the cheat and be amazed my friend ! wink.gif

Link to comment
Share on other sites

Let me know if it works for you !

I really hope it does !

 

I`m currently fixing a minor bug in the cheat !

I`ll update it in a few minutes and post the really final version in the Cheatreleases thread ! icon14.gif

Edited by Upaluppa
Link to comment
Share on other sites

Well it worked for me for a while, but then it failed and crashed my game.

Don`t worry, the finished version is ready in about 5 minutes ! icon14.gif

Link to comment
Share on other sites

Also, the Learjet covering disappears after a while, just being picky, but I want this cheat to be the best that it can possibly be. And also, what happened to your sig?

Link to comment
Share on other sites

Also, the Learjet covering disappears after a while, just being picky, but I want this cheat to be the best that it can possibly be. And also, what happened to your sig?

Sorry, but what do you mean with covering ?

Does the Learjet itself dissappear or what ?!?

 

And my sig got disabled for whatever reason ! sneaky2.gif

I`ve posted a request to get it reenabled again, but it doesn`t look like anyone cares about it...

 

I`m finished with the cheat now, I think I`ve fixed the problem with the crash after reentering it again !

 

I`ll post it in the Cheatreleases thread !

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.