Sign in to follow this  
Followers 0
Slumme

need some help :/

2 posts in this topic

Hello :) im making a toolkit for diablo, and i need to know 1. how to make script read out of a .ini file so u can define game name inthere like Gamename=

and then i need to make a counter that makes the game count rise by 1 each game... so u by the press of a button makes next game...

heres what i got so far ;/

what i need it to do after that mouseclick is to fill out some text predefined in the config, and then the next number defined by counter...

Global $Paused
HotKeySet( "{pgup}", "Create" )




MsgBox( 0, "Diablo2", "Sørg for at have dit d2 vindue åbnet i window mode inden du trykker ok" ) 

WinActivate( "D2Loader v1.11b" )

WinMove( "D2Loader v1.11b", "", 0, 0 )






While 1
    Sleep( 100 )
    WEnd



Func Create()
    $Paused = NOT $Paused
    While $Paused
        MouseClick( "left" , 560, 490 )
        
    WEnd
EndFunc

i would be glad if anyone took the time to help me :P

Share this post


Link to post
Share on other sites



Global $Paused
HotKeySet( "{pgup}", "Create" )

$counter=0
$var = IniRead("myfile.ini", "Settings", "Gamename", "NotFound")


MsgBox( 0, "Diablo2", "Sørg for at have dit d2 vindue åbnet i window mode inden du trykker ok" )
WinActivate( "D2Loader v1.11b" )
WinMove( "D2Loader v1.11b", "", 0, 0 )

While 1
    Sleep( 100 )
WEnd

Func Create()
    $Paused = NOT $Paused
    $counter = $counter + 1
    While $Paused
        MouseClick( "left" , 560, 490 )
        $gamename = $var & $counter
    ; handle your settings here, like Send ($gamename)
    WEnd
EndFunc


It's my job to comfort the disturbed and to disturb the comfortable.
My Projects: Profiler, MakeSFX, UserInfo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0