1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved ScriptMetaData#isLocal() seems broken

Discussion in 'Client & Site Support' started by Defeat3d, Apr 9, 2015.

Thread Status:
Not open for further replies.
  1. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,017
    Likes Received:
    1,890
    Returns true when running without SDK argument.

    @Cloud

     
  2. Best Answer:
    Post #9 by Defeat3d, Apr 9, 2015
  3. Ozzy

    Joined:
    Nov 5, 2014
    Messages:
    505
    Likes Received:
    162
    Do you think this could be related to the reason ManagedProperties seem to be caching locally even when my script bot 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.
     
  4. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,017
    Likes Received:
    1,890
    ManagedProperties are always stored local I believe, the Manifest is a different thing though.
     
  5. Ozzy

    Joined:
    Nov 5, 2014
    Messages:
    505
    Likes Received:
    162
    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 bot, it is saved on the servers so that when you load runemate on a different pc the same settings are loaded.
     
  6. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,017
    Likes Received:
    1,890
    It syncs it yeah, probably syncing the local version with the one on the cloud.
     
  7. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,937
    Likes Received:
    1,266
    Very possible. @Cloud needs to test this more.
     
  8. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    I don't think this is true... it relies on an instanceof check which is highly unlikely to be a problem.
     
  9. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,937
    Likes Received:
    1,266
    Let's confirm this with a simple unit test through the Bot Store just to be safe.
     
  10. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,017
    Likes Received:
    1,890
    Confirmed, the fix we pushed earlier didn't help.
     
  11. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,937
    Likes Received:
    1,266
    Double confirmed as the ManagedProperties cloud database is quite populated.
     
  12. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    ?
     
  13. Defeat3d

    Defeat3d Primate

    Joined:
    Oct 30, 2014
    Messages:
    3,017
    Likes Received:
    1,890
    It all starts to make sense...
    --- Double Post Merged, Apr 10, 2015, Original Post Date: Apr 9, 2015 ---
    Close pls. @EvilCabbage @Aidden
     
Thread Status:
Not open for further replies.

Share This Page

Loading...