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

5.00 star(s) 37 Votes

theMickey_

Engaged Member
Mar 19, 2020
2,195
2,829
Any solution ?
I think it's because mod detection in College Kings 2 5.0.0 version
Hello, I have this error with the first act of College Kings.
Ill apreciate any help, this game has a lot of variables
It's the same error in College Kings 1 and College Kings 2, and 0x52 already responded to this (last part of the linked message): the College King developers broke Ren'Py itself, and there's no easy fix for that. Please go ask the developers of College Kings to fix their code.
 
  • Like
Reactions: 0x52

Dr Huge Vee

Member
Nov 18, 2021
214
218
It's the same error in College Kings 1 and College Kings 2, and 0x52 already responded to this (last part of the linked message): the College King developers broke Ren'Py itself, and there's no easy fix for that. Please go ask the developers of College Kings to fix their code.
What nooooooooo I never play games without this mod
 

MQH

Newbie
Jan 28, 2018
31
16
Works fine on my side. I would assume it's caused by another mod.
See also:

Work fine on my side.
Did you load a game or start a new game?
See also:
I tried everything there and nothing works. I find a temporary fix though by turning on the watch panel globally and it works with most of the game I am unable to call the panel with the short cut. Not sure what's happening.

Update: Restarted my computer and then worked smoothly. Not sure why.
 
Last edited:

subaru4711171

New Member
Nov 22, 2023
10
0
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
 

0x52

Ren'Py Magician
Modder
Donor
Game Developer
May 23, 2019
1,674
6,504
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
Jul 17, 2020
403
278
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,674
6,504
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
788
646
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,674
6,504
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
397
416
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


```
 
5.00 star(s) 37 Votes