Register for your free account! | Forgot your password?

You last visited: Today at 00:24

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

Advertisement



My BOT Contribution...

Discussion on My BOT Contribution... within the General Gaming Discussion forum part of the General Gaming category.

Closed Thread
 
Old 02/15/2012, 12:08   #511
 
elite*gold: 0
Join Date: Jul 2009
Posts: 170
Received Thanks: 7
why i cant run it it just stuck after i start the bot
Chami is offline  
Old 02/15/2012, 13:08   #512
 
karraksc's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 447
Received Thanks: 296
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 02/15/2012, 19:41   #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 02/15/2012, 20:32   #514
 
elite*gold: 0
Join Date: Jul 2009
Posts: 170
Received Thanks: 7
ok i can run it but why dont the bot spam the skills? 1 skill every 10 sec or so :/...
Chami is offline  
Old 02/15/2012, 20:53   #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 02/15/2012, 21:39   #516
 
karraksc's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 447
Received Thanks: 296
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 02/15/2012, 21:50   #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 02/15/2012, 22:45   #518
 
karraksc's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 447
Received Thanks: 296
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 02/16/2012, 12:02   #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 02/17/2012, 06:51   #520
 
karraksc's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 447
Received Thanks: 296
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 02/19/2012, 18:30   #521
 
ax5's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 1,050
Received Thanks: 472
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 03/07/2012, 06:20   #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 03/07/2012, 06:55   #523
 
karraksc's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 447
Received Thanks: 296
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 03/07/2012, 17:03   #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 03/09/2012, 02:40   #525
 
karraksc's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 447
Received Thanks: 296
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


Similar Threads Similar Threads
contribution points
07/15/2009 - RF Online - 2 Replies
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 answers thx Alex
A Small Contribution
05/10/2008 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 8 Replies
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 appreciate the time spent by the gurus to upload and spend time writing guides for us thickos. Anyways I gathered together some sounds that can be used for l2 walkers, just general sound alerts, nothing to fancy, but I quite like em while I'm botting and doing something else at comp. MEGAUPLOAD - The leading online storage and file delivery service...
My first contribution
07/25/2007 - CO2 Exploits, Hacks & Tools - 2 Replies
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 Propose to them and it might take a while but it might be a good way to make millions a day since you get a meteor tear when somone divorces from you.
My contribution...
04/01/2007 - Conquer Online 2 - 16 Replies
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 life lottories (not scratch off). People pick certain numbers and always play them, why? Because it's a hell of a bigger chance to keep trying the same number and hoping it wins then trying to pick random numbers each week and hoping it hits. If you have basic C++ knowledge then make a program that simulates a 6 number lottory system with...
Contribution
01/24/2007 - Conquer Online 2 - 4 Replies
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 just STARTING to get into like C++ coding next semester and like im just curious as to how ppls learned to code:) for example college, took shops on it, even just highschool. I DONT need how old u r:P im just curious cus i obviously CANT contribute if im not skilled enough yet but once i am watch outXD. ANYWAYS feedback would be nice^^ liek i said...



All times are GMT +1. The time now is 00:24.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.