[Open / Signup] One Room Round Robin 3 - Calling All Modders

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!
User avatar
THOM
Posts: 1267
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: [Open / Signup] One Room Round Robin 3 - Calling All Mod

Post by THOM »

Okay - I'll take over the file on sunday. If someone wants to work on it before - do it.
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
User avatar
sps999
Posts: 44
Joined: Sun Oct 26, 2014 11:16 pm

Re: [Open / Signup] One Room Round Robin 3 - Calling All Mod

Post by sps999 »

I was just checking in on the mod, and it looks like things are kicking into some of the final changes.

Concerning my room, Potion Labs, I have had a few people test the room and based on the way they played through the room I decided to at one point change a hint given to the player. I was planning on implementing this change myself but I currently do not have access to the dropbox file.

Simply, the message of "ss_note_story", located at tile 27,6, would be changed to the following hint instead of what it used to be. This version is abridged to not force players through a wall of text to get instructions on how to solve the main puzzle:
SpoilerShow
I have found some dying, or rather soon
to be dying, patients and have begun
experimenting on them.

I'll go back to bed as soon as I recall which
Recipe I gave all four patients.
The change is minor enough that I know it would not be a priority to implement; however, the change to the text is easy enough that if somebody decides to update the text it should only take a minute. I also imagine it would be quicker and easier to organize than to make the change than to send me dropbox access to make the change myself.
User avatar
THOM
Posts: 1267
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: [Open / Signup] One Room Round Robin 3 - Calling All Mod

Post by THOM »

Okay, I have the file now and will work on it.
Can take a while...

sps999, I will add your change. Never mind.
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
User avatar
THOM
Posts: 1267
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: [Open / Signup] One Room Round Robin 3 - Calling All Mod

Post by THOM »

Hey everybody. I've neary finished the implementation of my second room.

But something weired happend at the moment: After a few minutes of gameplay (editor-mode) the game crashes with the following message

Code: Select all

=== Software Failure ===

[string "GameObject.lua"]:0: bad argument #1 to 'removeNode' (Node expected, got nil)
stack traceback:
	[C]: in function 'removeNode'
	[string "GameObject.lua"]: in function 'destroy'
	[string "Map.lua"]: in function 'destroy'
	[string "Dungeon.lua"]: in function 'unload'
	[string "DungeonEditor.lua"]: in function 'stopPreview'
	[string "DungeonEditor.lua"]: in function 'preview'
	[string "DungeonEditor.lua"]: in function 'update'
	[string "Grimrock.lua"]: in main chunk
I have no idea where this comes from. Can anybody assist?
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
minmay
Posts: 2770
Joined: Mon Sep 23, 2013 2:24 am

Re: [Open / Signup] One Room Round Robin 3 - Calling All Mod

Post by minmay »

Can you provide any sort of context as to where the error occurred? What were you doing in the game at the time?
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
Isaac
Posts: 3179
Joined: Fri Mar 02, 2012 10:02 pm

Re: [Open / Signup] One Room Round Robin 3 - Calling All Mod

Post by Isaac »

... and does this happen for just doing nothing but letting time pass?
minmay
Posts: 2770
Joined: Mon Sep 23, 2013 2:24 am

Re: [Open / Signup] One Room Round Robin 3 - Calling All Mod

Post by minmay »

To be clear, this almost certainly happens because someone is trying to destroy a GameObject that is not on a map.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
THOM
Posts: 1267
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: [Open / Signup] One Room Round Robin 3 - Calling All Mod

Post by THOM »

hm - I've added a function that spawns randomly a dust-particle object with a destroySelf stat.
It could happen, that one of this particle-objects is spawned outside the map (they are spawned at coordinates like "party.x+2, party.y")

I assume, this is the problem... ???
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
minmay
Posts: 2770
Joined: Mon Sep 23, 2013 2:24 am

Re: [Open / Signup] One Room Round Robin 3 - Calling All Mod

Post by minmay »

Even if you somehow manage to put something at coordinates that are outside the map's bounds (this is really hard to do since almost everything will raise an error if you try), it would still be on the map.
Examples of GameObjects that are not on a map:
- items inside the party's inventory
- items inside containers
- items inside a monster's inventory
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
THOM
Posts: 1267
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: [Open / Signup] One Room Round Robin 3 - Calling All Mod

Post by THOM »

Yep - I was right. A few tests and I found out, that my spawning-function was the evil-doer. I changed some entries - now it works.

Tomorrow I will upload my file and someone else can grab it.
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
Post Reply