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 Prime Celestial

    Joined:
    Oct 30, 2014
    Messages:
    1,322
    Likes Received:
    559
    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:
    504
    Likes Received:
    159
    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 Prime Celestial

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

    Joined:
    Nov 5, 2014
    Messages:
    504
    Likes Received:
    159
    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 Prime Celestial

    Joined:
    Oct 30, 2014
    Messages:
    1,322
    Likes Received:
    559
    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,522
    Likes Received:
    1,039
    Very possible. @Cloud needs to test this more.
     
  8. Cloud

    Cloud The Developer

    Joined:
    Jul 28, 2013
    Messages:
    2,330
    Likes Received:
    758
    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,522
    Likes Received:
    1,039
    Let's confirm this with a simple unit test through the Bot Store just to be safe.
     
  10. Defeat3d

    Defeat3d Prime Celestial

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

    Arbiter Mod Automation

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

    Cloud The Developer

    Joined:
    Jul 28, 2013
    Messages:
    2,330
    Likes Received:
    758
    ?
     
  13. Defeat3d

    Defeat3d Prime Celestial

    Joined:
    Oct 30, 2014
    Messages:
    1,322
    Likes Received:
    559
    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...