View Single Post

Old 07-19-2008, 12:56 AM   #1 (permalink)
Rufus

Disciple
 
Rufus's Avatar
 
Join Date: May 2007
Posts: 428
Rufus is on a distinguished road
Default [Warcraft III] Game State Checking 1.22

Since no one posted an update to this yet :p.

This works by checking the opcode of a game class that is null unless you are inside a game.


Code:
Warcraft_CheckGameState proc
;//Game state checking function

.data
    FXN_GameClass dd 6FAA1988h

.code

    ;//Move GameClass into EAX
    mov eax, FXN_GameClass

    ;//Check to see if we're in a game and return true/false.
    .if byte ptr [eax] == 0h
        mov eax, 0
    .else
        mov eax, 1
    .endif
    ret

Warcraft_CheckGameState endp
__________________
Quote:
DrubZ says:
IpwnU would be a great hack name... cuz like.. it's right in ur face
Rufus 15 0FF11|\|3   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links