Thermophob
Engaged Member
- Apr 10, 2018
- 2,002
- 2,777
- 368
Onyxdime, this might be of interest to you. In "fixed version", programmer managed to make another bug, with Caroline night call. Here is a traceback
I took the liberty, decompiled scripts.rpa and scripts/home/caroline_room/night/scenes/C_NS_B.rpy
Here is the part where bug lies:
Here is corresponding piece of code from 1.0b where scene in question worked.
Python:
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 "game/scripts/home/caroline_room/night/scenes/C_NS_B.rpy", line 221, in execute
File "game/scripts/home/caroline_room/night/scenes/C_NS_B.rpy", line 221, in execute
File "game/scripts/home/caroline_room/night/scenes/C_NS_B.rpy", line 228, in execute
File "game/scripts/home/caroline_room/night/scenes/C_NS_B.rpy", line 228, in <module>
TypeError: '<' not supported between instances of 'str' and 'int'
Here is the part where bug lies:
Python:
screen C_NS_wake_scr():
add "images/NS_B/Ground.png" xpos 25 ypos 377
$ my_tt_ypos = 0
$ my_tt_xpos = 0
$ x = 44
$ y = 350
$ i = 0
$ sorted_nsb = sorted(nsb_box.c_nsb_wake, key=attrgetter('number'))
Python:
screen C_NS_wake_scr():
add "images/NS_B/Ground.png" xpos 25 ypos 377
$ my_tt_ypos = 0
$ my_tt_xpos = 0
$ x = 44
$ y = 350
$ i = 0
$ sorted_nsb = sorted(nsb_box.c_nsb_wake, key=attrgetter('number'))
$ next_inv_page = inv_page + 1
$ prev_inv_page = inv_page - 1