Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Warcraft 3, hacking items...how are they storing this data?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
OmniXBro
Newbie cheater
Reputation: 0

Joined: 20 Sep 2007
Posts: 11

PostPosted: Mon Nov 26, 2007 7:09 pm    Post subject: Warcraft 3, hacking items...how are they storing this data? Reply with quote

Hey guys, I've been hacking WC3. Usually offline, of course.
Now, I know that WC3 stores gold and lumber in <actual number * 10>,
and stores EXP and stats in plain number, even though stats are sometimes truncated due to other additions (items, levels, etc).

Anyway, does anyone know how WC3 stores its item data? Thanks.
Back to top
View user's profile Send private message
aegisrunestone
Advanced Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 91

PostPosted: Sat Jan 12, 2008 9:46 am    Post subject: Reply with quote

You can easily search for item ID and session by searching changed and unchanged values when flipping items.. but remember, if you change item's position the (number of item)'s address will reallocate. Anyway, if you wanted to stack items (like having 300 claws under 1 slot)... ill just give this simple script



Code:

[ENABLE]
Alloc(place,100)
label(back)
label(val)
label(if1)
label(1st)
registersymbol(val)

6F56D5E3:
jmp place
back:

place:
cmp [1st],0
je if1
db 23 06 83 f8 ff
jmp back
if1:
mov [1st],1
mov [val],esi
db 23 06 83 f8 ff
jmp back

val:
db 00 00 00 00
1st:
db 00 00 00 00

[DISABLE]
6F56D5E3:
db 23 06 83 f8 ff
Dealloc(place)
unregistersymbol(val)



Just add a new pointer (address as val) and take your hero to pickup an item. Code will detect the first hero that takes item, and val will represent the slot's state(between occupied and unoccupied). Just change the value of (val) to -1 to change the slot's state to unoccupied. Then you can pickup another item and new item will overwrite the old item on the slot. Hotkeys really helps.


Last edited by aegisrunestone on Sat Jan 12, 2008 12:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Sat Jan 12, 2008 10:00 am    Post subject: Reply with quote

Surprised looks good
is it possible that anyone makes a trainer with that function for me im a noob Sad
i will +rep
and may try u to say it more detailed.. like i never used CE before ^^

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites