Hello for everybody.
First of all I want to say Sorry for my poor english.
I tryed to googling, but found nothing, maybe I'm just blind or something else, but I want to learn How to found offsets anything I need on any main.exe and How to calculate my own offset to replace the default offset from main, like this one:
SetByte(0x0040B4C5,0x50);
Here I understand that first one (0x0040B4C5) is a default offset from Main.exe and 0x50 is calculated offset from brain, but how calculate the second one and how find first one?
UPD:
I learned something. Now I know what is offsets actually where I see them in Olly.
Now I want to change Elf Soldier Wings to custom ones.
I found an array in my main (1.04e my array is 1171 [not hexed]), so I know how to find Elf's Soldier wear: 12*512+3+1171 = 7318 or 1C96 in hex. So I try to find this item and I found it, that was not so hard, but I was happy as hell :D.
Here is the image of that:
But there is two 1C96 offsets: 005F5B42 and 005F5B4B, so I tryed to edit first, second, both - only crash client, what I did wrong?
My code was:
SetByte ((0x005F5B42 + 6),(BYTE)7366); for first one
and
SetByte((0x005F5B4B + 6),(BYTE)7366); for second one.









