SexScripts : Start up error - https://ss.deviatenow.com:443/viewtopic.php?f=4&t=1031 Page 1 of 1

Start up error

taylors1643 [ Sun Mar 28, 2021 1:52 pm ]

Hi,

I'm now putting all the pieces of my script together. It was separate before for testing. I got the following error. My guess is that the script is actually too big?? it's 4179 lines long.


Is there anyway to solve this or do I need to split the script up?

edit*** looking at other scripts such as Discipline Clinic, it's not too big. But I have found that if I delete around 1/4 of the script it works fine???

edit***** I've solved the issue. I think I had too many if and while expressions inside each other. I studied some large existing scripts and changed the logic system I used to navigate the script.

Thanks,
Steve

Attachments:
Error.JPG
Error.JPG [ 91.33 KiB | Viewed 5809 times ]

Re: Start up error

csuju [ Mon Apr 05, 2021 1:49 pm ]

I know you said you fixed it, but for future reference, it looks like it was your *method* that was too long, not your actual script file.

Just break the method down into several methods and you should hopefully be okay.

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