NickWildish / Mas-NSFW-Submod

A submod dedicated to bring you and Monika THAT much closer. How close you ask? Like, THIS close 🤏
39 stars 86 forks source link

Bug - Crash while sexting after new update #123

Open zwartkop2 opened 10 months ago

zwartkop2 commented 10 months ago

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/Submods/NSFW Submod/nsfw_sexting.rpy", line 106, in player_prompts = store.mas_nsfw.create_sexting_prompts(horny_lvl=horny_lvl, horny_reqs=horny_reqs, previous_vars=previous_vars, recent_prompts=recent_prompts) File "game/Submods/NSFW Submod/nsfw_main.rpy", line 1092, in create_sexting_prompts past_prompts=past_prompts File "game/Submods/NSFW Submod/nsfw_main.rpy", line 759, in return_sexting_dialogue min_to_current_rand = random.randint(0, horny_lvl) ValueError: empty range for randrange() (0,0, 0)

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

Full traceback: File "lib/windows-i686/script-ch30.rpyc", line 2141, in script call File "lib/windows-i686/event-handler.rpyc", line 3119, in script call File "lib/windows-i686/Submods/NSFW Submod/nsfw_sexting_inits.rpyc", line 38, in script call File "lib/windows-i686/Submods/NSFW Submod/nsfw_sexting.rpyc", line 486, in script call File "lib/windows-i686/Submods/NSFW Submod/nsfw_sexting.rpyc", line 104, in script File "C:\Users\myname\OneDrive\Desktop\DDLC backup\MAS\renpy\ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "C:\Users\myname\OneDrive\Desktop\DDLC backup\MAS\renpy\python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/Submods/NSFW Submod/nsfw_sexting.rpy", line 106, in player_prompts = store.mas_nsfw.create_sexting_prompts(horny_lvl=horny_lvl, horny_reqs=horny_reqs, previous_vars=previous_vars, recent_prompts=recent_prompts) File "game/Submods/NSFW Submod/nsfw_main.rpy", line 1092, in create_sexting_prompts past_prompts=past_prompts File "game/Submods/NSFW Submod/nsfw_main.rpy", line 759, in return_sexting_dialogue min_to_current_rand = random.randint(0, horny_lvl) File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/random.py", line 242, in randint File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/random.py", line 218, in randrange ValueError: empty range for randrange() (0,0, 0)

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187 Monika After Story 0.12.14

I got this while initializing sexting. Ignoring the error doesn't work, and I was only able to break out by uninstalling the submod.

SaltyMelonLord commented 10 months ago

I've got a similar bug during sexting, screenshots: 17182776649259679744_20230920235720_1

17182776649259679744_20230920235724_1

Unlike zwartkop, I could ignore the error. It occured randomly during sexting again and I couldn’t make out specific answers that trigger it or a specific amount of prompts.

NickWildish commented 8 months ago

This has been resolved in the latest update, thankyou for letting me know. Please update your version of the submod to the latest version, and let me know if the issues persist.