Mod Cheat Mod Ren'Py Superheroes Suck [1.851 Public] Multi-Mod [ShaddyModda]

5.00 star(s) 2 Votes

KeShane

Member
Jun 3, 2020
301
230
This is a good example of a bad way to mod a game.
And a good example of why F95 should keep at least two game versions available.

This mod breaks the current game version. In fact, even just the cheat files break it even though you don't overwrite scripts (which a mod SHOULD NEVER DO).

I took it upon myself to patch the cheat part alone to work with 1.351. But I removed the replay button and ability, because it breaks the game.
Also the walkthrough has to wait

(Edited: few bugs related to the hijacking of the text background transparency)

'' (which a mod SHOULD NEVER DO). ''

I have to disagree, the truth is that users should always use their eyes for wich version a mod is last updated for.
if the mod isn't in terms with the latest version of the game/VN it most of the times means....NO GO.

And that MY FRIEND, is common in mods.
 

deathkiss45

New Member
Sep 8, 2018
2
30
Mod Crashes game on opening.

Tue Nov 22 17:41:16 2022
Windows-10-10.0.22623
Ren'Py 8.0.3.22090809


Bootstrap to the start of init.init took 0.03s
Early init took 0.00s
Loader init took 0.04s
Loading error handling took 0.09s
Loading script took 4.16s
Loading save slot metadata. took 0.06s
Loading persistent took 0.00s
Faled to initialize steam: FileNotFoundError("Could not find module 'D:\\Desktop\\SuperheroesSuck-1.351public-pc\\lib\\py3-windows-x86_64\\steam_api64.dll' (or one of its dependencies). Try using the full path with constructor syntax.")
Set script version to: (8, 0, 3)

Full traceback:
File "game/shaddyMod/ShaddyReplay.rpy", line 12, in script
init python:
File "D:\Desktop\SuperheroesSuck-1.351public-pc\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\Desktop\SuperheroesSuck-1.351public-pc\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/shaddyMod/ShaddyReplay.rpy", line 45, in <module>
ReplayItem("Chrys", "chrys_event_6_a", "/images/bg 6_cs_event7_16.webp", {})
File "game/shaddyMod/ShaddyReplay.rpy", line 35, in __init__
self.pageNum = int(math.floor(len(filter(lambda s: s.character == character, replayItems))/ReplayItem.numberScenes)) + 1
TypeError: object of type 'filter' has no len()
 

Daenerys5539

Newbie
Aug 17, 2016
60
12
Same for me:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/shaddyMod/ShaddyReplay.rpy", line 12, in script
init python:
File "game/shaddyMod/ShaddyReplay.rpy", line 12, in script
init python:
File "game/shaddyMod/ShaddyReplay.rpy", line 45, in <module>
ReplayItem("Chrys", "chrys_event_6_a", "/images/bg 6_cs_event7_16.webp", {})
File "game/shaddyMod/ShaddyReplay.rpy", line 35, in __init__
self.pageNum = int(math.floor(len(filter(lambda s: s.character == character, replayItems))/ReplayItem.numberScenes)) + 1
TypeError: object of type 'filter' has no len()

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

Full traceback:
File "C:\***\SuperheroesSuck-1.351public-pc\renpy\bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "C:\***\SuperheroesSuck-1.351public-pc\renpy\main.py", line 558, in main
renpy.game.context().run(node)
File "game/shaddyMod/ShaddyReplay.rpy", line 12, in script
init python:
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_
File "game/shaddyMod/ShaddyReplay.rpy", line 12, in script
init python:
File "C:\***\SuperheroesSuck-1.351public-pc\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\***\SuperheroesSuck-1.351public-pc\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/shaddyMod/ShaddyReplay.rpy", line 45, in <module>
ReplayItem("Chrys", "chrys_event_6_a", "/images/bg 6_cs_event7_16.webp", {})
File "game/shaddyMod/ShaddyReplay.rpy", line 35, in __init__
self.pageNum = int(math.floor(len(filter(lambda s: s.character == character, replayItems))/ReplayItem.numberScenes)) + 1
TypeError: object of type 'filter' has no len()

Windows-10-10.0.22621 AMD64
Ren'Py 8.0.3.22090809
Superheroes Suck 1.351public
Wed Nov 23 12:28:23 2022
 

TheLibrarian

New Member
Dec 31, 2020
2
3
File "game/shaddyMod/ShaddyReplay.rpy", line 35, in __init__
self.pageNum = int(math.floor(len(filter(lambda s: s.character == character, replayItems))/ReplayItem.numberScenes)) + 1
TypeError: object of type 'filter' has no len()
Replace the above line with :-

self.pageNum = int(math.floor(len(list(filter(lambda s: s.character == character, replayItems)))/ReplayItem.numberScenes)) + 1

Oh, take care of indentation (spaces not tabs).
 

TheLibrarian

New Member
Dec 31, 2020
2
3
Replace the above line with :-

self.pageNum = int(math.floor(len(list(filter(lambda s: s.character == character, replayItems)))/ReplayItem.numberScenes)) + 1

Oh, take care of indentation (spaces not tabs).
Sigh, or maybe not ! (Reminds myself to test game fully before posting).
 

Thanna

Newbie
Mar 29, 2020
73
41
Replace the above line with :-

self.pageNum = int(math.floor(len(list(filter(lambda s: s.character == character, replayItems)))/ReplayItem.numberScenes)) + 1

Oh, take care of indentation (spaces not tabs).
Work Thx for your help ! <3

Okay sry Game start after this bus when i start new game come this!

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 571, in script
"{b}Superheroes Suck{/b} is an adult game meant to be played by adults."
File "game/script.rpy", line 571, in script
"{b}Superheroes Suck{/b} is an adult game meant to be played by adults."
File "game/shaddyMod/ShaddyScreens.rpy", line 439, in execute
screen say(who, what):
File "game/shaddyMod/ShaddyScreens.rpy", line 439, in execute
screen say(who, what):
File "game/shaddyMod/ShaddyScreens.rpy", line 442, in execute
window:
File "game/shaddyMod/ShaddyScreens.rpy", line 451, in execute
if persistent.say_window_alpha < 0.6:
File "game/shaddyMod/ShaddyScreens.rpy", line 451, in <module>
if persistent.say_window_alpha < 0.6:
TypeError: '<' not supported between instances of 'NoneType' and 'float'

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

Full traceback:
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\main.py", line 660, in main
run(restart)
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\main.py", line 146, in run
renpy.execution.run_context(True)
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\execution.py", line 938, in run_context
context.run()
File "game/script.rpy", line 571, in script
"{b}Superheroes Suck{/b} is an adult game meant to be played by adults."
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_
File "game/script.rpy", line 571, in script
"{b}Superheroes Suck{/b} is an adult game meant to be played by adults."
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\ast.py", line 921, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\exports.py", line 1373, in say
who(what, *args, **kwargs)
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\character.py", line 1266, in __call__
self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\character.py", line 927, in do_display
display_say(who,
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\character.py", line 614, in display_say
what_text = renpy.display.screen.get_widget(what_text[0], what_text[1], what_text[2])
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\display\screen.py", line 1386, in get_displayable
screen.update()
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\display\screen.py", line 653, in update
self.screen.function(**self.scope)
File "game/shaddyMod/ShaddyScreens.rpy", line 439, in execute
screen say(who, what):
File "game/shaddyMod/ShaddyScreens.rpy", line 439, in execute
screen say(who, what):
File "game/shaddyMod/ShaddyScreens.rpy", line 442, in execute
window:
File "game/shaddyMod/ShaddyScreens.rpy", line 451, in execute
if persistent.say_window_alpha < 0.6:
File "game/shaddyMod/ShaddyScreens.rpy", line 451, in <module>
if persistent.say_window_alpha < 0.6:
TypeError: '<' not supported between instances of 'NoneType' and 'float'

Windows-10-10.0.19044 AMD64
Ren'Py 8.0.3.22090809
Superheroes Suck 1.351public
Wed Nov 23 14:27:48 2022
 

frap

Active Member
Oct 17, 2018
841
3,743
Work Thx for your help ! <3

Okay sry Game start after this bus when i start new game come this!

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 571, in script
"{b}Superheroes Suck{/b} is an adult game meant to be played by adults."
File "game/script.rpy", line 571, in script
"{b}Superheroes Suck{/b} is an adult game meant to be played by adults."
File "game/shaddyMod/ShaddyScreens.rpy", line 439, in execute
screen say(who, what):
File "game/shaddyMod/ShaddyScreens.rpy", line 439, in execute
screen say(who, what):
File "game/shaddyMod/ShaddyScreens.rpy", line 442, in execute
window:
File "game/shaddyMod/ShaddyScreens.rpy", line 451, in execute
if persistent.say_window_alpha < 0.6:
File "game/shaddyMod/ShaddyScreens.rpy", line 451, in <module>
if persistent.say_window_alpha < 0.6:
TypeError: '<' not supported between instances of 'NoneType' and 'float'

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

Full traceback:
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\main.py", line 660, in main
run(restart)
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\main.py", line 146, in run
renpy.execution.run_context(True)
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\execution.py", line 938, in run_context
context.run()
File "game/script.rpy", line 571, in script
"{b}Superheroes Suck{/b} is an adult game meant to be played by adults."
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_
File "game/script.rpy", line 571, in script
"{b}Superheroes Suck{/b} is an adult game meant to be played by adults."
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\ast.py", line 921, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\exports.py", line 1373, in say
who(what, *args, **kwargs)
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\character.py", line 1266, in __call__
self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\character.py", line 927, in do_display
display_say(who,
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\character.py", line 614, in display_say
what_text = renpy.display.screen.get_widget(what_text[0], what_text[1], what_text[2])
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\display\screen.py", line 1386, in get_displayable
screen.update()
File "F:\SuperheroesSuck-1.351public-pc\SuperheroesSuck-1.351public-pc\renpy\display\screen.py", line 653, in update
self.screen.function(**self.scope)
File "game/shaddyMod/ShaddyScreens.rpy", line 439, in execute
screen say(who, what):
File "game/shaddyMod/ShaddyScreens.rpy", line 439, in execute
screen say(who, what):
File "game/shaddyMod/ShaddyScreens.rpy", line 442, in execute
window:
File "game/shaddyMod/ShaddyScreens.rpy", line 451, in execute
if persistent.say_window_alpha < 0.6:
File "game/shaddyMod/ShaddyScreens.rpy", line 451, in <module>
if persistent.say_window_alpha < 0.6:
TypeError: '<' not supported between instances of 'NoneType' and 'float'

Windows-10-10.0.19044 AMD64
Ren'Py 8.0.3.22090809
Superheroes Suck 1.351public
Wed Nov 23 14:27:48 2022
Quick fix:

Python:
if persistent.say_window_alpha is None or persistent.say_window_alpha < 0.6:
ShaddyModda Could you add some checking at the start of the function and set the persistent value if it isn't already set? (I forgot about this after the previous version where I added code to do exactly that.)
 
  • Like
Reactions: Normdk and Thanna

ElPapiChris

Newbie
Mar 11, 2018
33
11
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/shaddyMod/ShaddyReplay.rpy", line 12, in script
init python:
File "game/shaddyMod/ShaddyReplay.rpy", line 12, in script
init python:
File "game/shaddyMod/ShaddyReplay.rpy", line 45, in <module>
ReplayItem("Chrys", "chrys_event_6_a", "/images/bg 6_cs_event7_16.webp", {})
File "game/shaddyMod/ShaddyReplay.rpy", line 35, in __init__
self.pageNum = int(math.floor(len(filter(lambda s: s.character == character, replayItems))/ReplayItem.numberScenes)) + 1
TypeError: object of type 'filter' has no len()

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

Full traceback:
File "C:\Users\RyuXe\Desktop\Lean Pockets\SuperheroesSuck-1.351public-pc\renpy\bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "C:\Users\RyuXe\Desktop\Lean Pockets\SuperheroesSuck-1.351public-pc\renpy\main.py", line 558, in main
renpy.game.context().run(node)
File "game/shaddyMod/ShaddyReplay.rpy", line 12, in script
init python:
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_
File "game/shaddyMod/ShaddyReplay.rpy", line 12, in script
init python:
File "C:\Users\RyuXe\Desktop\Lean Pockets\SuperheroesSuck-1.351public-pc\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\RyuXe\Desktop\Lean Pockets\SuperheroesSuck-1.351public-pc\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/shaddyMod/ShaddyReplay.rpy", line 45, in <module>
ReplayItem("Chrys", "chrys_event_6_a", "/images/bg 6_cs_event7_16.webp", {})
File "game/shaddyMod/ShaddyReplay.rpy", line 35, in __init__
self.pageNum = int(math.floor(len(filter(lambda s: s.character == character, replayItems))/ReplayItem.numberScenes)) + 1
TypeError: object of type 'filter' has no len()

Windows-10-10.0.22621 AMD64
Ren'Py 8.0.3.22090809
Superheroes Suck 1.351public
Wed Nov 23 11:36:23 2022
 
5.00 star(s) 2 Votes