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
 Sending null value to an online variable
PostPosted: Mon Mar 26, 2018 12:35 am 
Offline
Veteran
User avatar
I've noticed a lot of new instances of null errors, and seem to have tracked down the source: sending a null value to an online variable.

In the past, I used this method to clear a variable. For example, when a "slot" wasn't needed and I wanted to open it up for another user. That worked great, but now it seems to throw errors. I'm guessing the scripts still have places where this happens, and I need to go back looking for them.

I've been re-writing things to send an empty string to reset instead of null. Is this a bug, or is it supposed to throw an exception when you set a variable to null? I found it a very handy to for resetting variables.


Top
 Profile Send private message 
 
 Re: Sending null value to an online variable
PostPosted: Mon Mar 26, 2018 9:17 am 
Offline
Addict
Hi ptdw,

there's a error-report on this already. Found in the 'Interrogation-script'. See https://ss.deviatenow.com/viewtopic.php?f=6&t=743&p=6163#p6163


Top
 Profile Send private message 
 
 Re: Sending null value to an online variable
PostPosted: Mon Mar 26, 2018 3:03 pm 
Offline
Veteran
User avatar
cgut2001 wrote:
Hi ptdw,

there's a error-report on this already. Found in the 'Interrogation-script'. See https://ss.deviatenow.com/viewtopic.php?f=6&t=743&p=6163#p6163


Thanks! I was thinking we're going to have to do a LOT of re-writing if this is permanent. I've fixed a couple scripts, but I'm sure there are many, many more occurrences.


Top
 Profile Send private message 
 
 Re: Sending null value to an online variable
PostPosted: Tue Mar 27, 2018 3:46 pm 
Offline
Site Admin
User avatar
Sending only null was not erasing the value, so it was a bug.

It should be correct now with the last release of SexScripts.


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 5 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.