Jump to content

Recommended Posts

Hey guys, anyone know how to make it so if you change i.e. wManagerSetting.CurrentSetting.Selling with your plugin, so that it changes the setting in WRobot too? As soon as wrobot is restarted wManagerSetting.CurrentSetting.Selling is changed back to what you set it to in wrobot. ?
wManagerSetting.CurrentSetting.Save();
saves the data, but it dones't change in wrobot until wrobot is restarted.

Also completely off-topic:
@Droidz how are you getting current mount name in vanilla? Are you checking buffs? Or are you reading from memory?
I just realized that button does not work, so i guess you are not ?

Edited by Ordush
Link to comment
https://wrobot.eu/forums/topic/9931-change-wrobot-setting-with-plugin/
Share on other sites

Hello,

You cannot do that, and if you use quester product, wrobot reset old settings when stopped.

In vanilla I just check if IsMounted (ObjectManager.Me.IsMounted) I don't check if it is good mount name (you can try "Me.MountDisplayId" if you want check a specific mount). To dismount I use CancelPlayerBuff(...) and check texture name (GetPlayerBuffTexture(...))

37 minutes ago, Droidz said:

Hello,

You cannot do that, and if you use quester product, wrobot reset old settings when stopped.

In vanilla I just check if IsMounted (ObjectManager.Me.IsMounted) I don't check if it is good mount name (you can try "Me.MountDisplayId" if you want check a specific mount). To dismount I use CancelPlayerBuff(...) and check texture name (GetPlayerBuffTexture(...))

Ah alright!

Any chance that you will add so that the settings update without restarting wrobot?

Not using quester ?

You can try, based on https://stackoverflow.com/a/302588

foreach (var instancesOfImplementingType in GetInstancesOfImplementingTypes<UserControlTabGeneralSettings>())
{
     instancesOfImplementingType.LoadGeneralSettings();
}

(to refresh UI, but I'm not sure that it solves the problem) 

3 hours ago, Droidz said:

You can try, based on https://stackoverflow.com/a/302588


foreach (var instancesOfImplementingType in GetInstancesOfImplementingTypes<UserControlTabGeneralSettings>())
{
     instancesOfImplementingType.LoadGeneralSettings();
}

(to refresh UI, but I'm not sure that it solves the problem) 

Haven't tried it yet, but seems like it's exactly what I need!

Cheers!

@Droidz

What reference do i need for this to work?
I guess that i need using wManager.Wow.Forms; for the UserControlTabGeneralSettings
However it says GetInstancesOfImplementingTypes doesn't exist in that context.

8 hours ago, Droidz said:

Ah, not sure how i did not see that.
I added the method, and the remaining references (PresentationCore, PresentationFramework and WindowsBase). And it doesn't give any errors, however. When i run
 

foreach (var instancesOfImplementingType in GetInstancesOfImplementingTypes<UserControlTabGeneralSettings>())
        {
            instancesOfImplementingType.LoadGeneralSettings();
        }

nothing happens for some reason. ?

@Droidz

Did you ever get this update out Droidz? (Vanilla)
Also btw. ever since I've upgraded to win 10 i get this error:
 

21:04:52 - Error during download, please verif link.
21:04:50 - error: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
   at System.Net.WebClient.DownloadFile(Uri address, String fileName)
   at System.Net.WebClient.DownloadFile(String address, String fileName)
   at UpdateManager.UpdateManager.()

I've turned off firewall, anit-virus etc.
It does however update when there are updates, so not sure why it's even saying it lol

13 hours ago, Ordush said:

@Droidz

Did you ever get this update out Droidz? (Vanilla)
Also btw. ever since I've upgraded to win 10 i get this error:
 


21:04:52 - Error during download, please verif link.
21:04:50 - error: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
   at System.Net.WebClient.DownloadFile(Uri address, String fileName)
   at System.Net.WebClient.DownloadFile(String address, String fileName)
   at UpdateManager.UpdateManager.()

I've turned off firewall, anit-virus etc.
It does however update when there are updates, so not sure why it's even saying it lol

You have try to restart your computer?

56 minutes ago, Droidz said:

You have try to restart your computer?

Many times, I have had this issue for months. It's on ALL my pc's that run windows 10, even my work computer. ?

https://stackoverflow.com/questions/2859790/the-request-was-aborted-could-not-create-ssl-tls-secure-channel

Apparently it's an issue that's also discussed on stackoverflow

Edited by Ordush
4 hours ago, Droidz said:

thank you, can you try with this .exe and tell me if problem is resolved: Updater.zip

Yep!
That solved the problem! ?
 

UserControlTabGeneralSettings.RealoadGeneralSettings();

Still does not work though.
There is a spelling error:
RealoadGeneralSettings();
Is supposed to be
ReloadGeneralSettings();
However, that definition does not exists either yet. Is it me being completely retarded? ?

21 hours ago, Ordush said:


 


UserControlTabGeneralSettings.RealoadGeneralSettings();

Still does not work though.
There is a spelling error:
RealoadGeneralSettings();
Is supposed to be
ReloadGeneralSettings();
However, that definition does not exists either yet. Is it me being completely retarded? ?

I heven't release update

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...