|
Thread: What am i missing? | |
|
vulcancolak
Famous Hero
|
posted March 07, 2019 01:36 PM |
|
|
What am i missing?
Hello everyone. I am the guy who try to change values of Platemail.
It increases armor by 10 and i am using cheat engine for the find values
--- Correct me if i mistaken ---
--- First part ---
I am opening empty map with Platemails. Before i pick platemail my defense is 94.
I am doing this: New Scan > Value 94 > Scan Type: Exact Value and it provides me the 292 records.
Question: 1 of these records is refering defense of my hero? If yes, why if i change it's values to 99 and my defense still shows as 94
--- Second part -----
After i grab armor, my armor increases to 104 from 94 and i am doing this Cheat Engine > Increased Value and when i click next scan, it provides me 3 records but minimum value is 10290 and if i change 3 of them (50 for an example) nothing happens.
I have a lot of time and i want to find hex offset of Plate Mail and change it's value.
|
|
Karmakeld
Responsible
Supreme Hero
|
posted March 11, 2019 06:11 PM |
|
|
Can you post screenshots?
____________
|
|
vulcancolak
Famous Hero
|
posted March 11, 2019 06:44 PM |
|
|
Sure. Here is the 2 pictures. I can provide more if you need.
https://ibb.co/nRBVs3r
https://ibb.co/XJ6HJLS
Edit. Just realized, hex values of .exe file ending at 00691120.
By the way it is the executable file of the equilibris. How can i learn where at stored of this artifacts i don't get it.
|
|
vulcancolak
Famous Hero
|
posted April 06, 2019 06:18 PM |
|
|
I have found anything new. I was tried to change values of items and i have realized i can change mana bonus to Crown of the Supreme Magi via Cheat Engine. I have a code like this 02B91570 if i change value of this item, it affects item during the game
But i cannot find 02b91570 into the .exe file when i open it with hex editor.
How can i make it permanent?
|
|
radmutant69
Promising
Known Hero
|
posted April 08, 2019 01:36 PM |
|
|
That 7E is only the 'Enum' of the Plate Mail. Basically it is its number in the artifact table. Doesn't helps too much but good to know there is such data anyway.
It must be possible to change its attributes. We just don't know the offset where it can be done. Maybe kkfkkfk(?) knows it but he rarely comes here...
Edit: this program can edit a few artifacts so I think he or the program's creator should know where they are in the exe.
|
|
vulcancolak
Famous Hero
|
posted April 08, 2019 02:23 PM |
|
|
I was excited when i found it by myself but my morale decreased to -10 when i realized there is no offset like this in the exe
Then how the people can find offsets? I am also developer of New Order mod for Heroes 5 but this time i want to make edit for myself and my friends and my "only" interest is changing attributes of items.
Equilibris mod has changed items attributes but how the people can find offsets? I was using Cheat Engine and i was succesfully found the offset but i was tought it was the same offset into the exe file. What is the correct method?
|
|
Karmakeld
Responsible
Supreme Hero
|
posted April 08, 2019 07:52 PM |
|
|
radmutant69 said: That 7E is only the 'Enum' of the Plate Mail. Basically it is its number in the artifact table. Doesn't helps too much but good to know there is such data anyway.
It must be possible to change its attributes. We just don't know the offset where it can be done. Maybe kkfkkfk(?) knows it but he rarely comes here...
Edit: this program can edit a few artifacts so I think he or the program's creator should know where they are in the exe.
Rad, what E7 are you looking at/refering to? Just guessing here, but it kinda sounds like you found the link that Nimo/Baronus discussed a while ago, regarding how the game knows which creature/line in the tables is linked to which code in the exe.
Vulcancolak, I think kkfkkfk uses some assembler program to track calls of a code.
____________
|
|
radmutant69
Promising
Known Hero
|
posted April 09, 2019 10:16 AM |
|
|
I just answered vulcancolak's question what he later deleted from his post. ^_-
|
|
vulcancolak
Famous Hero
|
posted April 09, 2019 01:21 PM |
|
|
No i am here still. And still trying to understand how can i find offsets. Let us make something clear.
1-)The offset i found was just an address? (02B91570)
2-)If yes, it probably get the information from somewhere and modders trying to find it's source right?
|
|
kkfkkkfk
Adventuring Hero
Nothing is impossible
|
posted June 09, 2019 12:51 PM |
|
Edited by kkfkkkfk at 12:59, 09 Jun 2019.
|
Sorry, I just saw your message.
Are you trying to change the defense of Artifacts?
First, you need to determine the virtual Address of the treasure.
Because there is too much code, the search process is complicated.
For example, 0065CB24 represents the defense of Plate mail.
6A means putting in byte data,The scope here is -127~127
The defense in the game is the number/10 here.
64(HEX)=100(DEC)
100/10=10
So the platemail's defense is 10.
If it's just a modification, then the maximum number is only 12.7
To get bigger numbers, you need to rewrite the treasure code.
It works directly on game files, so you don't have to worry about losing effectiveness.
Modified tools I recommend using Ollydbg or IDA pro.
CE is based on memory modification. This address will be different every time. If you can't find the base address, it will fail.
|
|
vulcancolak
Famous Hero
|
posted July 19, 2019 08:10 AM |
|
|
kkfkkkfk said: Sorry, I just saw your message.
Are you trying to change the defense of Artifacts?
First, you need to determine the virtual Address of the treasure.
Because there is too much code, the search process is complicated.
For example, 0065CB24 represents the defense of Plate mail.
6A means putting in byte data,The scope here is -127~127
The defense in the game is the number/10 here.
64(HEX)=100(DEC)
100/10=10
So the platemail's defense is 10.
If it's just a modification, then the maximum number is only 12.7
To get bigger numbers, you need to rewrite the treasure code.
It works directly on game files, so you don't have to worry about losing effectiveness.
Modified tools I recommend using Ollydbg or IDA pro.
CE is based on memory modification. This address will be different every time. If you can't find the base address, it will fail.
Ah hello. I wasn't there either. Tonight i will read and try to understand what you said. I really want to learn this because changing artifact attributes is my main goal for Heroes 4.
|
|
vulcancolak
Famous Hero
|
posted July 19, 2019 02:30 PM |
|
|
kkfkkkfk said:
6A means putting in byte data,The scope here is -127~127
The defense in the game is the number/10 here.
64(HEX)=100(DEC)
100/10=10
So the platemail's defense is 10.
It seems it is advanced techniques and honestly i don't understand. But hex editor i can find values of the items during the game and i can change it during the game. But i want to make it permanent.
"0065CB24" I really don't know how did you find this number. In other words it is not what i am searching for right? https://pasteboard.co/IoHjuWt.png
|
|
radmutant69
Promising
Known Hero
|
posted July 19, 2019 03:00 PM |
|
|
Well basically it is what you are searching for. He said that you can modify this
'64' here to change the defense of Plate Mail permanently. But for some reason you cannot set here any bigger value than 127 (7E) in this way.
If you want to make the defense bigger than 12.7 then that will be a bit more complicated. Like, you should replace this code around here with the Golden Plate Mail's code as it does exactly what you wanted to do. But it will require some more advanced exe editing.
Could you please repost the link with the artifact enum tab that you deleted from one of your post above? I'd like to look into it a little later and since now we roughly know where to find artifacts in the exe (thanks kkfkkfk!) that would be actually very helpful.
|
|
vulcancolak
Famous Hero
|
posted July 23, 2019 12:38 PM |
|
|
radmutant69 said: Well basically it is what you are searching for. He said that you can modify this
'64' here to change the defense of Plate Mail permanently. But for some reason you cannot set here any bigger value than 127 (7E) in this way.
If you want to make the defense bigger than 12.7 then that will be a bit more complicated. Like, you should replace this code around here with the Golden Plate Mail's code as it does exactly what you wanted to do. But it will require some more advanced exe editing.
Could you please repost the link with the artifact enum tab that you deleted from one of your post above? I'd like to look into it a little later and since now we roughly know where to find artifacts in the exe (thanks kkfkkfk!) that would be actually very helpful.
You mentioned this one?
I wasn't remember the deleted post but maybe admins can help me about that maybe.
http://equilibris.celestialheavens.com/forum/viewtopic.php?t=5145
It is works for us? And yes it seems i cannot increase defense above 12.
Edit: Yes i see i was changed something at the post. Let me contact admins maybe they are able to see what i have changed.
|
|
radmutant69
Promising
Known Hero
|
posted July 24, 2019 04:27 PM |
|
|
That was the link which I wanted, thanks.
So, now you can change the Plate Mail's defense by changing this
to this
and also changing these bunch of 00s
to this
This C8 is the actual defense of the armor
in case you want to modify it. It is now giving the hero +20 defense. Also here is the exe that I made with these changes if you need it for some reason.
|
|
vulcancolak
Famous Hero
|
posted July 24, 2019 04:35 PM |
|
|
I don't know what should i say. You shared the file too you have my thanks. But i will change it manually for get to use to it. Then how the people finding these offsets? My "main" goal for heroes 4 changing attributes of artifacts but still i don't understand how the people detects addresses?
I will try to change it when i return to home. Thank you millions of times!
|
|
radmutant69
Promising
Known Hero
|
posted July 25, 2019 02:19 AM |
|
|
vulcancolak said: I don't know what should i say. You shared the file too you have my thanks.
You are very welcome. I shared the exe and also showed how to do the changes manually because I didn't know if you did some other changes in your own exe or not..
vulcancolak said: Then how the people finding these offsets? My "main" goal for heroes 4 changing attributes of artifacts but still i don't understand how the people detects addresses?
Well that is why I asked for your link.
I try to show some examples now, but it greatly depends on which artifacts you want to modify exactly. Some of them can't be located that easily, or even if can, I don't necessarily know how to mod them (yet )
This is (I think) the Bull Rune Battleaxe (or what is its real name) but I didn't test it yet. The data above calls it Minotaur battleaxe though (number 73).
This can be found here if you open the exe with a hex editor (just like in the case of creatures)
That highlighted F4 01 should be the attack value of the axe and it probably can be changed without any trickery. Like, if we change it to C8 00 that should give only +20 attack instead of +50.
And here are some potions (the blue numbers are their 'enums' while the red numbers are the code of the spell effect they produce.
These potions can be found at this address:
So, for another example we could easily change the potions' effect even by simple hex editing their spell code (I think).
But again, it won't be that easy in a lot of cases. Like, I couldn't even locate most of the armors so far except Leather and the Tiger Armor, if I remember correctly (I don't find my notes about that now )
Oh, and I almost forgot it: you likely will need something like OllyDbg if you seriously want to do this.
|
|
Karmakeld
Responsible
Supreme Hero
|
posted July 27, 2019 05:16 PM |
|
|
Interesting stuff. About the names and such, you can look and compare the exe name with their in final ingame name in the artfact table. Some name changes are similar, others might be hard to recognize. Also a bunch of unused artifacts are listed - those Rad put questionmarks behind. Equilibris team used these to add new ones of their own.
____________
|
|
vulcancolak
Famous Hero
|
posted July 30, 2019 07:21 PM |
|
|
Thank you all of you. I have finally increased Platemail defense to 15 Now i will work on other items but it seems too complicated. But at least i will try to understand.
|
|
radmutant69
Promising
Known Hero
|
posted July 31, 2019 12:36 AM |
|
|
Well most artifacts are easier to modify than the Plate mail as you won't have to move their code so it won't be so complicated in most cases. They usually can be modded directly where they are. Locating them is the harder task, after that it should be kind of easy.
|
|
|