Mod Ren'Py Universal Ren'Py Mod / URM [2.6.2] (mod any Ren'Py game yourself)

5.00 star(s) 49 Votes

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,303
712
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "0x52-URM/classes/main.rpy", line 33, in <module>
  File "0x52-URM/classes/textbox.rpy", line 14, in __init__
TypeError: Can't instantiate abstract class Character with abstract methods name, profile_pictures, username

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

Full traceback:
  File "0x52-URM/classes/main.rpyc", line 18, in script
  File "D:\Assassins Creed II\saves\CollegeKings2-5.0.0-pc\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Assassins Creed II\saves\CollegeKings2-5.0.0-pc\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "0x52-URM/classes/main.rpy", line 33, in <module>
  File "0x52-URM/classes/textbox.rpy", line 14, in __init__
TypeError: Can't instantiate abstract class Character with abstract methods name, profile_pictures, username

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.1.24030407
College Kings 2 5.0.0
Thu May 23 16:59:58 2024
Check a few posts before yours
 
  • Like
Reactions: Feyd

CurtimusPrime92

Active Member
Jul 17, 2020
589
464
152
Reporting an issue
When reporting an issue with URM, please include the information below:
  • Are you using the latest version of URM? YES 2.1.4
  • Which game has the issue (preferable a link to the game's thread) Earth's Last Guardian
  • If it's a crash (grey screen) attach the "traceback.txt" file ATTACHED TRACEBACK
  • What did you do that caused the issue? trying to save .urm file
  • Attach a screenshot of the issue (if possible) N/A
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:" N/A
  • What OS are you on? Windows 10 Home 22H2
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)? NO OTHER MODS
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,303
712
Reporting an issue
When reporting an issue with URM, please include the information below:
  • Are you using the latest version of URM? YES 2.1.4
  • Which game has the issue (preferable a link to the game's thread) Earth's Last Guardian
  • If it's a crash (grey screen) attach the "traceback.txt" file ATTACHED TRACEBACK
  • What did you do that caused the issue? trying to save .urm file
  • Attach a screenshot of the issue (if possible) N/A
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:" N/A
  • What OS are you on? Windows 10 Home 22H2
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)? NO OTHER MODS
For some reason they disabled the persistent save dir for this game. Meaning nothing is saved in %APPDATA% and if you delete the "saves" folder inside the game's folder, you saves are gone.

You could fix this by opening the file "options.rpy".
Look for the line define config.save_directory = None and replace it with define config.save_directory = 'EarthsLastGuardian' (or something else if you prefer)
 
  • Like
Reactions: Feyd

Connoisseur NTR

Active Member
Nov 17, 2020
800
721
247
Reporting an issue
When reporting an issue with URM, please include the information below:
  • Are you using the latest version of URM? YES
  • Which game has the issue (preferable a link to the game's thread) Lust and Power
  • If it's a crash (grey screen) attach the "traceback.txt" file ATTACHED TRACEBACK
  • What did you do that caused the issue? Searching variables
  • Attach a screenshot of the issue (if possible) N/A
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:" N/A
  • What OS are you on? Windows
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)? NO
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,303
712
Does it work with joiplay
Yes. As mentioned in the OP

anyone know how to freeze the code?
What do you mean?

Reporting an issue
When reporting an issue with URM, please include the information below:
  • Are you using the latest version of URM? YES
  • Which game has the issue (preferable a link to the game's thread) Lust and Power
  • If it's a crash (grey screen) attach the "traceback.txt" file ATTACHED TRACEBACK
  • What did you do that caused the issue? Searching variables
  • Attach a screenshot of the issue (if possible) N/A
  • When URM gave an error (not a grey crash screen), check the log.txt file for lines starting with "0x52:" N/A
  • What OS are you on? Windows
  • Do you have any other mods installed? Does the issue still exist without the other mod(s)? NO
See:
AttributeError: 'ADVCharacter' object has no attribute '_getframe'

When you get this exception (just showing it partially here):
return SetDict(sys._getframe(1).f_locals, name, value)
AttributeError: 'ADVCharacter' object has no attribute '_getframe'

This is caused when a developer assigned something to Ren'Py's "sys".
By doing this they broke Ren'Py itself. You can fix this using these instructions.
 
  • Like
Reactions: Feyd

forgotp

Member
Nov 4, 2019
468
501
281
Errors when using it with https://f95zone.to/threads/lust-and-power-v0-66-regular-lurking-hedgehog.3882/
throws errors on loading any save and on starting new game, works fine if I remove 0x52_URM.rpa
tried using both 2.0.3 and 2.1.4 versions
```

I'm sorry, but an uncaught exception occurred.


While running game code:

File "renpy/common/000statements.rpy", line 670, in execute_call_screen

store._return = renpy.call_screen(name, *args, **kwargs)

File "renpy/common/00action_data.rpy", line 186, in SetLocalVariable

return SetDict(sys._getframe(1).f_locals, name, value)

AttributeError: 'ADVCharacter' object has no attribute '_getframe'


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


Full traceback:

File "_stock/home/myroom/myroom.rpyc", line 73, in script

File ".\Lust_and_Power-0.66\renpy\ast.py", line 2259, in execute

self.call("execute")

File ".\Lust_and_Power-0.66\renpy\ast.py", line 2241, in call

return renpy.statements.call(method, parsed, *args, **kwargs)

File ".\Lust_and_Power-0.66\renpy\statements.py", line 342, in call

return method(parsed, *args, **kwargs)

File "renpy/common/000statements.rpy", line 670, in execute_call_screen

store._return = renpy.call_screen(name, *args, **kwargs)

File ".\Lust_and_Power-0.66\renpy\exports.py", line 3347, in call_screen

rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)

File ".\Lust_and_Power-0.66\renpy\ui.py", line 299, in interact

rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 3582, in interact

repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 4055, in interact_core

root_widget.visit_all(lambda d : d.per_interact())

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 684, in visit_all

d.visit_all(callback, seen)

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 684, in visit_all

d.visit_all(callback, seen)

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 684, in visit_all

d.visit_all(callback, seen)

File ".\Lust_and_Power-0.66\renpy\display\screen.py", line 476, in visit_all

callback(self)

File ".\Lust_and_Power-0.66\renpy\display\core.py", line 4055, in <lambda>

root_widget.visit_all(lambda d : d.per_interact())

File ".\Lust_and_Power-0.66\renpy\display\screen.py", line 487, in per_interact

self.update()

File ".\Lust_and_Power-0.66\renpy\display\screen.py", line 680, in update

self.screen.function(**self.scope)

File "0x52-URM/screens/main.rpy.x52", line 20, in execute

File "0x52-URM/screens/main.rpy.x52", line 20, in execute

File "0x52-URM/screens/main.rpy.x52", line 37, in execute

File "0x52-URM/screens/main.rpy.x52", line 42, in execute

File "0x52-URM/screens/main.rpy.x52", line 49, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 28, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 28, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 35, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 42, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 75, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 76, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 80, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 88, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 89, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 90, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 92, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 99, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 100, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 103, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 109, in execute

File "0x52-URM/screens/watchpanel.rpy.x52", line 109, in keywords

File "0x52-URM/screens/watchpanel.rpy.x52", line 109, in <module>

File "renpy/common/00action_data.rpy", line 186, in SetLocalVariable

return SetDict(sys._getframe(1).f_locals, name, value)

AttributeError: 'ADVCharacter' object has no attribute '_getframe'


Windows-10

Ren'Py 8.1.4.23102801+nightly

Lust and Power 0.66


```
 

k1bell

Newbie
Sep 15, 2017
72
133
160
Weird, I am having an issue finding certain variables in the game D'Legacy
I can't seem to find the variables in the image, I can see it in the console, but I can't find a way to modify them or find them in URM.

Screenshot 2024-05-30 193857.jpg
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,303
712
Weird, I am having an issue finding certain variables in the game D'Legacy
I can't seem to find the variables in the image, I can see it in the console, but I can't find a way to modify them or find them in URM.

View attachment 3685680
I assume you would have to search of either "p_need" or "now" and you can then expand the variable.
URM online searches 2 levels deep, what you're seeing is 3 levels deep.
 
  • Like
Reactions: kidderyao and Feyd

k1bell

Newbie
Sep 15, 2017
72
133
160
I assume you would have to search of either "p_need" or "now" and you can then expand the variable.
URM online searches 2 levels deep, what you're seeing is 3 levels deep.
No results for "p_need" and unrelated results for "now".
Screenshot 2024-06-01 173646.jpg
Screenshot 2024-06-01 173717.jpg
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,303
712

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,774
7,303
712
URM 2.2: Custom quickmenu
Its been a while since the last major URM update, but here we are again. The important new feature here it the possibility to add a custom quickmenu to every game. There are a couple of possible options to configure:
  • Alignment/positioning
  • Orientation: horizontal/vertical
  • Which buttons to show
  • Auto hide: only shows the quickmenu when your mousepointer is in the area
  • Style: Ren'py's default style, URM buttons, URM iconbuttons or Icons only
screenshot0013.png screenshot0012.png screenshot0016.png
 
Jul 31, 2020
208
357
170
It would be useful if you could choose the key which toggles the watchpanel on/off.
I use this with SanchoMod and that has "M" designated to its menu.

Anyways, great update. Thanks.
 
5.00 star(s) 49 Votes