Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: Forged on April 23, 2004, 01:07 PM

Title: Staying on top
Post by: Forged on April 23, 2004, 01:07 PM
I am trying to make a program that would stay on top of other windows.  I want to be able to run war3and have a small window running over it.
Title: Re:Staying on top
Post by: iago on April 23, 2004, 01:16 PM
Because of the way war3 and other such programs do graphics, I don't think that's possible without altering war3's code.
Title: Re:Staying on top
Post by: Forged on April 23, 2004, 01:18 PM
o damn :(

I had a way in which I think would make a maphack undetectable, but for conviece sake it would require being on top of the war3 screen.
Title: Re:Staying on top
Post by: Eli_1 on April 23, 2004, 01:33 PM
IIRC, maphacks are already undetectable. And as far as staying on top, that was just discussed.
http://forum.valhallalegends.com/phpbbs/index.php?board=31;action=display;threadid=6224 (http://forum.valhallalegends.com/phpbbs/index.php?board=31;action=display;threadid=6224)
Title: Re:Staying on top
Post by: iago on April 23, 2004, 01:35 PM
War3, afaik, implements more protection against maphacks.

Something that IS possible is catching keypresses from a game.  You wouldn't have a window on top of yours, but you would have something set up that "if you press f4, this happens, if you press f9, that happens, etc".
Title: Re:Staying on top
Post by: Forged on April 23, 2004, 01:52 PM
I am a newb but what is afaik ?
Title: Re:Staying on top
Post by: Eli_1 on April 23, 2004, 01:53 PM
Quote from: Forged on April 23, 2004, 01:52 PM
I am a newb but what is afaik ?
I think it's, "as far as I know", but I'm not sure either.
Title: Re:Staying on top
Post by: Forged on April 23, 2004, 01:59 PM
yeah the war maphack like all maphacks has to write to the memory if you want it to be displayed on the map.  If you were to do this blizzard could easilly scan to see if this memory is being used when you join a game, however if one could make a program that would simplly read the memory and display a minimap (not the one in the game) then blizzard would not be able to tell.  I could do this, but I can not make it stay on top of the war3 window, so you have to minimize everytime you want to see what your enemy is doing and that is a pain in the ass.
Title: Re:Staying on top
Post by: iago on April 23, 2004, 02:16 PM
Quote from: Forged on April 23, 2004, 01:59 PM
yeah the war maphack like all maphacks has to write to the memory if you want it to be displayed on the map.  If you were to do this blizzard could easilly scan to see if this memory is being used when you join a game, however if one could make a program that would simplly read the memory and display a minimap (not the one in the game) then blizzard would not be able to tell.  I could do this, but I can not make it stay on top of the war3 window, so you have to minimize everytime you want to see what your enemy is doing and that is a pain in the ass.

Ah, without doing something very complicated, I don't think that's possible.  You can try using Skywing's dxwnd program to run wc3 in a window, though, but I don't know how well that would work.

Wait, can't wc3 be run in windowed mode by default?
Title: Re:Staying on top
Post by: Forged on April 23, 2004, 02:24 PM
I don't know, there are programs to run it in a window though, I just thought for convience sake that If I could incorperate what I wanted to do into a window it would be more convient for everyone.