Quote:
Originally Posted by Shishidump
But it is written in AutoIt, or?
In Autoit my known is it @ScriptDir or is this false?
Windows 7 64Bit
Having again the problem :
|
The Starter reads it's own path and stores it's path in a mem variable (%botpath%). When
%botpath% is empty, it looks at the default path (C:\Windows\System32) for the .INI file. I get the same problem if I tell the Starter shortcut to to run from a virtual machine (VMWare) since it wants to start up Startgame.exe from the windows directory instead of the bot directory.
C:\windows\system32\startgame.exe
instead of
c:\hellfire\startgame.exe
(or wherever you have the bot files located)
Startgame is written in AutoIt, to handle the webpage login and the game login, compiled as a 32-bit app. This is a test app for handling logins until I can get the quirks worked out of the Delphi routines. It basically duplicates the login routines I currently have in the bot, plus the webpage login routines.
Starter basically handles the user entry, character selection, monitors the game for disconnects and displaying the bot info webpage.
Try creating a batch file to start Startgame.exe and see if it gives you the same problem :
@echo off
startgame.exe <username> <password> <-- sub your info here
It reads the server and char selection from the .ini file. Also, if STARTING.FLG is present, Startgame.exe will not run (a flag to stop two copies of Startgame from running at the same time) If it is present, simply delete starting.flg and try running Startgame.exe again.
I'll send you a PM with a link to the source for Startgame.