[Bot MOD]Battle of Immortals Bot

08/05/2010 20:35 My420Time#496
Quote:
Originally Posted by zlost1 View Post
ya mine too. bot crashes after about 1 to 2 hours
Useless post unless you post the error you get.
08/05/2010 20:56 rulic#497
Quote:
Originally Posted by KyRoN View Post
Latest version of the bot (BOIGB - Bot - 08.04.2010) still works flawlessly after 2 hours of botting, nice job My420Time.

Now i have a question about the quests tab that is disabled, i understand that it's because Caliburst doesn't work well.

In the meantime i am using an auto mouse clicker, basically i have my bags opened at all time, recorded the coords of the quest scrolls and the done button, entered a timer, like 8 minutes, and then leave it overnight.

When i wake up all my scrolls have been used and i'm filled with Knight medals for example.

I was wondering if, since Caliburst wasn't working, this method could be implemented in the bot itself ?
what auto mouse clicker are you using??
08/05/2010 21:44 My420Time#498
Quote:
Originally Posted by rulic View Post
what auto mouse clicker are you using??
I am not using a program. I am using C# to do all the emulation. You can see the code below to see how I am attempting it.


Code:
public void CrusadeClick()
        {
            // Call the imported function to click
            //  right now it doesn't click anywhere.
            //  It is using the left button down
            //  and then up.
            DebugMsg("Atempting to do crusade click");
            BoI_HitButton(Keys.B);
            Thread.Sleep(9000);
            BoI_Click(871, 230, false);
        }

        public void BoI_Click(int x, int y, bool LeftClick)
        {
            HomeGrown.UserSim.MouseClick(LocalGlobals.BIO_Process.MainWindowHandle, LeftClick , x, y);
        }
Code:
public static void MouseClick(IntPtr hWnd, bool LeftButton, int x, int y)
        {
            //input
            //mousemove
            //GETTITLEBARINFOEX
            int wParam = (int)MK.LBUTTON; // Additional parameters for the click (e.g. Ctrl)
           // int lParam = ((y << 16) | x); // The coordinates
            int lParam = MakeLParam(y, x);
            

            if (LeftButton)
            {
                PostMessage(hWnd, (uint)WM.LBUTTONDOWN, wParam, lParam);//clicks down
                wParam = 0;
                PostMessage(hWnd, (uint)WM.LBUTTONUP, wParam, lParam);//clicks up
            }
            else
            {
                PostMessage(hWnd, (uint)WM.RBUTTONDOWN, wParam, lParam);//clicks down
                PostMessage(hWnd, (uint)WM.RBUTTONUP, wParam, lParam);//clicks up
            }
        }

        /// <summary> 
        /// MakeLParam Macro 
        /// </summary> 
        public static int MakeLParam(int LoWord, int HiWord)
        {
            return ((HiWord << 16) | (LoWord & 0xffff));
        }
08/06/2010 00:57 cr4zykid#499
(1:6:37) Connected to Caliburst IPC Server.
(1:6:37) Bot Loaded Fine.


(1:16:15) Target Filter: Gold Sandman-LV77
(1:16:23) Target Filter: Flaming Sandman-LV79
(1:17:12) Target Filter: Evil Adventurer
(1:17:33) Coordinates: X: 124, Y: 60
(1:17:58) Debug view is enabled.

. . .

(1:44:47) Attack Thread: Normal Attack pressed
(1:44:49) Attack Thread: Pet AoE #1 cast.
(1:44:50) Target Found but not in filter. Tabbing.
(1:44:51) NO TARGET!: 46 (Health: 21542)
(1:44:51) Attack Thread: Found Target.
(1:44:51) Target Found but not in filter. Tabbing.
(1:44:52) Attack Thread: Normal Attack pressed
(1:44:52) Target Found but not in filter. Tabbing.
(1:44:55) Target Found but not in filter. Tabbing.
(1:44:55) Target Found but not in filter. Tabbing.
(1:44:56) Timed Buttons Thread: Using Button #1.
(1:44:56) Target Found but not in filter. Tabbing.
(1:44:59) Target Found but not in filter. Tabbing.
(1:45:0) Mob Targetted but not fighting or dieing slower than others. - Attack Key( D1)
(1:45:1) NO TARGET!: 47 (Health: 21542)
(1:45:3) Attack Thread: Found Target.
(1:45:13) Attack Thread: Normal Attack pressed
(1:45:15) Attack Thread: Button #2 Pressed.
(1:45:18) NO TARGET!: 48 (Health: 21542)
(1:45:18) Timed Buttons Thread: Using Button #1.
(1:45:19) NO TARGET!: 49 (Health: 21542)
(1:45:20) NO TARGET!: 50 (Health: 21542)
(1:45:21) NO TARGET!: 51 (Health: 21542)
(1:45:22) NO TARGET!: 52 (Health: 21542)
(1:45:23) NO TARGET!: 53 (Health: 21542)
(1:45:24) NO TARGET!: 54 (Health: 21542)
(1:45:25) NO TARGET!: 55 (Health: 21542)
(1:45:26) NO TARGET!: 56 (Health: 21542)
(1:45:27) NO TARGET!: 57 (Health: 21542)




Windows 7 died after 30 mins....
Problem Event Name: CLR20r3
Problem Signature 01: boigb.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 4c5a39c9
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.0.0
Problem Signature 06: 4ba1da6f
Problem Signature 07: 3dab
Problem Signature 08: 1f4
Problem Signature 09: System.IO.IOException
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
08/06/2010 01:07 jagu#500
I hope you fixed the bug where the Debug file would record everything you do and after botting for 6 hours... i ended up with a 11GB TEXT file. I had the Debug option disabled... but still :/ . At first i thought i had a virus or something because BOI would start lagging like crazy and Crash my computer soon after.
08/06/2010 06:00 istorage#501
yeah just found out that thing too. The txt file has eaten a lot of disk space. Hope it could be fixed soon.
08/06/2010 07:14 LemoniscooL#502
hi first of all really nice bot, havent seen anything working like this for a long time!

I would suggest an extra "Save Config" Button which saves the config in addition to saving when the bot gets closed, i like save buttons =P

Oh and as jagu already noticed saving the log to a file is not always neccassary, what about adding a Checkbox wether to save it to a File or not?

//Edit:
and i noticed that sometimes the bot pulls 2 or 3 mobs at a time .. as far as i could see the Tab control is sent too quickly between filter check and attack maybe you should increase the delay a bit cuz this could make the bot attack a Lord if its boting next to it (thats what just happened to me xD) and you should check the mob filter too .. seems like it is somehow skipping some mobs even if they are in the filter

greetz
08/06/2010 08:30 zlost1#503
i seriously am giving up on this game, the bot, and windows in general. going back to linux permanently. give me a ring if you want to buy a lvl 78 brz on atlantis
08/06/2010 10:34 happybotter#504
Quote:
Originally Posted by LemoniscooL View Post
hi first of all really nice bot, havent seen anything working like this for a long time!

I would suggest an extra "Save Config" Button which saves the config in addition to saving when the bot gets closed, i like save buttons =P

Oh and as jagu already noticed saving the log to a file is not always neccassary, what about adding a Checkbox wether to save it to a File or not?

//Edit:
and i noticed that sometimes the bot pulls 2 or 3 mobs at a time .. as far as i could see the Tab control is sent too quickly between filter check and attack maybe you should increase the delay a bit cuz this could make the bot attack a Lord if its boting next to it (thats what just happened to me xD) and you should check the mob filter too .. seems like it is somehow skipping some mobs even if they are in the filter

greetz
I feel the bot kinda delay (animation or delay?). too be honest, its just too obvious when we boting :D.
08/06/2010 10:57 LemoniscooL#505
Quote:
Originally Posted by happybotter View Post
I feel the bot kinda delay (animation or delay?).
umm .. what? i dont understand what you mean by this xD
08/06/2010 11:11 happybotter#506
Quote:
Originally Posted by LemoniscooL View Post
umm .. what? i dont understand what you mean by this xD
switch/tabbing mobs... i dunno izzit the bot have delay or animation delay.
but my point is= still look obvious boting.
08/06/2010 12:20 NePy0#507
EDIT
I got problem when i start bot. Value of '290578' is not valid fo 'Value'. 'Value' should be between 'minimum' and ' maximum'
Parameter name'Value'.

IDK what thats mean.
I got everythink set good.

P.S.
My exp is like 4061091/93150
oO and i cant lvl up, can someone tell me what i should to do
08/06/2010 15:31 maike984#508
I have an old version of the bot that was faster.
and futher more this version only use 1 attack mode. strange...
08/06/2010 16:13 Jusb#509
Quote:
Application: BOIGB.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at System.Windows.Forms.ListBox+ItemArray+EntryEnumer ator.System.Collections.IEnumerator.MoveNext()
at BOIGB.BOIGB.WriteDebugToFile()
at BOIGB.BOIGB.DebugMsg(System.String)
at BOIGB.Bot_Session.Thread_HpAndMana()
at System.Threading.ThreadHelper.ThreadStart_Context( System.Object)
at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
How do u fix this error?
08/06/2010 16:15 oOldsqL#510
Quote:
Originally Posted by NePy0 View Post
EDIT
P.S.
My exp is like 4061091/93150
oO and i cant lvl up, can someone tell me what i should to do
*lol* :rtfm: ingame
if you cant even figure this out .. you shouldnt play this game o.O