LOGIN  .  SIGNUP   .  SUPPORT 
HOME / MESSAGE BOARDS / COSMOS GAMEHACKING TOOL

CoSMOS Gamehacking Tool

Signup   Message Boards Home   Newest Posts   My Favorite Boards   My Threads
Page 1 of 1
Signup or Login to Post
Help WH40k DoW Dark Crusade Steam
 
LordofFlames  posted on Aug 05, 2016 12:41:40 PM - Report post

Current rank: 1 Star. Next Rank at 100 Posts.
Send a message to LordofFlames
ELITE
Im hacking this game to relearn all the stuffs ive forgotten over the years, and when I'm writing the offset injection, something pops up that makes me scratch my head.

""
originalcode: // 8B 04 88 C2 04 00
mov eax, [eax+ecx*4]
ret 0x4
""

What am I even supposed to write here? I am injecting a change of planetary requisition to 9999. I tried typing it as it is (just to try it) and it obviously didnt work. :P A little help? And what the heck is that return command I'm getting?

My failed line: mov dword [eax+ecx*4],(int)9999

Signed, Rusty old n00b LordofFlames.

 
0x90  posted on Aug 05, 2016 12:58:36 PM - Report post

Trainer Maker
Send a message to 0x90
STAFF
Your line seems to be correct. What exactly is your issue? Do you get an error message while trying to inject the script?
 
LordofFlames  posted on Aug 05, 2016 1:15:06 PM - Report post

Current rank: 1 Star. Next Rank at 100 Posts.
Send a message to LordofFlames
ELITE
I'm getting "Script injection failed. Please check the author's description of this script if provided".

When I inject the script without saving it, it works as intended. Even brings it back up to 9999 when I spend it. But every time i save the script and try to activate it, that error message pops up.

 
0x90  posted on Aug 05, 2016 1:17:16 PM - Report post

Trainer Maker
Send a message to 0x90
STAFF
Can you please save it and then save the table and attach it to your next forum post so I can have a look at it? Or send it to 0x90@cheathappens.com

//edit: also what CoSMOS version are you using?

[Edited by 0x90, 8/5/2016 1:17:33 PM]

 
LordofFlames  posted on Aug 05, 2016 1:32:28 PM - Report post

Current rank: 1 Star. Next Rank at 100 Posts.
Send a message to LordofFlames
ELITE
Alright I'm even more confused now. Now it works. Both with and without the extra alloc line. One is written with the alloc line, putting it to 5000. One is without, putting it to 9999. Both work, tried after just restarting the game and CoSMOS. I am using 1.1.9.0. Sorry for wasting your time 0x90, I must've entered a typo in the code the first times or something, faulty bracket or lack of linebreak. But it's doing its job at least, getting me to re-learn code. I'll not be so quick to jump on the forum next time, I'll let a few hours of banging my head against it go by first. It's obviously working lol.

EDIT: Well been doing this all day, and finally got planetary req, battle req and power to work together without crashing. I get new respect for coding due to this...... and now know how easy this game gets cranky. Been an eventful day, but I think i got the solid basics of debugging and injection down now.

[Edited by LordofFlames, 8/5/2016 5:23:47 PM]

Page 1 of 1
  Post Reply
 
All times are (GMT -06:00) Central Time (US & Canada). Current time is 11:08:46 PM
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
Neo7
Neo7
Latiosmaster47Latiosm.
forty-twoforty-two
HonestGamerHonestG.
dstatesdstates
Important Board Topics
Trending Topics