Monika-After-Story / MonikaModDev

DDLC fan mod to extend Monika
http://www.monikaafterstory.com/
Other
1.18k stars 685 forks source link

Does anybody know what went wrong here? #5212

Closed Chris0273 closed 4 years ago

Chris0273 commented 4 years ago

After I updated the game I got this:

While running game code: ScriptError: Name (u'/home/potato/dddlc/0104/game/chess.rpy', 1575761872, 110) is defined twice, at game/chess.rpy:3 and mod_assets/chess.rpyc:3.

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

Full traceback: File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\bootstrap.py", line 295, in bootstrap renpy.main.main() File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\main.py", line 364, in main renpy.game.script.load_script() # sets renpy.game.script. File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 265, in load_script self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode) File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 753, in load_appropriate_file self.finish_load(stmts, initcode, filename=fn + source) File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 419, in finish_load bad_node.filename, bad_node.linenumber)) ScriptError: Name (u'/home/potato/dddlc/0104/game/chess.rpy', 1575761872, 110) is defined twice, at game/chess.rpy:3 and mod_assets/chess.rpyc:3.

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187

multimokia commented 4 years ago

Screenshot of your /game folder, please

Chris0273 commented 4 years ago

Screenshot2 Screenshot1

multimokia commented 4 years ago

Hmmm, where did you put the updated files? Your modified dates on the script files are outdated

Chris0273 commented 4 years ago

I just put them in the game folder, like always.

multimokia commented 4 years ago

Oh I see, you installed into mod_assets rather than /game. Looking at the traceback: game/chess.rpy:3 and mod_assets/chess.rpyc:3

So there's one in /game (where it should be) but also one in /mod_assets. Seeing the modified dates, I assume you accidentally dropped the update into /mod_assets

Chris0273 commented 4 years ago

Thanks