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


Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Properties with multiple . characters not being saved
PostPosted: Sun Aug 02, 2020 10:08 pm 
Offline
Veteran
User avatar
If you have a propery named e.g.

scriptname.thing1.thing2=0

It doesn't get saved in the properties file

Whereas

scriptname.thing1=0

is OK

Seems to be a regression in as it is OK in an older version. I had a folder with an old 2016 version in it which I notcied had the problem when I upgraded it to 2020, and I use this convention in one of my monster scripts to help group properties together.


Top
 Profile Send private message 
 
 Re: Properties with multiple . characters not being saved
PostPosted: Wed Aug 12, 2020 7:28 am 
Offline
Veteran
User avatar
I get a little nag pop up for being on an old SexScripts version :oops:

Do properties have to be of the format

scriptname.propertyname

i.e. only one . is allowed?

I sometimes use

scriptname.propertyname.subpropertyname

SexScripts used to allow more .'s but maybe I missed a change.

If only one . is allowed, then I will need to update my scripts to get onto the latest version.

Or is this something Doti can add back into SexScripts?


Top
 Profile Send private message 
 
 Re: Properties with multiple . characters not being saved
PostPosted: Wed Aug 12, 2020 8:37 pm 
Offline
Site Admin
User avatar
No, you can add multiple dots to the property name.

I tested succesfully this code :
Code:
save("scriptname.thing1.thing2", 0)


Perhaps you did this, the result changed in v1.25 (2018) :
Code:
save("scriptname.thing1.thing2", 0)
save("scriptname.thing1", 0) // now erase everything


Top
 Profile Send private message 
 
 Re: Properties with multiple . characters not being saved
PostPosted: Wed Aug 12, 2020 9:41 pm 
Offline
Veteran
User avatar
Thanks, Yes, that would be it.

So I could update to not use "scriptname.thing1" and to a global replace of e.g. "scriptname.thing1" "scriptname.thing1.something"

I will give it a try


Top
 Profile Send private message 
 
 Re: Properties with multiple . characters not being saved
PostPosted: Thu Aug 13, 2020 3:28 pm 
Offline
Veteran
User avatar
Thanks for the reply Doti, it was very useful to know what the nature of the change was so I could make the right modification to my scripts. I did the update I suggested above and am now good and working on the latest SexScripts version 8-)


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] 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:  


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.