I got some problems with variables in flatfile.

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

TheRaZerPL

New Member
Nov 22, 2018
7
1
3
24
Poland
Hi there! :emoji_slight_smile: I got some problems with variables in flatfile, because they duplicating all the time :/

This it how it looks :/

zlotowki::<player>, long, 0000000000000000
zlotowki::therazerpl, long, 000000000000000A
zlotowki::therazerpl, long, 0000000000000014
zlotowki::therazerpl, long, 000000000000001E
zlotowki::therazerpl, long, 0000000000000028
zlotowki::therazerpl, long, 0000000000000032
zlotowki::therazerpl, long, 000000000000003C
zlotowki::therazerpl, long, 0000000000000046
zlotowki::therazerpl, long, 0000000000000050
zlotowki::therazerpl, long, 000000000000005A
zlotowki::therazerpl, long, 0000000000000064
zlotowki::therazerpl, long, 000000000000006E
zlotowki::therazerpl, long, 0000000000000078
zlotowki::therazerpl, long, 0000000000000082
zlotowki::therazerpl, long, 000000000000008C
zlotowki::therazerpl, long, 0000000000000096
zlotowki::therazerpl, long, 00000000000000A0
zlotowki::therazerpl, long, 00000000000000AA

when in my code of script looks like this {zlotowki.%player%} = 0 and adding some numbers when i sell items :/... and then in variablers.csv creating above example :/

GUYS SORRY FOR MY BAD ENGLISH :/
 
If im not mistaken, that is just how the variable file works when the server is loaded.
As soon as you stop the server it should update itself.
 
the cvs file writes the latest value but doesn't remove the old ones for some reason so this isn't unintended behavior
 
So what you think, what can I do with it?
add 10 to {zlotowki.%player%}

But not all the time ... Sometimes I used 0.03 and it looks like this
add 0.03 to {zlotowki.%player%}

I using TuSKe for GUI and nothing more because I have errors with skquery and umbaska and wildscript because TuSKe isn't accept them :/
[doublepost=1544539294,1544539249][/doublepost]
the cvs file writes the latest value but doesn't remove the old ones for some reason so this isn't unintended behavior
[doublepost=1544622646][/doublepost]Refresh :emoji_slight_smile:
 
Im curious, which version of Spigot/MC are you running as well as which version of Skript?
(Please answer without saying latest)
 
Server version 1.12.2
Skript version 2.2-dev37c
It's previous version because latest have some problems :emoji_frowning:
[doublepost=1544649287,1544649211][/doublepost]
Im curious, which version of Spigot/MC are you running as well as which version of Skript?
(Please answer without saying latest)
 
So any ideas about my problem?? Somebody can help me? :emoji_frowning: It's very important :emoji_frowning:
[doublepost=1545846089,1545049221][/doublepost]Anybody can help me? :emoji_slight_smile:
 
So any ideas about my problem?? Somebody can help me? :emoji_frowning: It's very important :emoji_frowning:
[doublepost=1545846089,1545049221][/doublepost]Anybody can help me? :emoji_slight_smile:
your question has already been answered, it's just the way how Skript works, happens for me too, just ignore it. If you properly stop server with "stop" command and then start it again, duplicates will be gone. btw I recommend to use dev36 for 1.12.2 since dev37c got some bad bugs
 
Status
Not open for further replies.