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

01/08/2011 02:16 Inathero#61
By the way, just though of this while leveling my friend up on a poseidon with bot on, Since I already have a few chat values, i can add a chat function to bot. Aka bot displays messages on itself. you can then type on the bot your message and press enter. bot writes message in the ingame chat and sends to friend. it's like having the ingame chat, not ingame. My next addition to bot =)
01/08/2011 03:57 SpeedWind#62
I suggest create auto back spot and auto follow leader :D
01/08/2011 07:22 Inathero#63
Quote:
Originally Posted by SpeedWind View Post
I suggest create auto back spot and auto follow leader :D
Auto back spot? What you mean by that?

And for auto follow leader, working on that, will probably need some sort of injected dll or special write memory but we'll see

--------------

Edit: As for the chat bot thing, If possible, can someone gimme a link to a BoI Game.exe file that has the anti-debugging removed? If its removed I can probably finish this, until then I can not ='(
01/08/2011 10:46 SuneC#64
Quote:
Originally Posted by Inathero View Post
Auto back spot? What you mean by that?

And for auto follow leader, working on that, will probably need some sort of injected dll or special write memory but we'll see

--------------

Edit: As for the chat bot thing, If possible, can someone gimme a link to a BoI Game.exe file that has the anti-debugging removed? If its removed I can probably finish this, until then I can not ='(
If you're on x86, use StrongOD plugin for Olly with all options enabled. If you're on x64 you may possibly need OllyAdvanced plugin with x64 compatibility ticked and then you may only be able to attach to the process - not launch it.
I suggest using Analyze This! plugin for cutting down the analysation time of the main module.

Instead of using an injected DLL, why not give remote procedure calls a go? The code for FollowPlayer is:
Code:
void* pFunction = (void*)0x4F1C10;
_asm
{
	PUSH playerId
	MOV ECX,0xEEECD8
	CALL pFunction
}
Of course constants are subject to change on update (though far from on every update).
01/08/2011 20:03 Inathero#65
Quote:
Originally Posted by SuneC View Post
If you're on x86, use StrongOD plugin for Olly with all options enabled. If you're on x64 you may possibly need OllyAdvanced plugin with x64 compatibility ticked and then you may only be able to attach to the process - not launch it.
I suggest using Analyze This! plugin for cutting down the analysation time of the main module.

Instead of using an injected DLL, why not give remote procedure calls a go? The code for FollowPlayer is:
Code:
void* pFunction = (void*)0x4F1C10;
_asm
{
	PUSH playerId
	MOV ECX,0xEEECD8
	CALL pFunction
}
Of course constants are subject to change on update (though far from on every update).
awesome! Thanks Alot! will definately look into this ^^
01/08/2011 20:10 SuneC#66
Quote:
Originally Posted by Inathero View Post
awesome! Thanks Alot! will definately look into this ^^
Remember that you have to copy this code into the BoI client (define a function with this and a RETN at the end - remember to set the project property compiler option that does not remove unreferenced functions). And then spawn a thread on it.
01/08/2011 20:17 Inathero#67
Quote:
Originally Posted by SuneC View Post
Remember that you have to copy this code into the BoI client (define a function with this and a RETN at the end - remember to set the project property compiler option that does not remove unreferenced functions). And then spawn a thread on it.
Yep, already know that, but thanks =)
01/09/2011 08:18 Inathero#68
Didn't have time to do any work with bot today so =\

Prob same tomorow

And the people who are testing my bot, they can't start it and are getting the most weirdest errors I ever saw.

One got

ERROR_DIR_NOT_ROOT
144 (0x90)

and the other got

ERROR_CANNOT_FIND_WND_CLASS
1407 (0x57F)

No Idea how they got those errors, since I had no problem on my two comps and my friend had 0 issues as well.

Guy with error 1407, tried numerous things, nothing worked, then gave him a list of things to do (that I believe would fix it) he hasn't answered in like 2-3 days

other guy with 144, told him to move it to C:\ and see if that works, had no idea what else to do, no response in 2 days.

Dunno wtf is going XD

So I'm just gonna do a public release. No doubt the leechers on this forum will post feedback saying what doesn't work or what not so yay.

Also gonna stop adding features for the time being (even though its fun as hell to add features). Instead gonna focus on making the trainer as stable as possible. Once it becomes super reliable, going to the next stage.

So yea, gonna release sometime later today. maybe 1-2 hours.

Atm the features that are there but apparently don't work / didn't test them yet:
  • Enable Tree of Life Seed (not tested)
  • Disconnect when HP is dangerously low (doesn't work, actually died on an AFK)
  • (Heretic) User party heal etc. (probably works, didn't test with alt yet)

features that worked but I broked
  • Crusader/Poseidon quests (counter and "don't attack lords" work, just the Input box has some char issues. 30 min of debugging will fix)

And thats about it. Bot is NOT TESTED on PH server. Works fine on International, Abyss server (probably all other servers on International)
01/09/2011 09:25 tehrzky#69
i think this function is really useful on bot and should have one of this if possible

RED - BOIGB function (Working)
BLUE - BOIGB function (Bug,Sometimes Not Working)

-Auto Attack
-Auto Loot
-Auto Pots
-Delete Items
-Quick Change Realm
-Coordinates (Point,Diamond and No Return)
-Force Follow Leader/Player (Follow Function on BOI sucks)
-Auto Quest Poseidon Bag (Solo/Party Ingame Counter)
-Buffs
-Attack Only Selected Enemy (not mobs around you ex. lord,dragon,evil explorer)
-Function can manually turn On/Off (Auto Attack,Heal,Quest,Loot etc)
-Chat (Ray,Moving text)
-Party GUI (HP,MP,Name,Realm on top of all window very usefull while your Surfing Net and your BOI is minimize)
-Skills (8 Function)


and i hope we can use your Bot on PH server ^^


-------------------------------

Enable Tree of Life Seed (not tested)? can we use TOL Seed anywhere?:)


tnx... we are waiting for the 1st release of your bot..
01/09/2011 09:34 Inathero#70
Quote:
Originally Posted by tehrzky View Post
i think this function is really useful on bot and should have one of this if possible

RED - BOIGB function (Working)
BLUE - BOIGB function (Bug,Sometimes Not Working)

-Auto Attack - Done
-Auto Loot - Done
-Auto Pots - Done
-Delete Items
-Quick Change Realm
-Coordinates (Point,Diamond and No Return)
-Force Follow Leader/Player (Follow Function on BOI sucks)
-Auto Quest Poseidon Bag (Solo/Party Ingame Counter)
-Buffs - done
-Specific Mobs Attack the mobs according to their name (not mobs around you ex. lord,dragon,evil explorer) - done, but bugged. my mistake, will fixed easily
-Function can manually turn On/Off (Auto Attack,Heal,Quest,Loot etc) - done
-Chat (Ray,Moving text) - working
-Party GUI (HP,MP,Name,Realm on top of all window very usefull while your Surfing Net and your BOI is minimize) - all done except top of all window
-Skills (8 Function) - done? same thing as attack and buffs


and i hope we can use your Bot on PH server ^^


-------------------------------

Enable Tree of Life Seed (not tested)? can we use TOL Seed anywhere?:)


tnx... we are waiting for the 1st release of your bot..

Edited post on stuff i did and not

Tree of life = afk tree of life, uses seed, 60 minutes later uses next., etc.

Why is everyone on PH server? I don't get it...
01/09/2011 09:55 Inathero#71
Alright. Bot added to first page of thread. please post feedback.

For some reason, another one of my testers got a error 1407 again. I dunno why the hell he's getting that

I tested three computers at home, no issues at all. I gave it to my friend, he tested two other computers, no error 1407 and it works perfectly.

Maybe local is the issue? All my testers are requesting PH bot and this is INT bot so maybe that's the issue? no idea.

Anyways hope it works for you =)

If it doesn't work, please post what OS you're using and what server (PH, INT) you usually play on.
01/09/2011 11:12 SpeedWind#72
What is this? =(

EDIT: OS Windows XP
01/09/2011 11:52 jepher#73
same error..
01/09/2011 12:28 crs_1208#74
Hhandle not found? HWND not found? im getting this error?

can you please help?

BOI Philippines (PH) here.. thanks!

using windows 7 64 bt here..
01/09/2011 12:53 tehrzky#75
Quote:
Originally Posted by Inathero View Post
Edited post on stuff i did and not

Tree of life = afk tree of life, uses seed, 60 minutes later uses next., etc.

Why is everyone on PH server? I don't get it...
because its new game here in the philippines.....


thnx... i hope your bot is working on my pc and ph server... downloading now

---------
Hhandle / HWND not found i got this error...
---------