what auto mouse clicker are you using??Quote:
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 ?
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.Quote:
what auto mouse clicker are you using??
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);
}
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));
}
I feel the bot kinda delay (animation or delay?). too be honest, its just too obvious when we boting :D.Quote:
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
How do u fix this error?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()