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

[Plugin] Unstucker - restarts if your character gets stuck

eax

New Member
Joined
Jun 11, 2012
Messages
142
Reaction score
3
Unstucker will unstuck your character when it's stuck by restarting the game and the profile.

Installation Instructions
  1. Download the latest version of Unstucker (Unstucker v2.2.0.zip) at the bottom of this thread.
  2. Extract the contents of the zip file into your DemonBuddy folder.
  3. Check Unstucker in DemonBuddy's plugin tab and you're good to go.
    Check the Known Bugs section below before reporting any issues. Remember to always attach your log file when you do.

Known Bugs
None. See troubleshooting.

Troubleshooting
Q: Unstucker doesn't seem to detect when I'm stuck.
A: Make MinimumMoveDistance bigger (e.g. 18)

I develop Unstucker during my free time and provide it free of charge. If you feel like buying me lunch or a beverage to show your support, you're awesome.


Thanks to keantab and Nuls for helping this along.
 

Attachments

Last edited:
Once it has been confirmed working please add as an attachment to the forums. External links are frowned upon.
 
I think it will be great to add another file with longer timer , (i dont know how to edit that) because on slower machines or vmware, the bot connects and disconnects on a loop.
 
Okay, my guy loves to stop when opening demonic chests (awesome)
So it recognized it, 60 seconds later it stopped, and went to character screen, but I believe it started the bot up too fast afterwards. I was actually still in game when it started back up so it got stuck trying to open a chest that no longer existed at all in the memory...

I'll look into it, but first I gotta learn your code.

Oh and afterwards you cant stop/start the bot. When you hit start again it freezes Demonbuddy.exe
 
Direct link please?

Code:
Unable to access the network
Google Chrome is having trouble accessing the network. 

This may be because your firewall or antivirus software wrongly thinks Google Chrome is an intruder on your computer and is blocking it from connecting to the Internet.
Here are some suggestions:
Add Google Chrome as a permitted program in your firewall's or antivirus software's settings. If it is already a permitted program, try deleting it from the list of permitted programs and adding it again.
Error 138 (net::ERR_NETWORK_ACCESS_DENIED): Unable to access the network.

Don't like redirecting services, as I presume lh.rs is.
 
Unable to access the network
Google Chrome is having trouble accessing the network.

This may be because your firewall or antivirus software wrongly thinks Google Chrome is an intruder on your computer and is blocking it from connecting to the Internet.
Here are some suggestions:
Add Google Chrome as a permitted program in your firewall's or antivirus software's settings. If it is already a permitted program, try deleting it from the list of permitted programs and adding it again.
Error 138 (net::ERR_NETWORK_ACCESS_DENIED): Unable to access the network.


Upload somewhere else please.
 
Made it an attachment.

Okay, my guy loves to stop when opening demonic chests (awesome)
So it recognized it, 60 seconds later it stopped, and went to character screen, but I believe it started the bot up too fast afterwards. I was actually still in game when it started back up so it got stuck trying to open a chest that no longer existed at all in the memory...

I'll look into it, but first I gotta learn your code.

Oh and afterwards you cant stop/start the bot. When you hit start again it freezes Demonbuddy.exe

Updated the delay to 20 seconds. Not sure what you mean by that last sentence, but let me know if this version works. Just changed Thread.Sleep(10000); to Thread.Sleep(20000);

I think it will be great to add another file with longer timer , (i dont know how to edit that) because on slower machines or vmware, the bot connects and disconnects on a loop.

You mean the 10 second delay before restarting the bot?
 
Last edited:
Updated the delay to 20 seconds. Not sure what you mean by that last sentence, but let me know if this version works. Just changed Thread.Sleep(10000); to Thread.Sleep(20000);
Lol, thought I tried that but I was modifying a file in a different folder. The 20 second sleep fixed that :)

As far as the stop/start issue it's probably just my comp. I haven't restarted it in about a week, just let it go into sleep mode every night. I also haven't checked to see if I installed .net 4 xD

But anyways, the 20 seconds works better. You'll have to wait for that other guy to explain his "problem"
 
Lol, thought I tried that but I was modifying a file in a different folder. The 20 second sleep fixed that :)

As far as the stop/start issue it's probably just my comp. I haven't restarted it in about a week, just let it go into sleep mode every night. I also haven't checked to see if I installed .net 4 xD

But anyways, the 20 seconds works better. You'll have to wait for that other guy to explain his "problem"

Since DemonBuddy uses .NET 4, you should have .NET 4. Going to replace the 20 second delay with
Code:
                    while (ZetaDia.IsInGame)
                        Thread.Sleep(2000);
which should be a lot more reliable.

Also added this before having it leave the game:
Code:
                    while (!ZetaDia.Actors.Me.IsInTown)
                    {
                        ZetaDia.Actors.Me.UseTownPortal();
                        Thread.Sleep(6000);
                    }
 
Started the bot with it ...first sec it loged in said it hasnt moved for 60 sec already and started restarting ...wtf ?
 
Started the bot with it ...first sec it loged in said it hasnt moved for 60 sec already and started restarting ...wtf ?

That happens because the plugin starts counting as soon as you activate it. 40 seconds must have passed before you got in game. Updating the original post now with a fixed version.
 
That happens because the plugin starts counting as soon as you activate it. 40 seconds must have passed before you got in game. Updating the original post now with a fixed version.

Mmmm , dont think so. Tried again and started moving the first posable sec...still got a restart...got 5 sec loading screen max...Gona try the fix now, thanks!

Edit: its fixed now and working so far , kk ty
 
Last edited:
Could someone let me know if this version works? Did some code cleanup, optimizations, and made logs a bit cleaner.
 

Attachments

Back
Top