Register for your free account! | Forgot your password?

You last visited: Today at 23:39

  • Please register to post and access all features, it's quick, easy and FREE!

 

My BOT Contribution...

Closed Thread
 
Old   #511
 
elite*gold: 0
Join Date: Jul 2009
Posts: 170
Received Thanks: 6
why i cant run it it just stuck after i start the bot



Chami is offline  
Old   #512
 
elite*gold: 0
Join Date: Jun 2008
Posts: 428
Received Thanks: 289
Quote:
Originally Posted by Hyflex View Post
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
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^D

As for the complete source, not possible with the current version. Too many things I'm still developing that are not completed yet. Post some of your working designs and I'll see if I can send you sections that might help with your development, or suggestions on working around things you might be having trouble with. What you discover as you work on your design can prove interesting.

The biggest help I got on getting this working have come from Schlat, Chami, Shishi, Ax5 and others tossing ideas around in here, and finding solutions from there. Seeing how their ideas worked and looking for solutions to ones that didn't work. That's the fun of learning, and the challenge.

Quote:
Originally Posted by Chami View Post
why i cant run it it just stuck after i start the bot
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.

The Starter idea is still being developed, so it does have quirks 8^D But I'm working on smoothing them out.


karraksc is offline  
Thanks
1 User
Old   #513
 
elite*gold: 0
Join Date: Feb 2012
Posts: 22
Received Thanks: 5
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.
Hyflex is offline  
Old   #514
 
elite*gold: 0
Join Date: Jul 2009
Posts: 170
Received Thanks: 6
ok i can run it but why dont the bot spam the skills? 1 skill every 10 sec or so :/...


Chami is offline  
Old   #515
 
elite*gold: 0
Join Date: Feb 2012
Posts: 22
Received Thanks: 5
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
Hyflex is offline  
Old   #516
 
elite*gold: 0
Join Date: Jun 2008
Posts: 428
Received Thanks: 289
Quote:
Originally Posted by Hyflex View Post
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.
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"

I've added in a routine to the Starter to handle the "Don't Send" problem, as well as hiding the password. I had it visible while testing and hadn't added in the "hide" char yet. The new Starter will be put up for download this evening.
karraksc is offline  
Old   #517
 
elite*gold: 0
Join Date: Feb 2012
Posts: 22
Received Thanks: 5
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:
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
Good work as per usual keep it up.
Hyflex is offline  
Thanks
1 User
Old   #518
 
elite*gold: 0
Join Date: Jun 2008
Posts: 428
Received Thanks: 289
Quote:
Originally Posted by Hyflex View Post
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
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.

AutoIt can do multi-threads, I only use it to test out ideas before putting them into code in Delphi. Look at the CoProc.au3 unit, as a good example.

Quote:
Originally Posted by Hyflex View Post
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:
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
Good work as per usual keep it up.
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.
karraksc is offline  
Old   #519
 
elite*gold: 0
Join Date: Feb 2012
Posts: 22
Received Thanks: 5
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.
Hyflex is offline  
Old   #520
 
elite*gold: 0
Join Date: Jun 2008
Posts: 428
Received Thanks: 289
Quote:
Originally Posted by Hyflex View Post
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.
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.
karraksc is offline  
Old   #521
 
elite*gold: 0
Join Date: May 2009
Posts: 1,047
Received Thanks: 468
Quote:
Originally Posted by karraksc View Post
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.
Mate could you send me over some Pointers of the HP & Chi and stuff iam going to work with a new project for hero.

Best AX5
ax5 is offline  
Old   #522
 
elite*gold: 0
Join Date: Jan 2010
Posts: 8
Received Thanks: 0
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?
DavidDj4 is offline  
Old   #523
 
elite*gold: 0
Join Date: Jun 2008
Posts: 428
Received Thanks: 289
Quote:
Originally Posted by DavidDj4 View Post
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?
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)
karraksc is offline  
Thanks
2 Users
Old   #524
 
elite*gold: 0
Join Date: Feb 2012
Posts: 22
Received Thanks: 5
Quote:
Originally Posted by karraksc View Post
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)
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)
Hyflex is offline  
Old   #525
 
elite*gold: 0
Join Date: Jun 2008
Posts: 428
Received Thanks: 289
Quote:
Originally Posted by Hyflex View Post
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)
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.


karraksc is offline  
Closed Thread



« Previous Thread | Next Thread »

Similar Threads
contribution points
hi guys i need your help i will get in my char more contribution points can you tell me we can i get more cpt about wpe i hope of your interisting...
2 Replies - RF Online
A Small Contribution
Since I am pretty crap at scripting, hacking and generally life :p I can't contribute a great deal to this community in those terms, but I do...
8 Replies - Lin2 Exploits, Hacks, Bots, Tools & Macros
My first contribution
I was just thinking that on my server Meteor tears sell for around 750 k, So i was just thinking that you could keep on trading someone and then...
2 Replies - CO2 Exploits, Hacks & Tools
My contribution...
Ok, all you have to do is always click on the same box and you have a greater chance at socs. This isnt luck, it's statistics. Think about real...
16 Replies - CO2 Main - Discussions / Questions
Contribution
Alright as u can see im a "non contributor" and ill admit i mostly dl shit BUT reason being is I R NOOB:P like im still in highschool grade 11 and im...
4 Replies - CO2 Main - Discussions / Questions



All times are GMT +1. The time now is 23:39.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.