What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Exception while pulsing plugin

newb23

Community Developer
Joined
Nov 26, 2014
Messages
397
Good morning! Newbie teaching time!

I ran what I thought to be a working script while I was sleeping today for a couple of hours, and when I awoke, it had been throwing exceptions for a while.


Honestly, I have no idea how to go about fixing this, but if someone would like to take the opportunity to teach me how to troubleshoot the problem, I would be very appriciative.

*note* I have NOT attempted to add in the API call for the system messages in this build, ir is the very same V 1.1.2 I have uploaded to my thread.

Thank you for your help!

Relevant Part of the Code.
[HIDE]
Code:
[03:44:14.333 N] Slavebot9001: Using Summoning Bell[03:44:16.334 D] Interacting with Summoning Bell 0x10A91E40
[03:44:18.340 N] Slavebot9001: Selecting First Available Retainer with Complete Venture
[03:44:18.341 D] Exception while pulsing plugin Slavebot9001: Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: FFFFFFFC, Size: 4
   at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
   at GreyMagic.MemoryBase.Read[T](IntPtr addr)
   at ff14bot.RemoteWindows.SelectString.ClickLineContains(String text)
   at Slavebot9001.Slavebot9001.<MainLoop>d__2.MoveNext() in c:\Users\Omni\Desktop\RB\Plugins\Slavebot9001\Slavebot9001.cs:line 67
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Buddy.Coroutines.Coroutine.<>c__DisplayClass1.<<ReturnsNullWrapper>b__0>d__3.MoveNext()
   --- End of inner exception stack trace ---
   at Buddy.Coroutines.Coroutine.CheckPostConditions(Boolean shouldBeCanceled)
   at Buddy.Coroutines.Coroutine.Resume(Boolean forStop)
   at Buddy.Coroutines.Coroutine.Resume()
   at Slavebot9001.Slavebot9001.OnPulse() in c:\Users\Omni\Desktop\RB\Plugins\Slavebot9001\Slavebot9001.cs:line 49
   at ff14bot.Managers.PluginManager.PulsePlugin(IBotPlugin plugin)
[/HIDE]

EDIT: I have added to code of which I was using. It has worked for a couple of iterations, then it just stopped, throwing exceptions. I'm not sure what would have caused it to, but, it did work for a time.
 
Last edited:
I see you included the error, but not the code?

Are you sure the text you specified for ClickLineContains is correct? Not sure what error that throws (if any) if the string is invalid.

Are you also sure the window is SelectString and not SelectIconString or something like that?
 
This issue has also been solved. It appears that a portion of my code was interrupting another portion. Specifically my text catch section. This was then throwing my exception errors. I added in a couple of safeguards to make sure less was likely to interrupt each action, and it seems like everything is running smoothly again!
 
Back
Top