- Aug 21, 2018
- 430
- 176
For those that want to remove the checks and be able to cheat as one should in an indie AVN, place this file in game\script\Setting (create the subfolders manually). Do not forget to rename the file to function.rpy (remove the numbers in front) .
I've had no issues so far, although, my game has been unrenned and unrpyced first.
If it causes issues let me know, but so far, no issues here.
I'll update this file here as I find more checks and remove them
I basically made it so the condition check for cheating, is impossible to achieve. This should cause no issues.
Code:
```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/000statements.rpy", line 569, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "renpy/common/00action_other.rpy", line 537, in __call__
rv = self.callable(*self.args, **self.kwargs)
File "game/script/Inventory/SubMenuAction.rpy", line 154, in ClickInventoryRoom
File "game/script/Inventory/SubMenuAction.rpy", line 175, in Move
NameError: global name 'PlayMusicReset' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "script/Inventory/InventoryRoom.rpyc", line 16, in script
File "renpy/ast.py", line 2015, in execute
self.call("execute")
File "renpy/ast.py", line 2003, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "renpy/statements.py", line 278, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 569, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "renpy/exports.py", line 3136, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 3325, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
File "renpy/display/core.py", line 4160, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/transition.py", line 48, in event
return self.new_widget.event(ev, x, y, st) # E1101
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/screen.py", line 727, in event
rv = self.child.event(ev, x, y, st)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1323, in event
rv = super(Window, self).event(ev, x, y, st)
File "renpy/display/layout.py", line 273, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/layout.py", line 1323, in event
rv = super(Window, self).event(ev, x, y, st)
File "renpy/display/layout.py", line 273, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/behavior.py", line 983, in event
return handle_click(self.clicked)
File "renpy/display/behavior.py", line 918, in handle_click
rv = run(action)
File "renpy/display/behavior.py", line 330, in run
return action(*args, **kwargs)
File "renpy/common/00action_other.rpy", line 537, in __call__
rv = self.callable(*self.args, **self.kwargs)
File "game/script/Inventory/SubMenuAction.rpy", line 154, in ClickInventoryRoom
File "game/script/Inventory/SubMenuAction.rpy", line 175, in Move
NameError: global name 'PlayMusicReset' is not defined
Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Agent17 0.17.3
Mon May 9 10:02:18 2022
```