Find my work on Patreon

© 2019 White Phantom Games.

Aug 31

v0.3 bug

0 comments

If you don't go on a date with neither one this error happens.

[code]

I'm sorry, but an uncaught exception occurred.

 

While running game code:

File "game/script.rpy", line 4180, in script

if Stephnumber == True:

File "game/script.rpy", line 4180, in <module>

if Stephnumber == True:

NameError: name 'Stephnumber' is not defined

 

-- Full Traceback ------------------------------------------------------------

 

Full traceback:

File "game/script.rpy", line 4180, in script

if Stephnumber == True:

File "C:\Users\pc\Desktop\DefendingLydiaCollier-v0.3-win\renpy\ast.py", line 1760, in execute

if renpy.python.py_eval(condition):

File "C:\Users\pc\Desktop\DefendingLydiaCollier-v0.3-win\renpy\python.py", line 1944, in py_eval

return py_eval_bytecode(code, globals, locals)

File "C:\Users\pc\Desktop\DefendingLydiaCollier-v0.3-win\renpy\python.py", line 1937, in py_eval_bytecode

return eval(bytecode, globals, locals)

File "game/script.rpy", line 4180, in <module>

if Stephnumber == True:

NameError: name 'Stephnumber' is not defined

 

Windows-8-6.2.9200

Ren'Py 7.1.1.929

Defending Lydia Collier v0.3

Sat Aug 31 19:29:42 2019

[/code]

 

Sep 2Edited: Sep 2

Thank you for bringing this to my attention.

 

This has been solved and I will release a v.031 update shortly with this fixed, I'll just wait and see if any more appear before putting it out.

 

If you do not want to download the game again and you are able to edit the script. Adding default Stephnumber = False at the start of the day will fix the problem.

 

Alternatively you should be able to ignore this screen and it will not cause future bugs, just you will have the ability to try and go on both dates and if you try and do this it will default to Steph's date.

New Posts
  • I just wanna say thank you for making your games free. I was feeling bored and want to kill some time with a random sex game and later stumble Defending Lydia Collier and I gotta say that the story was interesting. I played sex games before but this one is where I was more invested in the story then the sex. This is weird for me to writing this but I just wanna write something to show that I appreciate you, my guy. Keep up with the good work.
  • There is a bug whereby in Day 3 you may come across an error that "Question" is either not defined or not defaulted, or "Fleurquestion" is not defined. This is caused by an error on my part of originally trying to use "Question" as a flag, which cannot be done as it is part of Ren'Py's own coding. In the release of v.01 this wasn't a problem as although the flag was there it was unused. In Day 3 it can cause an issue though if it is called upon. Symptoms: Either a Ren'Py Grey Screen or you miss the x55 Content regarding Fleur and "The White Company" despite having selected the Marriage Certificate as the suspicious document in v.01. If you have seen the x55 Content or you did not select Marriage Certificate you will not have this bug and don't need to do anything. How to fix: The flag is set when you open Ellie's email on Day 2 to look at the different documents. If your save is a v.01 save and beyond this point, "Question" will be set. What you need to do to fix this: Rollback the game to before you open the email. Create a new save. Exit and reload the game. Open Ellie's email. It will now use the new script and set "Fleurquestion" instead and you will not have any problems. If you cannot rollback your save, you need to restart, use tab to skip the text back to the point you were at. Future problems if you ignore it: You will not have access to the x55 content which provides a big clue to helping Lydia's case.
  • I've made a small area of the website where you can post and questions to get certain paths and routes if you feel like you have missed something, and also the place to share bug reports. This way other people can see if they have the same bug and then I will reply here to acknowledge that I'm aware of it. Have something to say? Leave a comment or share a post! I'll still be active everywhere else, and if you DM me a bug on Patreon or in the comments then I'll upload it here so other people can see the progress of them. Of course I try and fix everything before it comes out, but if one slips through, put it here! White Phantom