Page 2 of 2
Re: Saving script variables in "cloud"?
Posted: 18 May 2016, 19:38
by BigBang1112
Yes, as Domino said, that would be really cool to have.
Is there any way to save data from offline manialinks?
Re: Saving script variables in "cloud"?
Posted: 20 May 2016, 13:26
by Eole
What are you calling an "offline manialink"? If it's a manialink displayed in the browser as mentioned by Domino, then no, there's no way to save data on the client side reliably.
Re: Saving script variables in "cloud"?
Posted: 20 May 2016, 14:20
by Dommy
Actually false, as I learned much since I posted this topic, it's possible to save client side data on any manialink. For example, open manialink
exchange, type something in the search box and re-open manialink.
Moreover, some important information about persistence:
- You can save only primitive types of data, with exception of Ident.
- Persistent declared for nothing and LocalUser will be accessible from any other script. Persistent declared for Page remain only within a single manialink address.
- Persistent variables are shared only within a title pack.
- On ingame servers, persistent variables declared in the mode can be accessed in mode manialinks, but only for the host.
- On dedicated servers, persistent variables are only available in the mode, and mode manialinks are completely independant.