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

[plugin hack] StuckDetection - added option to portal to town instead of logging out

WhereIsMyMind

Member
Joined
Oct 12, 2013
Messages
848
Reaction score
5
fEB20 - UPDATE
oK, HERE IS THE COMPLETE FOLDER
View attachment StuckDetection.zip

Save files and folder into your plugins folder. Replacing what is there.

The code that does the main work:
Code:
  else if (StuckDetectionSettings.Instance.StuckDetectionMethod ==
                         StuckDetectionMethods.PortalNewInstance)
                {
					// Tell the  bot we should not return to this instance.
					AreaStateCache.SetNewInstanceOverride(LokiPoe.CurrentWorldArea.Id, true);
					// Tell the bot we want to do a town run, and to not return via the portal we're about to make.
					Loki.Bot.Logic.Bots.BasicGrindBot.BasicGrindBotSettings.Instance.NeedsTownRun = 2;
				}

wimm
 
Last edited:
I think the StuckDetection 2.0 posted here make that, right? Thanks for share.
 
How do I get this to work? Ive replaced that attached file with the one in the Stuckdetection plugin folder but it doesn't read it. Ive tried a few other things but nothing. This is what ive been looking for for a while now. Thanks!
 
Hi Bugaboo,

Oh, sorry, I had not included the xaml file also needed (or you can hack the above file so.. the 'logtocharacterselection' method actually does the code snippiet aboe).
Or.. just replace the xaml file in the stuckdetion folder with this (change dile extension to .xaml, has to be .txt below because the forum is blocking xaml uploads):

View attachment SettingsGui.txt

wimm
 
Hi Bugaboo,

Oh, sorry, I had not included the xaml file also needed (or you can hack the above file so.. the 'logtocharacterselection' method actually does the code snippiet aboe).
Or.. just replace the xaml file in the stuckdetion folder with this (change dile extension to .xaml, has to be .txt below because the forum is blocking xaml uploads):

View attachment 167966

wimm

Tried several times, couldn't get it to work I get this when starting exilebuddy in the log:

Compiler Error: \Plugins\StuckDetection\StuckDetection.cs(235,48) : error CS0117: 'StuckDetection.StuckDetectionMethods' does not contain a definition for 'PortalNewInstance'
 
herp derp. See orginal post as I changed it.. grab the folder in the zip.

wimm
 
Trying right now, will solve all my problems if it is working, thanks!
 
Back
Top