[C++] Some help on adding a few feature to my bot

01/09/2011 19:57 Inathero#76
@crs_1208 and @tehrzky

Lucky for you two, thats an error easily solved.

Just rightclick the trainer and run as administrator ^^ Forgot to add that, was about 2-3 am in the morning when I posted trainer.

Also make sure that the game file is "Game.exe" not "game.exe" (if you changed it for another bot)

@Speedwind

Well this is really bad. The only way you'll see a messagebox with an error number in it means that the program couldn't "open up" and show the dialog that's in the first post. Usually that box gives a greater number than 0 which tells what error it is (1407 is one such number)

0 = No errors. Which is not true since Dialog didn't appear and you got that instead.

I think, because this is compiled in Visual Studio 2010, that XP isn't supported, I hope not, Dunno really =\

@jepher

what error? the HWND not found one or "0" one that I can't solve =\
01/09/2011 20:20 Inathero#77
@XP users

XP: DialogBox(...) returns -1 [GetLastError()=0] if controls are not registered with InitCommonControls();

Ofcourse I didn't do that, since i'm not on XP and wasn't aware XP needed that extra set

Updated trainer on first page, download and see if it works now Speedwind and XP users
01/10/2011 00:06 jagu#78
Bot works fine on Windows 7 64-BIT. Thanks! I haven't tested all the functions yet, but i will post back soon xD

EDIT: Sorry to say the bot doesn't work when i actually went to train on a MOB i get this error after 3 seconds of starting the bot. O.o
[Only registered and activated users can see links. Click Here To Register...]
01/10/2011 00:42 Inathero#79
Quote:
Originally Posted by jagu View Post
Bot works fine on Windows 7 64-BIT. Thanks! I haven't tested all the functions yet, but i will post back soon xD
wooot!! Thanks for someone at elitepvper's that can run the bot XD

Features that haven't been tested is:
  • Tree of Life Seed
  • (Heretic) Party heal

Features that don't work:
  • Disconnect when HP is Dangerously low

Features that are semi-broken:
  • Use Pet potion (feature works find if pet's out. if pet died during battle and is no longer out, it thinks hp is 0 and spams potion. will fix)
  • Crusader/Poseidon Quest Enemy Name Targeting (Works for Snowman, or enemies without the -LV indictator. just trainer character error, will fix later to recognise enemies without -LV and with -LV)

Hope you enjoy =)

Just did three runs with bot on (with me manually moving to next area though). 0 issues =3
01/10/2011 01:01 jagu#80
Quote:
Originally Posted by Inathero View Post
wooot!! Thanks for someone at elitepvper's that can run the bot XD

Features that haven't been tested is:
  • Tree of Life Seed
  • (Heretic) Party heal

Features that don't work:
  • Disconnect when HP is Dangerously low

Features that are semi-broken:
  • Use Pet potion (feature works find if pet's out. if pet died during battle and is no longer out, it thinks hp is 0 and spams potion. will fix)
  • Crusader/Poseidon Quest Enemy Name Targeting (Works for Snowman, or enemies without the -LV indictator. just trainer character error, will fix later to recognise enemies without -LV and with -LV)

Hope you enjoy =)

Just did three runs with bot on (with me manually moving to next area though). 0 issues =3
Sorry to say the bot doesn't work when i actually went to train on a MOB i get this error after 3 seconds of starting the bot. O.o I used it on BOI International, Abyss server.
[Only registered and activated users can see links. Click Here To Register...]
01/10/2011 01:03 Inathero#81
oh man, my bad my bad my bad. Had a message box in Attack Slot #5 to test something, completly forgot to remove it XD

gonna attach updated trainer in first post

----------

Version 3 attached to first post

Edit: There should be no more pointless messagebox's in the program XD
01/10/2011 01:30 Inathero#82
Quote:
Originally Posted by Inathero View Post
Features that haven't been tested is:
  • Tree of Life Seed
  • (Heretic) Party heal

Features that don't work:
  • Disconnect when HP is Dangerously low

Features that are semi-broken:
  • Crusader/Poseidon Quest Enemy Name Targeting (Works for Snowman, or enemies without the -LV indictator. just trainer character error, will fix later to recognise enemies without -LV and with -LV)
Updated list. fixed pet potions. Will not try to heal pet if pet is not summoned.

Now working on enemy filter.
01/10/2011 01:53 Inathero#83
Apparently enemy filter works. Didn't notice that XD Dumb me.

So just need to test the two features, make Disconnect work. and listen to feedback.
01/10/2011 02:55 jepher#84
question..

what if i place the buff on the attack slot settings..will the bot use it again and again after the cooldown? or their is a delay timer in the bot?
01/10/2011 03:04 Inathero#85
Quote:
Originally Posted by jepher View Post
question..

what if i place the buff on the attack slot settings..will the bot use it again and again after the cooldown? or their is a delay timer in the bot?
will add cooldowns later. will be alot of copy pasta and thats boring.

In short:

Q: what if i place the buff on the attack slot settings..will the bot use it again and again after the cooldown

A: Yes

Q: or their is a delay timer in the bot?

A: no, comming soon.
01/10/2011 03:41 Inathero#86
Quote:
Originally Posted by jepher View Post
question..

what if i place the buff on the attack slot settings..will the bot use it again and again after the cooldown? or their is a delay timer in the bot?
In addition to that, once I start working on that, the "Attack Slots" will be renamed to "Function Slots" or something, dunno. Will have the first 4 slots to be attack (say 500 miliseconds wait per) and last 4 slots to be buffs (1 second + etc). ofcourse all customizable
01/10/2011 04:24 tehrzky#87
lolz.... inathero... "Make sure your Game.exe not game.exe something like.. that.." this one solved my problem to start this bot.... very nice indeed... haha^_^ tnx for updating


edit:

its only selecting enemy and doing nothing..
01/10/2011 04:26 Inathero#88
Quote:
Originally Posted by tehrzky View Post
lolz.... inathero... "Make sure your Game.exe not game.exe something like.. that.." this one solved my problem.. very nice indeed... haha^_^ tnx for updating
No problem =) In the near future I'll have it work with Game.exe and game.exe :P
01/10/2011 04:31 SpeedWind#89
Bot not working properly in BOI PH =(

All Features not working =(
01/10/2011 04:36 Inathero#90
Quote:
Originally Posted by SpeedWind View Post
Bot not working properly in BOI PH =(
Wasn't created for PH so guess not =\

I don't have a PH BoI to get values off of so shrugs, best go with International version