Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved ScriptMetaData#isLocal() seems broken

Status
Not open for further replies.
Joined
Nov 5, 2014
Messages
505
Do you think this could be related to the reason ManagedProperties seem to be caching locally even when my script is on the store? I was going to post a thread, but I haven't been able to get more info until I get my account back.
 
Primate
Joined
Oct 30, 2014
Messages
3,458
Do you think this could be related to the reason ManagedProperties seem to be caching locally even when my script is on the store? I was going to post a thread, but I haven't been able to get more info until I get my account back.
ManagedProperties are always stored local I believe, the Manifest is a different thing though.
 
Joined
Nov 5, 2014
Messages
505
ManagedProperties are always stored local I believe, the Manifest is a different thing though.

Beta 76 changed that, but it still caches locally when running in sdk mode, however even when running from the store it doesn't seem to sync for me.

  • AbstractScript#getSettings now returns an instance of ManagedProperties that syncs itself to the servers. This means that when you save a setting within a script, it is saved on the servers so that when you load runemate on a different pc the same settings are loaded.
 
Primate
Joined
Oct 30, 2014
Messages
3,458
Beta 76 changed that, but it still caches locally when running in sdk mode, however even when running from the store it doesn't seem to sync for me.

  • AbstractScript#getSettings now returns an instance of ManagedProperties that syncs itself to the servers. This means that when you save a setting within a script, it is saved on the servers so that when you load runemate on a different pc the same settings are loaded.
It syncs it yeah, probably syncing the local version with the one on the cloud.
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,044
Do you think this could be related to the reason ManagedProperties seem to be caching locally even when my script is on the store? I was going to post a thread, but I haven't been able to get more info until I get my account back.
Very possible. @Cloud needs to test this more.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
I don't think this is true... it relies on an instanceof check which is highly unlikely to be a problem.
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,044
I don't think this is true... it relies on an instanceof check which is highly unlikely to be a problem.
Let's confirm this with a simple unit test through the Bot Store just to be safe.
 
Status
Not open for further replies.
Top