Error when trying to load a dungeon.

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
User avatar
Blackswamp
Posts: 16
Joined: Mon Aug 12, 2024 9:24 am

Error when trying to load a dungeon.

Post by Blackswamp »

Hey there, something just happened in my files because when i'm trying to load my dungeon it give this error:
https://imgur.com/deuU1rL string "Arch.lua":0:undefined object: base_monster
I didnt even find any Arch.lua file.
Is there any people alive who knows this? I would appreciate much for your answer, because my working on dungeon is just halt. Thanks.
User avatar
Blackswamp
Posts: 16
Joined: Mon Aug 12, 2024 9:24 am

Re: Error when trying to load a dungeon.

Post by Blackswamp »

And it happens when I'm trying to load any dungeon..
User avatar
THOM
Posts: 1274
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: Error when trying to load a dungeon.

Post by THOM »

I presume you have deleted the reference to the LoG file "assets\scripts\objects\base.lua". Or you have deleted the definition for "base_monster" within it.

Since all monsters of the original game (and usually all modded monsters) are referring to this definition, it must be present but ist in your case.

For the definition have a look at the file mentioned above.
For the definition of the path to the file have a look at "assets\scripts\standard_assets.lua"
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
User avatar
Blackswamp
Posts: 16
Joined: Mon Aug 12, 2024 9:24 am

Re: Error when trying to load a dungeon.

Post by Blackswamp »

Okey, I loaded my backup file so error are gone now. Thanks for answering.
User avatar
Blackswamp
Posts: 16
Joined: Mon Aug 12, 2024 9:24 am

Re: Error when trying to load a dungeon.

Post by Blackswamp »

But this is interesting..it happened 2 times. How files could be deleted even I touch the files?
Post Reply