8218 Posted December 10, 2004 Share Posted December 10, 2004 Everytime i run this script it come with th error Line 5 (File "C:\AutoIT\WoW-Realmchancer.au3 GUISetBkColor(000000) ^ERROR Error: Unknown function name Code: ;the interface GUICreate("Realm Changer By 1337", 210, 80, (@DesktopWidth - 449) / 2, (@DesktopHeight - 338) / 2) GUISetBkColor(000000) ;buttons Global $txt $txtin = GUICtrlCreateEdit("The New Realm Name", 5, 30, 200, 20) $finish = GUICtrlCreateButton("Change Realm", 50, 50, 100, 20) $wtf = FileOpenDialog("Find Your realmlist.wtf file in your wow Folder", @DesktopDir, "WTF Files (*wtf)", 1 + 4 ) If Not @error Then Else Exit EndIf $line = FileReadLine($wtf) $txtin2 = GUICtrlCreateEdit($line, 5, 5, 200, 20) ;the big thing GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = -3 ExitLoop Case $msg = $finish $txt = GUIRead($txtin) FileDelete($wtf) FileWriteLine($wtf, "set realmlist " & $txt) MsgBox(0, "Success", "your realm is now changed") $line = FileReadLine($wtf) $txtin2 = GUICtrlCreateEdit($realmlist, 5, 5, 200, 20) EndSelect Wend Link to comment Share on other sites More sharing options...
layer Posted December 10, 2004 Share Posted December 10, 2004 Everytime i run this script it come with th errorLine 5 (File "C:\AutoIT\WoW-Realmchancer.au3GUISetBkColor(000000)^ERRORError: Unknown function nameCode:;the interface GUICreate("Realm Changer By 1337", 210, 80, (@DesktopWidth - 449) / 2, (@DesktopHeight - 338) / 2) GUISetBkColor(000000) ;buttons Global $txt $txtin = GUICtrlCreateEdit("The New Realm Name", 5, 30, 200, 20) $finish = GUICtrlCreateButton("Change Realm", 50, 50, 100, 20) $wtf = FileOpenDialog("Find Your realmlist.wtf file in your wow Folder", @DesktopDir, "WTF Files (*wtf)", 1 + 4 ) If Not @error Then Else Exit EndIf $line = FileReadLine($wtf) $txtin2 = GUICtrlCreateEdit($line, 5, 5, 200, 20) ;the big thing GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = -3 ExitLoop Case $msg = $finish $txt = GUIRead($txtin) FileDelete($wtf) FileWriteLine($wtf, "set realmlist " & $txt) MsgBox(0, "Success", "your realm is now changed") $line = FileReadLine($wtf) $txtin2 = GUICtrlCreateEdit($realmlist, 5, 5, 200, 20) EndSelect Wend<{POST_SNAPBACK}>because, GUISetBkColor(000000) should be GUISetBkColor (0x000000) FootbaG Link to comment Share on other sites More sharing options...
8218 Posted December 10, 2004 Author Share Posted December 10, 2004 .hase aher Link to comment Share on other sites More sharing options...
Josbe Posted December 10, 2004 Share Posted December 10, 2004 You need the unstable version. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
8218 Posted December 10, 2004 Author Share Posted December 10, 2004 You need the unstable version.<{POST_SNAPBACK}>which of them is it? Link to comment Share on other sites More sharing options...
this-is-me Posted December 10, 2004 Share Posted December 10, 2004 autoit-v3.0.103.exe Who else would I be? Link to comment Share on other sites More sharing options...
8218 Posted December 10, 2004 Author Share Posted December 10, 2004 autoit-v3.0.103.exe<{POST_SNAPBACK}>thx u mate !! ive found out ! Link to comment Share on other sites More sharing options...
Josbe Posted December 10, 2004 Share Posted December 10, 2004 Yeah, "autoit-v3.0.103.exe" (the installer).This allows you to use these functions. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now