Quote:
Originally Posted by Ieuan Hutchy
Im getting this problem quite alot. The program doesnt pick up my characters name, or even acknowledge that GW is open. This means that the bot doesnt run for me. Is there any way to fix this?
|
Besides running GW in admin and compiling the script (x86) then running that in admin you can change how the bot initalizes. Kilroy Stonekin and Random Laugh are good examples of what is typical for bots that only make use of GWA and not additional files like GWAddOns, Inventory and many others. These are the only ones I really mess with. I believe there were bots outdated enough to only run with older version of AutoIt, but I could be wrong and have not come across one yet.
Code:
Else
Out("Initializing...")
Local $CharName = GUICtrlRead($CharInput)
If $CharName == "" Then
If Initialize(ProcessExists("gw.exe"),True,True) = False Then
MsgBox(0, "Error", "Guild Wars is not running.")
Exit
EndIf
Else
If Initialize($CharName,True,True) = False Then
MsgBox(0, "Error", "Could not find a Guild Wars client with a character named '" & $CharName & "'")
Exit
EndIf
EndIf
GUICtrlSetState($RenderingBox, $GUI_ENABLE)
GUICtrlSetState($CharInput, $GUI_DISABLE)
GUICtrlSetData($StartButton, "Pause")
$BotRunning = True
$BotInitialized = True
SetMaxMemory()
EndIf
This way works very well in my opinion.
Quote:
Originally Posted by tolerantfox
Thanks for contributing to this thread.
|
You're welcome, thanks for compiling these together.