why i cant run it :( it just stuck after i start the bot :(
That's the main purpose of Starter, to monitor the status of Hellfire and Hero, to see if they get hung or disconnected. If either do, Starter shuts them down and restarts them back in the last working condition. If you were hunting, you start back hunting again as soon as the game is loaded. It's still a work in progress, so I haven't figured out all the quirks yet but I'm getting there 8^DQuote:
karraksc, Would it be possible for a copy of the source as I'm wanting to chance a few things and test out some thing (Both the correct source for hellfire and starter.
Also, do you know why every like 2 hours Hellfire.exe crashes
Look in the bot directory for a file called STARTING.FLG. If it's there, close down the Starter app and restart it. When it starts, it cleans up any of the progress flags (*.FLG files) it finds. I'm working on making a walk-thru showing how the Starter works and how to setup/use Hellfire.Quote:
why i cant run it :( it just stuck after i start the bot :(
an easy way is to rename the caption of each Hero as it is being started, like "Hero OnLine 01" and "Hero Online 02". Then have one bot run "01" and the other "02"Quote:
I understood that was supposed to be the main purpose of Starter but for me it doesn't restart it's hanging with a "Don't Send" popup (windows 7) next time it comes up im just going to make another autoit macro to automatically close it as an extra backup.
I can't try and get what I want working without the full source, I've spoken to Ax5 about a few things regarding multi-botting and the main thing is it needs to be able to do is distinquish between hero.exe (instance one) and hero.exe (instance two)
I've got 80% of the source for Starter.exe apart from the GUI details (reverse engineering it), Your source is safe with me just look my first post was a contribution all be it only minor and a pretty simple macro.
While 1 If WinExists("Hellfire Bot Program", "Close the program") Then WinActivate("Hellfire Bot Program") WinWaitActive("Hellfire Bot Program", "", 5) If WinActive("Hellfire Bot Program") Then ControlClick("Hellfire Bot Program", "Close the program", "[CLASS:Button; INSTANCE:1]") EndIf EndIf Sleep(100) WEnd
Starter.exe (single-thread) since it is a simple login and monitor app. Hellfire2.exe (6-threads) does a lot behind the scenes, too much for a single-thread app to handle. Right now, it runs based on interrupts tho I'm changing it over to run off of events. Starter and Hellfire2 are both written in Delphi.Quote:
I've been observing the bot and I am pretty sure that sure multiple threads would improve the bot dramatically but it's based in AutoIt so it can only do one thread at a time...
If you had lets say five executables running at the same time monitoring and doing four different parts of the bot it would be much more fluid and stable (safer for the character and faster)
1) Attacking & Skills
2) Life and chi
3) boxes
4) auto answer
5) other/misc
About right on the steps of the process but is handled by one line in Delphi in Starter. I don't need to monitor the window active status, or fuss with clicking on buttons, only check to see if the app is hung or errored out.Quote:
The starter looks at "Hero.exe" though for the memory hooks (I guess that is what it's doing) and I don't think renaming the captions will work because the anti-protection will close the bot.
I was running the following to get around the issue of the starter:
Good work as per usual :) keep it up.Code:While 1 If WinExists("Hellfire Bot Program", "Close the program") Then WinActivate("Hellfire Bot Program") WinWaitActive("Hellfire Bot Program", "", 5) If WinActive("Hellfire Bot Program") Then ControlClick("Hellfire Bot Program", "Close the program", "[CLASS:Button; INSTANCE:1]") EndIf EndIf Sleep(100) WEnd
I use Delphi because it can work with picklists easier than AutoIt, has more flexability in GUI design and does multi-threading/pointers easier. Plus, it can create DLL resource and program code units for faster running. CheatEngine is also coded in Delphi and I have included some of it's code and features into the bot to handle the memory pointers easily.Quote:
I see, I was wondering why you was running Delphi and Autoit.
If you did rename the window titles upon launch to 01/02 and then use their window name to get the processid then hook into each individual process it would work good. I don't think it would be all that hard to do.
Mate could you send me over some Pointers of the HP & Chi and stuff iam going to work with a new project for hero.Quote:
I use Delphi because it can work with picklists easier than AutoIt, has more flexability in GUI design and does multi-threading/pointers easier. Plus, it can create DLL resource and program code units for faster running. CheatEngine is also coded in Delphi and I have included some of it's code and features into the bot to handle the memory pointers easily.
AutoIt has it's advantages as well, especially when I'm testing out ideas. I can lay out ideas quickly and test how they work easily. Once I get it working smoothly in AutoIt, I can easily code the same routine into Delphi. Working with nested pointer calls takes extra steps in AutoIt that is easier/quicker to code in Delphi. And I have easy access to the AutoItX.DLL routines if I still need to use them.
If you have Charms of Return on the skilbar (F1-equals) it will send you to a safe spot so you can sell the items. I haven't finished the inventory routines yet so I haven't turned them on. When I do, the bot will save the items you mark to save, sell the rest to an NPC and then refill your pots.Quote:
when you use the bot , when the inventory is full why does the bot stop? can't it keep boting and pick up stuff while the inventory is full?
When that's done it will be pretty awesome, by the way have you been able to get the version i mentioned to you about near beta? Would be a great tool (especially if it can work even when window is minimised)Quote:
If you have Charms of Return on the skilbar (F1-equals) it will send you to a safe spot so you can sell the items. I haven't finished the inventory routines yet so I haven't turned them on. When I do, the bot will save the items you mark to save, sell the rest to an NPC and then refill your pots.
If you have no open slots in your inventory, the bot can only pick up stackable items (health/chi pots, food, gems, etc)
I'm having a few quirks with Dbase files using XE2, so I'm debating whether to write a new component for it or switch to a different database type for storage. Maybe SQLite or something like that.Quote:
When that's done it will be pretty awesome, by the way have you been able to get the version i mentioned to you about near beta? Would be a great tool (especially if it can work even when window is minimised)