switch/tabbing mobs... i dunno izzit the bot have delay or animation delay.
but my point is= still look obvious boting.
i had errors like this in my bots for other games too sometimes .. its the delay between the tabbing/filtering mobs and the attack key press in the most cases (some milliseconds to fast can cause this)
Quote:
Originally Posted by maike984
futher more this version only use 1 attack mode. strange...
with attack mode you mean Diamond or Point? cuz if you do i have to agree, cant find any difference between those
It crashes after 1-2 hours, I can't catch the "Details" part of the error since that crashes too before i can get to it but this is what my windows event viewer says.
Code:
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+EntryEnumerator.System.Collections.IEnumerator.MoveNext()
at BOIGB.BOIGB.WriteDebugToFile()
at BOIGB.BOIGB.DebugMsg(System.String)
at BOIGB.Bot_Session.Thread_Attack()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.DivideByZeroException: Attempted to divide by zero.
at BOIGB.Bot_Session.GetPetPctHp()
at BOIGB.BOIGB.Load420Stuff()
at BOIGB.BOIGB.lstbx_CharNames_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ListBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
BOIGB
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Kesu%20Tu/Downloads/Compressed/ISO-8859-1__BOIGB%20-%20Bot%20-%2008.04.2010/BOIGB.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
It crashes after 1-2 hours, I can't catch the "Details" part of the error since that crashes too before i can get to it but this is what my windows event viewer says.
That crash should have been fixed will look into it some more. As far as the log file issue a patch will be up for that in just a moment.
The code below is the fix for the log issue. It will still write messages to the listbox on the debug window but it will not write them to the file unless you click the checkbox for debug.
Code:
// Function to add to Debug Log.
public void DebugMsg(string DebugText)
{
if (DebugToggle.Checked)
{
System.DateTime today = System.DateTime.Now;
String Time = today.Hour + ":" + today.Minute + ":" + today.Second;
debugActionBox.Items.Add("(" + Time + ") " + DebugText);
if (debugActionBox.Items.Count > 900)
{
WriteDebugToFile();
}
if (debugActionBox.Items.Count > 2)
{
// Old method of autoscroll
// debugActionBox.SelectedIndex = debugActionBox.Items.Count - 1;
// New method of autoscroll
debugActionBox.TopIndex = debugActionBox.Items.Count - 1;
}
}
else
{
System.DateTime today = System.DateTime.Now;
String Time = today.Hour + ":" + today.Minute + ":" + today.Second;
debugActionBox.Items.Add("(" + Time + ") " + DebugText);
if (debugActionBox.Items.Count > 900)
{
debugActionBox.Items.Clear();
}
if (debugActionBox.Items.Count > 2)
{
// Old method of autoscroll
// debugActionBox.SelectedIndex = debugActionBox.Items.Count - 1;
// New method of autoscroll
debugActionBox.TopIndex = debugActionBox.Items.Count - 1;
}
}
}
I found a strange error that drove me crazy until i discovered it had nothing to do with the bot. my router was on top of my systems case ad causing intermittent connection problems that i wouldn't have spotted had the bot not shown an error disconnecting from callburst.
just found this page and love what has been done so far - really is great I am wondering however how I may go about enabling the quest tab? everything is greyed out for me at the moment, I have skimmed over all the pages in this topic but I may have missed something, I am sorry if I have missed it
EDIT: I seem to have unlocked the search thread function after registering, apologies. I see you have disabled the quest tab temporarily while you try and fix a problem with Caliburst (?)
I love this bot, but it seems to be suddenly broken for me: doesn't focus on any one enemy correctly & just keeps tabbing around until you've got many enemies coming after you all at once.
I love this bot, but it seems to be suddenly broken for me: doesn't focus on any one enemy correctly & just keeps tabbing around until you've got many enemies coming after you all at once.
Actually, I think it has more to do with some really bad network lag.
i had a similar problem with lag. my router was too close to other equipment and it caused bad lag with the bot. it would swtop fighting and jump to other targets ?
just for gigles, move your router / modem to a clear area about 2 (1 meter)feet over