unable to open project

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
Liam.Ducray
Posts: 4
Joined: Sun Feb 19, 2017 11:23 am

unable to open project

Post by Liam.Ducray »

I really dont know what to do anymore. After editing some item Luas, everytime i try to open my project, an error occurs as seen on the screenshot below. I searched the items_firearms.lua for typos but found nothing. I tried to unload the items_firearms.lua in the init.lua via the -- command, but then I got another error message for not finding definitions of the items that i have placed in my dungeon ... and so on ... :(

https://www.idrive.com/idrive/sh/sh?k=h1r5c3u9t1
User avatar
Isaac
Posts: 3185
Joined: Fri Mar 02, 2012 10:02 pm

Re: unable to open project

Post by Isaac »

Inspect the items_firearms.lua script. Most likely you've added a line in a definition, that doesn't have a comma after it. Check around line 291. It would help to use an external text editor that can do syntax highlighting, and count lines; but windows notepad can be used.

Notepad++ https://notepad-plus-plus.org/download/v7.3.2.html
Post Reply