Jump to content

Help please


Recommended Posts

#include <GUIConstants.au3>
; == GUI generated with Koda ==
$Form1 = GUICreate("Meshios's SpeedHack V3 Remake", 309, 155, 192, 125)
$StartButton = GUICtrlCreateButton("Start", 16, 24, 113, 33)
$StopButton = GUICtrlCreateButton("Stop", 16, 72, 113, 33)
$Pic1 = GUICtrlCreatePic("2001.jpg", 144, 24, 89, 81)
GUICtrlCreateLabel("Made by Meshios", 64, 120, 87, 17)
GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
    If $msg = $StartButton Then FileCopy("Cracked\player.bmd", "C:\Program Files\Webzen\Mu\Data\Player\player.bmd", 1)
    If $msg = $StopButton Then FileCopy("Normal\player.bmd", "C:\Program Files\Webzen\Mu\Data\Player\player.bmd", 1)
WEnd
    
Exit

that's my bad script , I'd like to know if it works. Cuz when I click the buttons it does not seem like if it works. And if someone could make it a bit more 'creative' it would be good.........

Link to comment
Share on other sites

Am I right when I say that "Cracked" and "Normal" are in the folder from which your program is running? Then I'd do:

#include <GUIConstants.au3>
; == GUI generated with Koda ==
$Form1 = GUICreate("Meshios's SpeedHack V3 Remake", 309, 155, 192, 125)
$StartButton = GUICtrlCreateButton("Start", 16, 24, 113, 33)
$StopButton = GUICtrlCreateButton("Stop", 16, 72, 113, 33)
$Pic1 = GUICtrlCreatePic("2001.jpg", 144, 24, 89, 81)
GUICtrlCreateLabel("Made by Meshios", 64, 120, 87, 17)
GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
    If $msg = $StartButton Then FileCopy(@ScriptDir & "\Cracked\player.bmd", "C:\Program Files\Webzen\Mu\Data\Player\player.bmd", 1)
    If $msg = $StopButton Then FileCopy(@ScriptDir & "\Normal\player.bmd", "C:\Program Files\Webzen\Mu\Data\Player\player.bmd", 1)
WEnd
    
Exit

Alzo

Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...