GUI/Form Interface Bot

12/01/2010 02:36 niceone444#61
bro can you try to make auto route? :) thanks for bot bro

i want to bot while sleeping :)
12/01/2010 03:08 dumpersta#62
Well, I worked up a nice bunch of changes that improve the bot a TON for using in groups, but I apparently will have to fix the auto-updater for them to actually work.

One of the changes was that the bot would stop trying to attack things which you can target with TAB, but not actually attack (mostly escort NPCs, so the old man in Shadow Manor, the Tree in Lost Ruins..., but also Yggdrassil in World Tree Garden). I did find the memory which indicates this, but the address changes when I move to my other computer. Actually, the basic Auto-updater may not be enough, because the address even changes when I change between 2 clients on the same computer the address changes.

Even going through static pointers, it is different for each instance of game.exe that runs.



So, it is possible to have a smarter bot, but only if the bot is built a lot smarter as well.

Other random things in there are stopping the bot while you have chat active (so you can still talk without having to stop/restart), not trying to cast while silenced/stunned, stopping the bot while you are casting a spell with channeling time (which includes foraging, so checking the Ancient Coin in Spectre Island, casting revive on a Heretic, casting your mount, casting town portal...), stopping the bot while you are mounted....


Lots of small nice things to make it possible to leave the bot running while you play normally instead of just while you are AFK. If it weren't for the non-static memory locations, it would have been a very simple update...
12/01/2010 14:19 neutrall#63
Feature request, "Quest" menu again and fix targets... Bot atack all nearby target not this i select. Thanks!
12/01/2010 14:43 GrimmHold#64
Quote:
Originally Posted by chargebg View Post
Did you clicked the attack function from the run menu?
I hope u are joking ...

Btw bot is working fine for me now :) ... Thx
12/01/2010 15:24 Necromanced#65
Quote:
Originally Posted by niceone444 View Post
bro can you try to make auto route? :) thanks for bot bro

i want to bot while sleeping :)
Why don't you just set the bot up before you go to bed?

Edit: I've also noticed that after a period of time, I close the bot, and reopen it (whilst the client is still open, I don't restart that) and my character name doesn't come up until I restart the bot. I'm not sure if this has been mentioned before.
They've updated the BOI client but the bot still works, just thought I'd let you know.
12/01/2010 19:04 Fantasma81#66
1 thing i noticed is that using an high lvl char, and using 6-7 slot + the 1 for normal atk, sometimes or always, it forget 1 of the skill slot, and never use that skill at all... same happend for pet aoe...

it's just me that noticed this or some1 else have same problem?

Thx for the bot anyway, GJ
12/01/2010 19:44 dumpersta#67
Quote:
Originally Posted by Fantasma81 View Post
1 thing i noticed is that using an high lvl char, and using 6-7 slot + the 1 for normal atk, sometimes or always, it forget 1 of the skill slot, and never use that skill at all... same happend for pet aoe...

it's just me that noticed this or some1 else have same problem?

Thx for the bot anyway, GJ
Part of what messed up the bot that 420 put out was that all keypresses were put into a Queue. So if something was being spammed (pet potions, or real low cooldown skills), that Queue would get insanly long and so your actions would "lag" behind when they were supposed to happen.

So the downside of that was the possibility that pet potions spam out a ton, and frequently your skills wouldn't get used right when they were supposed to by cooldown.


With this faster version, the keypresses happen as soon as they are decided on (one of the decision factors being appropriate cooldown since last press). But the downside of THIS is that if you have a skill with a very low cooldown (Magus Frostburst and Fireball, at 3 and 5 seconds), it can prevent other skills from being used since it is almost always available when checked.

I made the attack skills sort by cooldown so that longer cooldown skills are used before shorter cooldown skills are checked, but you can still wind up in a situation where the bot simply cannot spam the keys fast enough to keep all skills active.
12/01/2010 22:27 GimmeYour$#68
Hope Looting feature and moving bot would be release
12/02/2010 01:54 dumpersta#69
Nobody will ever write a looting bot. Closest you will get is a bot that notices you don't have Heavenfeather buff active, and automatically buys one from the bonus shop and uses it for you.
12/02/2010 03:38 phantom23#70
hey dumpersta im a bit tired dealing with mfc for making a gui bot from the dll that i injected, had some problem, and i will need read more about that, so it will take some time. i will share u the functions for use the items and the auto route things with the current address, if that didnt change, i guess not, even after the last update the bot work with the same address.

Code:
void CPrueba::UseItem()
{
    int Function_Addr = 0x0057D4C0;
    __asm
    {
        mov eax, 0x00000000
        mov ecx, 0x011BB220
        mov edi, 0x011BB220
        
        push 1
        push 0                 //slot number
        push 0                //Something, but idk what

        call [Function_Addr]

    }

}

void CPrueba::UseMap()
{

    float X_Map_Coord = (100.0) * (float)(25.0/16.0);
    float Y_Map_Coord = (150.0) * (float)(25.0/16.0);

    int Function_Addr = 0x0071EB50;
    __asm
    {
        //magic stuff
        mov eax, 0x00EEDAE8
        mov ecx, 0x00EEDAE8
        mov edi, 0x011A3AA8

        push Y_Map_Coord
        Push X_Map_Coord     //float Y Coord
        Push 0x02            //Map Id
        Call [Function_Addr]
    }

}
check that mapid and slot index can be a var passed to the functions, u can update the dll with this. cya. good luck
12/02/2010 07:20 dumpersta#71
Thanks a ton, hadn't had time to go through all of Lena's Tutorials yet, so finding the proper values for the Calliburst wasn't going to happen soon for me :)
12/02/2010 19:48 ascipl#72
Why this new bot is using 100% of my procesor when i chose start in all of my 6 chars?Is this normal?
12/02/2010 20:05 dumpersta#73
Had a couple of issues along the way initially, but I have the autoroute and bag items working now :) Just have to write functions into the bot which use them in the ways I want them used and we will be rocking quite a few more nice features.


Still have to learn how the quest window suppression offsets were discovered so I can find and update those unfortunately, so till then the Bot can't do overnight Quests, but at least it is a bit better now.
12/02/2010 22:36 chargebg#74
Quote:
Originally Posted by dumpersta View Post
Had a couple of issues along the way initially, but I have the autoroute and bag items working now :) Just have to write functions into the bot which use them in the ways I want them used and we will be rocking quite a few more nice features.


Still have to learn how the quest window suppression offsets were discovered so I can find and update those unfortunately, so till then the Bot can't do overnight Quests, but at least it is a bit better now.
Will you upload the version with the auto-route soon m8?
12/02/2010 23:56 teddy2#75
works great with current version! cant get it to work with crusade quest though. tried dragging the scroll to the hotkey bar but failed xD