Jump to content

Recommended Posts

Posted

ok, does anybody know why this isnt working.... please run it.... YES it is only the GUI, i have removed the program script atm.

CODE
#include <ButtonConstants.au3>

#include <ComboConstants.au3>

#include <EditConstants.au3>

#include <GUIConstantsEx.au3>

#include <StaticConstants.au3>

#include <StatusBarConstants.au3>

#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=

$CObot = GUICreate("CObot", 518, 316, 192, 116)

$StatusBar1 = _GUICtrlStatusBar_Create($CObot)

Dim $StatusBar1_PartsWidth[4] = [100, 220, 378, 463]

_GUICtrlStatusBar_SetParts($StatusBar1, $StatusBar1_PartsWidth)

_GUICtrlStatusBar_SetText($StatusBar1, "Current Version: 1", 0)

_GUICtrlStatusBar_SetText($StatusBar1, "Conquer Version:3055", 1)

_GUICtrlStatusBar_SetText($StatusBar1, "", 2)

_GUICtrlStatusBar_SetText($StatusBar1, "Loading: 100%", 3)

$Edit1 = GUICtrlCreateEdit("", 8, 8, 505, 113)

GUICtrlSetData(-1, StringFormat("Thank you for downloading COBot. To start the bot: \r\n1) Open [Conquer 2.0] \r\n2) Login\r\n3) Press the options button and change your screen resolution to 1024 * 768\r\n4) Fill in the setting boxes\r\n5) Press start. Go out and enjoy time with your friends and family and level your character at the same"))

$Start = GUICtrlCreateButton("Start", 432, 264, 75, 25, 0)

$Character = GUICtrlCreateLabel("Character name:", 8, 136, 82, 17)

$COname = GUICtrlCreateInput("", 96, 136, 114, 21)

$Areas = GUICtrlCreateCombo("Areas", 256, 136, 145, 25)

GUICtrlSetData(-1, "Pheonix Castle|Ape Mountain|Mine Cave|Desert City|Bird Island|Market")

$Area = GUICtrlCreateLabel("Area:", 224, 136, 29, 17)

$Monster = GUICtrlCreateLabel("Monster:", 8, 168, 45, 17)

$Combo1 = GUICtrlCreateCombo("Combo1", 56, 168, 145, 25)

GUICtrlSetData(-1, "Pheasant|Turtledove|Robin|Rock Monster|Apparition|Poltergeist||")

$HP = GUICtrlCreateLabel("HP pot:", 8, 200, 40, 17)

$Hotkey = GUICtrlCreateCombo("Hotkey", 48, 200, 65, 25)

GUICtrlSetData(-1, "F1|F2|F3|F4|F5|F6|F7|F8|F9|F10")

$Mana = GUICtrlCreateLabel("Mana pot:", 8, 232, 52, 17)

$hotkey1 = GUICtrlCreateCombo("Hotkey", 64, 232, 65, 25)

GUICtrlSetData(-1, "F1|F2|F3|F4|F5|F6|F7|F8|F9|F10")

$Arrows = GUICtrlCreateLabel("Arrows:", 8, 264, 39, 17)

$hotkey2 = GUICtrlCreateCombo("Hotkey", 48, 264, 65, 25)

GUICtrlSetData(-1, "F1|F2|F3|F4|F5|F6|F7|F8|F9|F10")

$Stop = GUICtrlCreateButton("Stop", 344, 264, 75, 25, 0)

$Group1 = GUICtrlCreateGroup("Group1", 216, 168, 241, 73)

$pGold = GUICtrlCreateCheckbox("Pickup Gold", 224, 184, 97, 17)

$pmet = GUICtrlCreateCheckbox("Pickup Meteors", 320, 184, 97, 17)

$pdb = GUICtrlCreateCheckbox("Pickup Dragonballs", 320, 208, 129, 17)

$pgem = GUICtrlCreateCheckbox("Pickup Gems", 224, 208, 97, 17)

GUICtrlCreateGroup("", -99, -99, 1, 1)

GUISetState(@SW_SHOW)

#EndRegion ### END Koda GUI section ###

While 1

$nMsg = GUIGetMsg()

Switch $nMsg

Case $GUI_EVENT_CLOSE

Exit

Case $Edit1

EndSwitch

WEnd

Please psot the working GUI thanks

Posted

ok, does anybody know why this isnt working.... please run it.... YES it is only the GUI, i have removed the program script atm.

CODE
#include <ButtonConstants.au3>

#include <ComboConstants.au3>

#include <EditConstants.au3>

#include <GUIConstantsEx.au3>

#include <StaticConstants.au3>

#include <StatusBarConstants.au3>

#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=

$CObot = GUICreate("CObot", 518, 316, 192, 116)

$StatusBar1 = _GUICtrlStatusBar_Create($CObot)

Dim $StatusBar1_PartsWidth[4] = [100, 220, 378, 463]

_GUICtrlStatusBar_SetParts($StatusBar1, $StatusBar1_PartsWidth)

_GUICtrlStatusBar_SetText($StatusBar1, "Current Version: 1", 0)

_GUICtrlStatusBar_SetText($StatusBar1, "Conquer Version:3055", 1)

_GUICtrlStatusBar_SetText($StatusBar1, "", 2)

_GUICtrlStatusBar_SetText($StatusBar1, "Loading: 100%", 3)

$Edit1 = GUICtrlCreateEdit("", 8, 8, 505, 113)

GUICtrlSetData(-1, StringFormat("Thank you for downloading COBot. To start the bot: \r\n1) Open [Conquer 2.0] \r\n2) Login\r\n3) Press the options button and change your screen resolution to 1024 * 768\r\n4) Fill in the setting boxes\r\n5) Press start. Go out and enjoy time with your friends and family and level your character at the same"))

$Start = GUICtrlCreateButton("Start", 432, 264, 75, 25, 0)

$Character = GUICtrlCreateLabel("Character name:", 8, 136, 82, 17)

$COname = GUICtrlCreateInput("", 96, 136, 114, 21)

$Areas = GUICtrlCreateCombo("Areas", 256, 136, 145, 25)

GUICtrlSetData(-1, "Pheonix Castle|Ape Mountain|Mine Cave|Desert City|Bird Island|Market")

$Area = GUICtrlCreateLabel("Area:", 224, 136, 29, 17)

$Monster = GUICtrlCreateLabel("Monster:", 8, 168, 45, 17)

$Combo1 = GUICtrlCreateCombo("Combo1", 56, 168, 145, 25)

GUICtrlSetData(-1, "Pheasant|Turtledove|Robin|Rock Monster|Apparition|Poltergeist||")

$HP = GUICtrlCreateLabel("HP pot:", 8, 200, 40, 17)

$Hotkey = GUICtrlCreateCombo("Hotkey", 48, 200, 65, 25)

GUICtrlSetData(-1, "F1|F2|F3|F4|F5|F6|F7|F8|F9|F10")

$Mana = GUICtrlCreateLabel("Mana pot:", 8, 232, 52, 17)

$hotkey1 = GUICtrlCreateCombo("Hotkey", 64, 232, 65, 25)

GUICtrlSetData(-1, "F1|F2|F3|F4|F5|F6|F7|F8|F9|F10")

$Arrows = GUICtrlCreateLabel("Arrows:", 8, 264, 39, 17)

$hotkey2 = GUICtrlCreateCombo("Hotkey", 48, 264, 65, 25)

GUICtrlSetData(-1, "F1|F2|F3|F4|F5|F6|F7|F8|F9|F10")

$Stop = GUICtrlCreateButton("Stop", 344, 264, 75, 25, 0)

$Group1 = GUICtrlCreateGroup("Group1", 216, 168, 241, 73)

$pGold = GUICtrlCreateCheckbox("Pickup Gold", 224, 184, 97, 17)

$pmet = GUICtrlCreateCheckbox("Pickup Meteors", 320, 184, 97, 17)

$pdb = GUICtrlCreateCheckbox("Pickup Dragonballs", 320, 208, 129, 17)

$pgem = GUICtrlCreateCheckbox("Pickup Gems", 224, 208, 97, 17)

GUICtrlCreateGroup("", -99, -99, 1, 1)

GUISetState(@SW_SHOW)

#EndRegion ### END Koda GUI section ###

While 1

$nMsg = GUIGetMsg()

Switch $nMsg

Case $GUI_EVENT_CLOSE

Exit

Case $Edit1

EndSwitch

WEnd

Please psot the working GUI thanks
#include <GuiStatusBar.au3>

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
×
×
  • Create New...