Finding Offsets in Warcraft 3

General discussion of Warcraft 3. Threads may may be posted here if they don't fit into the other sections.

Moderator: Cheaters

Kaligula
Newcomer
Posts: 3
Joined: September 1st, 2009, 9:17 pm

Finding Offsets in Warcraft 3

Post by Kaligula »

Hi guys.

I am busy working on my maphack and I am having trouble finding the offsets. Especially the one that removes the fog on the the main and mini map. Can somebody give me an idea as to what I have to do in order to to find this offset.

Help is much appreciated.
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: Finding Offsets in Warcraft 3

Post by GeorgeMots »

This is tutorial you are looking for, it also has a video in it. Its a 20min one so dont get lazy.

http://www.d3scene.com/forum/warcraft-3 ... orial.html
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image
Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this
Kaligula
Newcomer
Posts: 3
Joined: September 1st, 2009, 9:17 pm

Re: Finding Offsets in Warcraft 3

Post by Kaligula »

Yes I know how to find offsets and to code them... The problem I'm having is finding the offset which is responsible for removing the fog on the main and mini map thus making everything visible. All I'm looking for is for an idea or a way to find this specific offset.
User avatar
Dekar
Forum Drunk
Posts: 2899
Joined: January 17th, 2007, 4:22 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Finding Offsets in Warcraft 3

Post by Dekar »

I guess one way would be to look for the function that draws the fog once a unit moves. Move a Unit, find the location where the fog is saved, then move on from there and find the code changing those values. Once you got it a few NOP (0x90 is the opcode in x86 ASM) should do it. Something like that - I never looked into it though.
Don't pm me with Warcraft questions, this is a forum so just make a post!
In the world of thinking we are all immigrants. -Robert Nozick
User avatar
haxorico
Super Moderator
Posts: 3197
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: Finding Offsets in Warcraft 3

Post by haxorico »

iseedeadpeople on single player should work.
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac: 

Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: Finding Offsets in Warcraft 3

Post by GeorgeMots »

I suppose he didnt watch the video. It explains how to do that.
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image
Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this
Kaligula
Newcomer
Posts: 3
Joined: September 1st, 2009, 9:17 pm

Re: Finding Offsets in Warcraft 3

Post by Kaligula »

Unfortunately "iseedeadpeople" doesn't work. You don't get any offset from it. The video doesn't show you how to do this it only shows you how to find the offset for showing all units which is easy.

Dekar your method did work to remove the fog on the mini map. However I still can't get the fog off the main map.

The other problem is that the fog is not the only thing covering the map. There is also a black mask which i suppose you need to find it's offset as well somehow...
User avatar
Dekar
Forum Drunk
Posts: 2899
Joined: January 17th, 2007, 4:22 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Finding Offsets in Warcraft 3

Post by Dekar »

Cool, I am glad it at least partially worked, as I never even tried hacking WC3 :D

Edit:
Well I did other hacks, but never hacks involving the gameplay.
Don't pm me with Warcraft questions, this is a forum so just make a post!
In the world of thinking we are all immigrants. -Robert Nozick