am220663

New Member
Apr 21, 2024
9
2
70
Sorry for the English, this is translated. I've been looking at the error, and what I've seen is that `punishment_game.rpy` performs a check to see if Debbie's level is greater than 6, which is why the `if` statement doesn't proceed past that point and disables the clothing.
I've fixed it by disabling the check, although I think using an equals sign would also solve it. The lines in question are 8039, 8049, 8060, and 8070. On all of them, I commented out `#-and debbie.lvl < 6:`, and it works like that. The game version is 0.17.1 beta; this error didn't exist in previous versions.

Using <= (less than or equal to) also works and we don’t remove the check. The line would look like this:
if greyed == False and debbie.lvl <= 6:

This would allow the content to trigger when Debbie's level is exactly 6, which was likely the original intention. Using <= is better than completely removing the level check, as it preserves the game's progression logic while fixing the bug you found.
 
Last edited:
  • Like
Reactions: Alex Sandro

ccxvidonaferens

Active Member
May 25, 2022
826
1,029
293
Sorry for the English, this is translated. I've been looking at the error, and what I've seen is that `punishment_game.rpy` performs a check to see if Debbie's level is greater than 6, which is why the `if` statement doesn't proceed past that point and disables the clothing.
I've fixed it by disabling the check, although I think using an equals sign would also solve it. The lines in question are 8039, 8049, 8060, and 8070. On all of them, I commented out `#-and debbie.lvl < 6:`, and it works like that. The game version is 0.17.1 beta; this error didn't exist in previous versions.

Using <= (less than or equal to) also works and we don’t remove the check. The line would look like this:
if greyed == False and debbie.lvl <= 6:

This would allow the content to trigger when Debbie's level is exactly 6, which was likely the original intention. Using <= is better than completely removing the level check, as it preserves the game's progression logic while fixing the bug you found.
This has already been fixed in the 17.2 version released friday 19th dec that has not yet been leaked here.
 

ThePixelBrit

New Member
Mar 15, 2020
11
1
177
i might be a bit dense here as i am having the same issues, how do you get to skip the help Amy part, i just get to the punishment and no further.
I had to reload an earlier save and go through her events again until the bondage in class punishment scene was done.
After this wait for her to be late again and punish her privately, this will allow you to raise her to level 3 and give the option to 'help' her again after the punishment.
You'll then be able to do the full punishment after she runs into Faye.
 
  • Like
Reactions: TheDevian

george1952

Newbie
Feb 23, 2018
31
2
265
There is a cheat menu built into the replay screen.
On the school map screen, top right, you can see the replay button.
Now you should be able to see a red button saying, don't press me!
Press it three times to see the cheat menu.

Note: The replay screen doesn't appear in-game until after the intro and day 1.
there is an exeption won't open
 

nemisis870

Newbie
Dec 9, 2020
18
2
219
I had to reload an earlier save and go through her events again until the bondage in class punishment scene was done.
After this wait for her to be late again and punish her privately, this will allow you to raise her to level 3 and give the option to 'help' her again after the punishment.
You'll then be able to do the full punishment after she runs into Faye.
ahh nice one that makes sense, cheers for the help
 

samarcus

Member
Jul 3, 2021
105
380
203
sorry, Antwit . I would have done a PDF document but it turns out you need to pay to edit PDFs and money is not something I have a lot. You're welcome to do it if you want, of course.

I don't know if this has been mentioned, you can create a Word document that you can edit all you want and CONVERT it to PDF.
 

boobies!

Member
Oct 29, 2017
105
223
297
I don't know if this has been mentioned, you can create a Word document that you can edit all you want and CONVERT it to PDF.
:unsure: why 'Word'. Any document editor on any platform can be converted to PDF. Print to PDF, Save to PDF, a multitude of free PDF tools you could download.
 

kinkhunter

Newbie
Apr 22, 2020
54
67
195
a lot of errors ;/
can someone explain what happend here ?
```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/monday.rpy", line 1122, in script call
File "game/monday.rpy", line 94, in script call
File "game/monday.rpy", line 912, in script call
File "game/monday.rpy", line 2669, in script call
File "game/monday.rpy", line 4563, in script call
File "game/monday.rpy", line 377, in script call
File "game/monday.rpy", line 377, in script call
File "game/events.rpy", line 4025, in script call
File "game/monday.rpy", line 3708, in script call
File "game/monday.rpy", line 5165, in script call
File "game/monday.rpy", line 597, in script call
File "game/monday.rpy", line 1733, in script call
File "game/monday.rpy", line 4676, in script call
File "game/monday.rpy", line 5165, in script call
File "game/monday.rpy", line 5372, in script call
File "game/monday.rpy", line 4676, in script call
File "game/monday.rpy", line 2036, in script call
File "game/monday.rpy", line 2344, in script call
File "game/monday.rpy", line 2344, in script call
File "game/monday.rpy", line 2344, in script call
File "game/monday.rpy", line 377, in script call
File "game/monday.rpy", line 597, in script call
File "game/monday.rpy", line 1178, in script call
File "game/monday.rpy", line 2036, in script call
File "game/monday.rpy", line 2036, in script call
File "game/monday.rpy", line 2956, in script call
File "game/monday.rpy", line 597, in script call
File "game/monday.rpy", line 597, in script call
File "game/monday.rpy", line 1749, in script call
File "game/monday.rpy", line 2036, in script call
File "game/monday.rpy", line 3170, in script call
File "game/events.rpy", line 4028, in script call
File "game/monday.rpy", line 5165, in script call
File "game/monday.rpy", line 5372, in script call
File "game/events.rpy", line 4019, in script call
File "game/monday.rpy", line 3134, in script call
File "game/events.rpy", line 4031, in script call
File "game/monday.rpy", line 1749, in script call
File "game/monday.rpy", line 2036, in script call
File "game/monday.rpy", line 2344, in script call
File "game/monday.rpy", line 4047, in script call
File "game/monday.rpy", line 4047, in script call
File "game/monday.rpy", line 912, in script call
File "game/monday.rpy", line 1891, in script call
File "game/dse-event_dispatcher.rpy", line 297, in script call
File "game/liz_PS.rpy", line 2117, in script
File "game/Twins_PS.rpy", line 3197, in execute
File "game/Twins_PS.rpy", line 3197, in execute
File "game/Twins_PS.rpy", line 3296, in execute
File "game/Twins_PS.rpy", line 3326, in execute
File "game/Twins_PS.rpy", line 3327, in execute
File "game/Twins_PS.rpy", line 3329, in execute
File "game/Twins_PS.rpy", line 3333, in execute
File "game/Twins_PS.rpy", line 3333, in keywords
File "game/Twins_PS.rpy", line 3333, in <module>
IndexError: string index out of range

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

Traceback (most recent call last):
File "game/monday.rpy", line 1122, in script call
File "game/monday.rpy", line 94, in script call
File "game/monday.rpy", line 912, in script call
File "game/monday.rpy", line 2669, in script call
File "game/monday.rpy", line 4563, in script call
File "game/monday.rpy", line 377, in script call
File "game/monday.rpy", line 377, in script call
File "game/events.rpy", line 4025, in script call
File "game/monday.rpy", line 3708, in script call
File "game/monday.rpy", line 5165, in script call
File "game/monday.rpy", line 597, in script call
File "game/monday.rpy", line 1733, in script call
File "game/monday.rpy", line 4676, in script call
File "game/monday.rpy", line 5165, in script call
File "game/monday.rpy", line 5372, in script call
File "game/monday.rpy", line 4676, in script call
File "game/monday.rpy", line 2036, in script call
File "game/monday.rpy", line 2344, in script call
File "game/monday.rpy", line 2344, in script call
File "game/monday.rpy", line 2344, in script call
File "game/monday.rpy", line 377, in script call
File "game/monday.rpy", line 597, in script call
File "game/monday.rpy", line 1178, in script call
File "game/monday.rpy", line 2036, in script call
File "game/monday.rpy", line 2036, in script call
File "game/monday.rpy", line 2956, in script call
File "game/monday.rpy", line 597, in script call
File "game/monday.rpy", line 597, in script call
File "game/monday.rpy", line 1749, in script call
File "game/monday.rpy", line 2036, in script call
File "game/monday.rpy", line 3170, in script call
File "game/events.rpy", line 4028, in script call
File "game/monday.rpy", line 5165, in script call
File "game/monday.rpy", line 5372, in script call
File "game/events.rpy", line 4019, in script call
File "game/monday.rpy", line 3134, in script call
File "game/events.rpy", line 4031, in script call
File "game/monday.rpy", line 1749, in script call
File "game/monday.rpy", line 2036, in script call
File "game/monday.rpy", line 2344, in script call
File "game/monday.rpy", line 4047, in script call
File "game/monday.rpy", line 4047, in script call
File "game/monday.rpy", line 912, in script call
File "game/monday.rpy", line 1891, in script call
File "game/dse-event_dispatcher.rpy", line 297, in script call
File "game/liz_PS.rpy", line 2117, in script
File "renpy/ast.py", line 1581, in execute
renpy.exports.with_statement(trans, paired=paired)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "renpy/exports/statementexports.py", line 260, in with_statement
return renpy.game.interface.do_with(trans, paired, clear=clear)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/core.py", line 1579, in do_with
return self.interact(
~~~~~~~~~~~~~^
trans_pause=True, suppress_overlay=not renpy.config.overlay_during_with, mouse="with", clear=clear
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "renpy/display/core.py", line 2219, in interact
repeat, rv = self.interact_core(
~~~~~~~~~~~~~~~~~~^
preloads=preloads,
^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
) # type: ignore
^
File "renpy/display/core.py", line 2757, in interact_core
root_widget.visit_all(lambda d: d.per_interact())
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 432, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 432, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 432, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
[Previous line repeated 1 more time]
File "renpy/display/screen.py", line 503, in visit_all
callback(self)
~~~~~~~~^^^^^^
File "renpy/display/core.py", line 2757, in <lambda>
root_widget.visit_all(lambda d: d.per_interact())
~~~~~~~~~~~~~~^^
File "renpy/display/screen.py", line 514, in per_interact
self.update()
~~~~~~~~~~~^^
File "renpy/display/screen.py", line 715, in update
self.screen.function(**self.scope)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "game/Twins_PS.rpy", line 3197, in execute
File "game/Twins_PS.rpy", line 3197, in execute
File "game/Twins_PS.rpy", line 3296, in execute
File "game/Twins_PS.rpy", line 3326, in execute
File "game/Twins_PS.rpy", line 3327, in execute
File "game/Twins_PS.rpy", line 3329, in execute
File "game/Twins_PS.rpy", line 3333, in execute
File "game/Twins_PS.rpy", line 3333, in keywords
File "renpy/python.py", line 1292, in py_eval
return py_eval_bytecode(code, globals, locals)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/python.py", line 1285, in py_eval_bytecode
return eval(bytecode, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "game/Twins_PS.rpy", line 3333, in <module>
IndexError: string index out of range

Ren'Py 8.4.1.25072401
The Headmaster 0.17.1beta
Tue Dec 23 23:29:16 2025
```
 

samarcus

Member
Jul 3, 2021
105
380
203
:unsure: why 'Word'. Any document editor on any platform can be converted to PDF. Print to PDF, Save to PDF, a multitude of free PDF tools you could download.
Word (and all of the knock-offs) is just the most commonly available thing I was sure someone would recognize. His chief complaint was editing PDFs, which costs a lot... but only if you want to directly edit a PDF rather than just edit something else and save it as PDF, which can be all of free with things like OpenOffice.

Fun fact: Word was not invented by Microsoft. Before MS even considered it, there was Enable Software and they had those titles.
 

gamzheka999

New Member
Apr 22, 2025
2
0
71
Sorry for the English, this is translated. I've been looking at the error, and what I've seen is that `punishment_game.rpy` performs a check to see if Debbie's level is greater than 6, which is why the `if` statement doesn't proceed past that point and disables the clothing.
I've fixed it by disabling the check, although I think using an equals sign would also solve it. The lines in question are 8039, 8049, 8060, and 8070. On all of them, I commented out `#-and debbie.lvl < 6:`, and it works like that. The game version is 0.17.1 beta; this error didn't exist in previous versions.

Using <= (less than or equal to) also works and we don’t remove the check. The line would look like this:
if greyed == False and debbie.lvl <= 6:

This would allow the content to trigger when Debbie's level is exactly 6, which was likely the original intention. Using <= is better than completely removing the level check, as it preserves the game's progression logic while fixing the bug you found.
where its located i cant find the "punishment_game.rpy"
 

am220663

New Member
Apr 21, 2024
9
2
70
Donde está ubicado no puedo encontrar el "punishment_game.rpy"
[/CITA]

se encuentra en el directorio del juego \TheHeadmaster-0.17.1beta-pc\game\punishment_game.rpy
The files you have are likely .rpa, so you'll need to extract them to view them. The program I use for extraction is rpa Extract.exe, and it works well. Extract the script.rpa file with it, and you'll see the contents.
 
Last edited:
4.50 star(s) 296 Votes