User Variables

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

BASH CHAVUSH
Posts: 3
Joined: 24 Nov 2019, 02:31

User Variables

Postby BASH CHAVUSH » 26 Sep 2020, 15:07

Hey Everyone ! :D
Is it good practice store big amount of data in user variables ? Or I should rather query them from db ? I want to syncronize my characters data visible to other clients.

character inventory (15-20 items),
character stats (10-15 attribute),
characters skin data(4-5 attributes) etc
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: User Variables

Postby Lapo » 27 Sep 2020, 16:13

Hi,
it depends on how often you need to update those values. If they don't get updated very frequently it's not a big deal.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Thomasea and 82 guests