What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Randomly switching characters

imdivesmaintank

New Member
Joined
Oct 30, 2013
Messages
342
Reaction score
0
This has happened to me a few times over the past 2 days. I'll be botting one character, leave, and when I come back, it's logged in as another character, doing nothing. The weird thing is I've been botting 2 different characters and it only happens when I bot one (and the character it logs in as is always the same and not one of the ones I've botted).

Log:
Code:
2013-11-24 20:16:22,041 [Main Bot Thread] DEBUG GuiApi (null) - Now logging out to [Character Selection].
2013-11-24 20:16:22,222 [Main Bot Thread] DEBUG GuiApi (null) - Now logging out to [Character Selection].
2013-11-24 20:16:23,566 [Main Bot Thread] INFO  BotMain (null) - We were logged out for some reason. Waiting 00:00:10 before logging back in.
2013-11-24 20:16:38,617 [Main Bot Thread] DEBUG BotMain (null) - Stopping the bot. Reason: We logged out of the game. We need to reset the bot in order to continue!
2013-11-24 20:16:38,617 [Main Bot Thread] DEBUG TreeHooks (null) - Removed hook [BotBehavior] 293bce21-8055-4733-b91b-23686212ce98
2013-11-24 20:16:38,618 [Main Bot Thread] DEBUG BotMain (null) - Removing memory patches.
2013-11-24 20:16:39,618 [Main Bot Thread] DEBUG BotMain (null) - Applying required memory patches.
2013-11-24 20:16:39,619 [Main Bot Thread] DEBUG ExplorationManager (null) - ExplorationManager.Load()
2013-11-24 20:16:39,619 [Main Bot Thread] DEBUG ExilePather (null) - A new area was detected [0xBF2AF178].
2013-11-24 20:16:39,678 [Main Bot Thread] DEBUG TreeHooks (null) - Added new hook [BotBehavior] 6e09e35b-adab-4d2e-a548-f35c50873583
2013-11-24 20:16:39,679 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering buffs.
2013-11-24 20:16:39,680 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering summons.
2013-11-24 20:16:39,681 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering traps.
2013-11-24 20:16:39,682 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering main abilities.
2013-11-24 20:16:39,682 [Main Bot Thread] DEBUG CombatRoutine (null) - ? Registered Dual Strike
2013-11-24 20:16:39,680 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering totems.
2013-11-24 20:16:39,680 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering curses.
2013-11-24 20:16:39,753 [Main Bot Thread] INFO  ExplorationManager (null) - ExplorationManager is now generating nodes.
2013-11-24 20:16:39,779 [Main Bot Thread] INFO  ExplorationManager (null) - ExplorationManager nodes successfully generated.
2013-11-24 20:16:39,783 [Main Bot Thread] INFO  ExplorationManager (null) - ExplorationManager being reset.
2013-11-24 20:16:39,783 [Main Bot Thread] ERROR GameEvents (null) - Exception during InvokeEvent
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at Loki.Bot.Exploration.ExplorationManager.()
   at Loki.Bot.Exploration.ExplorationManager.()
   at Loki.Bot.Exploration.ExplorationManager.(Object , WorldChangedEventArgs )
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at Loki.Game.GameEvents.(Delegate , Object[] )
2013-11-24 20:16:39,784 [Main Bot Thread] INFO  ExplorationManager (null) - ExplorationManager is now generating nodes.
2013-11-24 20:16:39,785 [Main Bot Thread] INFO  ExplorationManager (null) - ExplorationManager has loaded nodes from the cache.
2013-11-24 20:16:39,786 [Main Bot Thread] DEBUG  (null) - _randomChosenSellVendor: Nessa [{267, 256}].
2013-11-24 20:16:39,921 [Main Bot Thread] DEBUG  (null) - _nextAreaName: 3_1_3
2013-11-24 20:16:39,922 [Main Bot Thread] DEBUG  (null) - Now moving to the waypoint at {187, 164}.
2013-11-24 20:16:42,012 [Main Bot Thread] DEBUG  (null) - Now moving to the waypoint at {187, 164}.
2013-11-24 20:16:42,082 [Main Bot Thread] DEBUG  (null) - Now moving to the waypoint at {187, 164}.
2013-11-24 20:16:42,146 [Main Bot Thread] DEBUG  (null) - Now moving to the waypoint at {187, 164}.
2013-11-24 20:16:42,213 [Main Bot Thread] DEBUG  (null) - Now moving to the waypoint at {187, 164}.
2013-11-24 20:16:42,281 [Main Bot Thread] DEBUG  (null) - Now moving to the waypoint at {187, 164}.
2013-11-24 20:16:42,346 [Main Bot Thread] DEBUG  (null) - Attempting to take the waypoint 18396.
2013-11-24 20:16:43,414 [Main Bot Thread] DEBUG  (null) - Attempting to take the waypoint 18396.
2013-11-24 20:16:44,416 [Main Bot Thread] DEBUG  (null) - Taking the waypoint to The Mud Flats.
2013-11-24 20:16:45,752 [Main Bot Thread] DEBUG  (null) - Attempting to join a new instance.
2013-11-24 20:16:48,451 [Main Bot Thread] DEBUG ComponentInformation (null) - Adding new ComponentMap Cache for Metadata/Monsters/Zombies/ZombieMired@52 (Miss #608)
2013-11-24 20:16:48,452 [Main Bot Thread] DEBUG ComponentInformation (null) - Adding new ComponentMap Cache for Metadata/Monsters/Zombies/ZombieMiredGraspEmerge@52 (Miss #609)
2013-11-24 20:16:48,454 [Main Bot Thread] DEBUG ExilePather (null) - A new area was detected [0xAD0101B0].
2013-11-24 20:16:48,694 [Main Bot Thread] DEBUG ComponentInformation (null) - Adding new ComponentMap Cache for Metadata/Monsters/Zombies/Mired/Mired.ao (Miss #610)
2013-11-24 20:16:48,696 [Main Bot Thread] INFO  ExplorationManager (null) - ExplorationManager is now generating nodes.
2013-11-24 20:16:48,899 [Main Bot Thread] INFO  ExplorationManager (null) - ExplorationManager nodes successfully generated.
2013-11-24 20:16:48,901 [Main Bot Thread] INFO  ExplorationManager (null) - ExplorationManager being reset.
2013-11-24 20:16:48,902 [Main Bot Thread] ERROR GameEvents (null) - Exception during InvokeEvent
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at Loki.Bot.Exploration.ExplorationManager.()
   at Loki.Bot.Exploration.ExplorationManager.()
   at Loki.Bot.Exploration.ExplorationManager.(Object , WorldChangedEventArgs )
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at Loki.Game.GameEvents.(Delegate , Object[] )
2013-11-24 20:16:48,903 [Main Bot Thread] DEBUG Registry (null) - Adding useful location ["Waypoint"][29950] = {352, 1022} for area [0xAD0101B0]
2013-11-24 20:16:48,904 [Main Bot Thread] DEBUG Registry (null) - Adding useful location ["The Coast"][3336] = {360, 1149} for area [0xAD0101B0]
2013-11-24 20:16:48,905 [Main Bot Thread] INFO  ExplorationManager (null) - ExplorationManager is now generating nodes.
2013-11-24 20:16:48,905 [Main Bot Thread] INFO  ExplorationManager (null) - ExplorationManager has loaded nodes from the cache.
2013-11-24 20:16:48,906 [Main Bot Thread] DEBUG OutOfTownLogicManager (null) - Registry.TravelToLastArea: False
2013-11-24 20:16:48,957 [Main Bot Thread] DEBUG OutOfTownLogicManager (null) - _nextAreaTransitionToTake: The Lower Submerged Passage
2013-11-24 20:16:48,958 [Main Bot Thread] DEBUG OutOfTownLogicManager (null) - _nextAreaTransitionNewInstance: True
2013-11-24 20:16:48,958 [Main Bot Thread] DEBUG OutOfTownLogicManager (null) - ShouldAttemptRandomTownRun: False.
 
It just did it again after chickening. Log below:

Code:
2013-11-26 17:42:32,531 [Main Bot Thread] DEBUG Targeting (null) - Ignoring Urn [16E7] from loot targeting. (Disabled Chest in Character Settings)
2013-11-26 17:42:32,531 [Main Bot Thread] DEBUG Targeting (null) - Ignoring Urn [62C1] from loot targeting. (Disabled Chest in Character Settings)
2013-11-26 17:42:32,532 [Main Bot Thread] DEBUG Targeting (null) - Ignoring Urn [6786] from loot targeting. (Disabled Chest in Character Settings)
2013-11-26 17:42:37,901 [Main Bot Thread] DEBUG GuiApi (null) - Now logging out to [Character Selection].
2013-11-26 17:42:37,970 [Main Bot Thread] DEBUG GuiApi (null) - Now logging out to [Character Selection].
2013-11-26 17:42:38,052 [Main Bot Thread] DEBUG GuiApi (null) - Now logging out to [Character Selection].
2013-11-26 17:42:38,124 [Main Bot Thread] DEBUG GuiApi (null) - Now logging out to [Character Selection].
2013-11-26 17:42:41,784 [Main Bot Thread] INFO  BotMain (null) - We were logged out for some reason. Waiting 00:00:10 before logging back in.
2013-11-26 17:42:58,289 [Main Bot Thread] DEBUG BotMain (null) - Stopping the bot. Reason: We logged out of the game. We need to reset the bot in order to continue!
2013-11-26 17:42:58,290 [Main Bot Thread] DEBUG TreeHooks (null) - Removed hook [BotBehavior] 287f5465-6719-4e2b-982c-8208e14bfd61
2013-11-26 17:42:58,290 [Main Bot Thread] DEBUG BotMain (null) - Removing memory patches.
2013-11-26 17:42:59,291 [Main Bot Thread] DEBUG BotMain (null) - Applying required memory patches.
2013-11-26 17:42:59,292 [Main Bot Thread] DEBUG ExplorationManager (null) - ExplorationManager.Load()
2013-11-26 17:42:59,293 [Main Bot Thread] DEBUG ExilePather (null) - A new area was detected [0xDFE037BA].
2013-11-26 17:42:59,322 [Main Bot Thread] DEBUG TreeHooks (null) - Added new hook [BotBehavior] 22aafbda-9e05-4fc1-9b8b-89fca8362ff5
2013-11-26 17:42:59,323 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering buffs.
2013-11-26 17:42:59,344 [Main Bot Thread] DEBUG CombatRoutine (null) - ? Registered Buff Frenzy
2013-11-26 17:42:59,345 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering curses.
2013-11-26 17:42:59,346 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering summons.
2013-11-26 17:42:59,346 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering totems.
2013-11-26 17:42:59,347 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering traps.
2013-11-26 17:42:59,347 [Main Bot Thread] DEBUG CombatRoutine (null) - Registering main abi
 
The re-login logic is really basic. It uses the last character selected, according to the server.

When it logs in with the wrong character, it's because the server character list changed, and is telling the client the character it is logging on with was the last character.

We'll have to rework that system completely to account for that.
 
Back
Top