CoSMOS Gamehacking Tool

Signup   Message Boards Home   Newest Posts   My Favorite Boards   My Threads
Page 1 of 1
Signup or Login to Post
Scripts for Health Bars, Super ... etc
Shinichi  posted on Aug 27, 2016 3:52:52 PM - Report post

Current rank: 1 Star. Next Rank at 100 Posts.
Send a message to Shinichi
Hello everyone,

I was wondering about the "scripts" because to my level of skills with such tools, I can do some edits and change stuff here and there.. but here comes the tricky part, some games like fighting games and whatever, every match the changes/edit I have made would be useless at that point and I would have to go and redo the whole process.

As I said I am not that skilled and would love to learn more of these scripts because I love these kind of skills and wanna learn all about them haha

Love the program it's great and CH you guys are always bring us great stuff and here you move on and step up the game making a good tool like this.


P.S: I know someone will mention the address of the codes change.. this is what I am trying to find out, how to make things work in such a way to make it work with the address even if it changes.

[Edited by mohxback, 8/27/2016 3:55:42 PM]

0x90  posted on Aug 28, 2016 6:19:56 AM - Report post

Trainer Maker
Send a message to 0x90
The scripts will be converted into code injections. So you need to know what code injections are and how they work. Code injections just injects (write) own code into another process memory (simplified).

For a code injection to work you need to know where it should inject the code and what code should be injected. This requires basic assembly language knowledge.

To figure out the 'where' you need a debugger and for example the searched value for health. Then set a breakpoint on that address. The debugger will now break as soon as the value was accessed by a function of the game. It will also show you the exact location of the part of the function.

This part of the function of the game you can use for your code injection (if it is not shared). Next you need to know what the (opcode) of the function is doing. Then you get an idea what you need to modify the code.

A classic code injection for health would work this way:

Take the function that accesses the player's health and everytime it is accessed write a value of 100 to player's health.

This may sound extremely complex. But it stand and falls with your knowledge of assembly. Also a bit of programming experience can help. Once you can read and understand assembly, the code injections are (in combination of the scripts that require zero programming experience) super easy.

I've demonstrated that you can create such a script within 2 minutes for the game Starbound. If it is not a demonstration it can even be done in less time.

You can find the video here:

Shinichi  posted on Aug 28, 2016 7:53:02 AM - Report post

Current rank: 1 Star. Next Rank at 100 Posts.
Send a message to Shinichi
Thanks for the reply and its a great explanation which I will look into trying out. Do you recommend a debugger or any would do? I am working on starting to try to make few scripts for games I know that are not on the CH trainer list. First one is a fighting game, and this one has a weird health bar + and HP # counter like an RPG game, it's called Battle Fantasia.

I will try to work with your explanation and hopefully will be a more useful side of CH board in future

Thanks again 0x90 for your time.


0x90  posted on Aug 28, 2016 8:26:28 AM - Report post

Trainer Maker
Send a message to 0x90
I recommend x64dbg as debugger: Link
B4Marc  posted on Aug 28, 2016 9:19:28 AM - Report post

Premium Plus
Send a message to B4Marc
Thank you both for a great explanation of the process needed to create a working script

[Edited by B4Marc, 8/28/2016 9:20:10 AM]

Page 1 of 1
  Post Reply
All times are (GMT -06:00) Central Time (US & Canada). Current time is 6:49:02 AM
Cheat Happens Premium
* Access PC trainers and exclusive content
* Updated game trainers and cheats daily
* Get notified when new cheats are added
* Request which games get new trainers
* Priority support with any problem
Message Board Moderators
Important Board Topics
Trending Topics