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

[?] Force Unload of Tiles

no1knowsy

Well-Known Member
Joined
Feb 28, 2010
Messages
3,927
Reaction score
57
I didn't see any other threads about this, as it was very easy to search "unload tiles" :)

So what I want it to do is Unload the current tileset it is using, and load the tileset for the currently loaded zone/map.
Is there any way I can do this?

I'm not nearly as experienced with C# as I wish.

I am using Visual Studio, and searched in the references, finding:
Tripper.Navigation.WowNavigator.UnloadAllTiles()

I created a new:
private static WowNavigator UnloadTiles = new WowNavigator();
But have no frickin idea how/what to do with it.

I attempted to add:
UnloadTiles.UnloadAllTiles();
into the plugin, but it did absolutely nothing.


This is basically what is happening.
I'm out farming on my mage
The plugin decides to use "Teleport: Orgrimmar"
The plugin doesn't actually let go of control of the thread while(!StyxWoW.IsInWorld){Thread.Sleep(100);}
It arrives in Org just fine, but unfortunately still has the tileset for the previous zone
With the wrong tiles it obviously fails to create a path to the WoWPoint I want


I thank you for your time/reading, and an early Thanks if you helped. :)
-Panda.
 
Last edited:
just do a Navigator.Clear() it should work for you
 
also you should not lock the thread for a long period of time since you will be blocking WoWPulsator to not tick and cause malfunctions in hb core. I suggest you to run an action with a RunStatus.Running return value while you do your stuff or pulse the Pulsator in certain period of times
 
I know that locking it is bad, I just wanted to get the rest of the plugin logic figured out, then make it so it'll still run the rest of HB along-side.
I'll see what I can do.

Thanks Raphus :)
Yes... You may pet me.


@Someone who can, a lock of this thread would be appreciated.
If anybody browsing has any questions about it this topic please PM me, not Raphus. He is a busy man.
 
Last edited:
Back
Top