SexScripts : Sending null value to an online variable - https://ss.deviatenow.com:443/viewtopic.php?f=4&t=750 Page 1 of 1

Sending null value to an online variable

ptdw [ Mon Mar 26, 2018 12:35 am ]

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.

Re: Sending null value to an online variable

cgut2001 [ Mon Mar 26, 2018 9:17 am ]

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

Re: Sending null value to an online variable

ptdw [ Mon Mar 26, 2018 3:03 pm ]

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.

Re: Sending null value to an online variable

doti [ Tue Mar 27, 2018 3:46 pm ]

Sending only null was not erasing the value, so it was a bug.

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

Page 1 of 1 All times are UTC + 1 hour [ DST ]
https://ss.deviatenow.com:443/
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2011