de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Overwriting Data in data.properties
PostPosted: Sat Apr 14, 2018 10:54 am 
Offline
Shy
Hello,

After I updated to the last Version from 27th March 2018 I ran into following Problem:

Everytime one of my scripts writes something in my data.properties file where I have correspondending substrings (sorry no programmer, I have no idea how these things are called) it deletes all the other strings, small example:

Code:
Mandy.visited=true
Mandy.visited.firsttime=10-04-2018
Mandy.visited.lasttime=14-04-2018


Here if I write again in the "Mandy.visited" value, the lines "Mandy.visited.firsttime" and "Mandy.visited.lasttime" are completely deleted from my data.properties file, which I totally do not find amusing ;)

I hope its a bug that can be fixed and I do not have to adjust my scripts.... :o

Thx for help


Top
 Profile Send private message 
 
 Re: Overwriting Data in data.properties
PostPosted: Sat Apr 14, 2018 11:42 am 
Offline
Site Admin
User avatar
This is not a bug, this is the regular behaviour.

I never seen the example above, perhaps you can point out a script that contains something like it ?


Top
 Profile Send private message 
 
 Re: Overwriting Data in data.properties
PostPosted: Sat Apr 14, 2018 11:52 am 
Offline
Shy
doti wrote:
This is not a bug, this is the regular behaviour.


Ouch, thats what I feared :(
Didnt have any problems though till the last update. I update every now and then, Version before was prolly a half year old.

doti wrote:
I never seen the example above, perhaps you can point out a script that contains something like it ?

I did come up on my own with that to get some structure in the Scripts I modified for my own pleasure :)

Thanks for the fast response though


Top
 Profile Send private message 
 
 Re: Overwriting Data in data.properties
PostPosted: Sat Apr 14, 2018 12:11 pm 
Offline
Site Admin
User avatar
Its a new behaviour, you're right.

You should be able to convrt everything simply with a massive search/replace in any text editor, like .visited" => .visited.boolvalue"


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010 - 2020
This website uses session cookies only.