elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   Battle of the Immortals (https://www.elitepvpers.com/forum/battle-immortals/)
-   -   [Bot MOD]Battle of Immortals Bot (https://www.elitepvpers.com/forum/battle-immortals/615207-bot-mod-battle-immortals-bot.html)

Inathero 07/21/2011 01:06

damn, I guess I need to install x32 then, because x64 is a mean handicap =\

My420Time 07/21/2011 03:12

Quote:

Originally Posted by Inathero (Post 11882489)
damn, I guess I need to install x32 then, because x64 is a mean handicap =\

I am still doing it on x64 but it takes a slight bit more work. Stealth64 use to work just fine before SP1.

My420Time 07/21/2011 05:31

Just finished working on UseBagItems, it is once again active! Enjoy your crusade quests.

Inathero 07/21/2011 08:38

Quote:

Originally Posted by My420Time (Post 11883930)
Just finished working on UseBagItems, it is once again active! Enjoy your crusade quests.

OMG that's awesome :OO

Is it possible for you to PM me the function code for it in the dll? Or give me pointers on how to find that? Many thanks in advanced!!

My420Time 07/21/2011 08:51

Quote:

Originally Posted by Inathero (Post 11884660)
OMG that's awesome :OO

Is it possible for you to PM me the function code for it in the dll? Or give me pointers on how to find that? Many thanks in advanced!!


Well, I ran into an issue with it. I use to be able to call the function and just add in the index of what I want to cast. It looks like with my update I am only able to use the first item in your bag for now. Will go at it again in the morning to see if I can correct it to use your entire bag but I am tired now. XD

Inathero 07/21/2011 08:52

Well atlesat it's a damn good first step ^^. Go get some rest, you'll need it to recharge your brain juice to finish up that function tomorow XD

My420Time 07/21/2011 10:29

Quote:

Originally Posted by Inathero (Post 11884741)
Well atlesat it's a damn good first step ^^. Go get some rest, you'll need it to recharge your brain juice to finish up that function tomorow XD

Ended up not being able to sleep, so I got up and fixed it. This function is starting to piss me off. :P Anyway let me know if it is working everyone.

You should be able to use all items in your inventory now. Just wasted a ton of potions testing it to get it working. lol

boniedwa 07/21/2011 18:31

AntiVir 7.11.12.46 2011.07.21 TR/Dropper.Gen

My420Time 07/21/2011 18:32

Quote:

Originally Posted by boniedwa (Post 11890033)
AntiVir 7.11.12.46 2011.07.21 TR/Dropper.Gen

This is due to the authorization feature of the bot, if you don't trust me don't use it.

Inathero 07/21/2011 19:02

Quote:

Originally Posted by My420Time (Post 11885432)
Ended up not being able to sleep, so I got up and fixed it. This function is starting to piss me off. :P Anyway let me know if it is working everyone.

You should be able to use all items in your inventory now. Just wasted a ton of potions testing it to get it working. lol

Congrats =D.

My420Time 07/21/2011 19:10

Quote:

Originally Posted by Inathero (Post 11890781)
Congrats =D.

To be determined, it is working for some and not for others. All I can think of is that my registers are different since I am running x64 and they are possibly on x32.

Inathero 07/21/2011 19:12

are the registrars needed necessarily? isn't it just Push Offset Push 0 Push w.e., Call function? can't you do a Push All at the begining and then a Pop All after functions' done? or am I being dumb with my newby knowledge XD. Haven't took a look at the function, have no idea how it works XD

My420Time 07/21/2011 19:17

Quote:

Originally Posted by Inathero (Post 11891053)
are the registrars needed necessarily? isn't it just Push Offset Push 0 Push w.e., Call function? can't you do a Push All at the begining and then a Pop All after functions' done? or am I being dumb with my newby knowledge XD. Haven't took a look at the function, have no idea how it works XD

I am currently doing something like the asm code below. Going to see if I can find a different way to invoke it.

Code:


            mov eax, EAX_Offset    //Constant
            mov ecx, ECX_Offset    //Constant
            mov edx, EDX_Offset    //Changes everytime
            mov ebx, SlotIndex          //slot number
            mov esi,  ESI_Offset      //Changes everytime
            mov edi,  EDI_Offset

            push 1
            push SlotIndex        //slot number
            push 0                        //Something, but idk what
            push 0

            call [Function_Addr]


Inathero 07/21/2011 19:23

Maybe try a modification of SuneC's method?

Code:

SendPckStruct* pStruct = new SendPckStruct;
byte * CNetworkInputPtr = (byte*)(*(dword*)Mem->GetAddress("CNetworkInputPtr"));

                pStruct->header = 0x12;
                pStruct->zero = 0;
                pStruct->op = 0x426A;
                pStruct->opEx = 0x0000;
                pStruct->id[0] = 0x00;
                pStruct->id[1] = (byte)index;
                pStruct->id[2] = 0xFF;
                pStruct->id[3] = 0xFF;

                _asm {
                        PUSH pStruct
                        MOV ECX,CNetworkInputPtr
                        CALL SendPckFunctionPtr
                }

SendPckStruct:

Code:

struct SendPckStruct
{
        dword header;
        dword zero;
        word op;
        word opEx;
        byte id[4];
};

maybe replace

MOV ECX,CNetworkInputPtr

with

mov ecx, ECX_Offset

and see how it works?

tekc 07/22/2011 06:07

Quote:

Originally Posted by My420Time (Post 11891006)
To be determined, it is working for some and not for others. All I can think of is that my registers are different since I am running x64 and they are possibly on x32.

it works for me, for about 5 minutes or so, using any bag index, and then my game.exe crashes

win7 x64

autofollow works great, no problems there

good job with all this, keep up the good work :D


All times are GMT +2. The time now is 17:07.

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