Two potential errors reproducable with the editor

Have trouble running Grimrock 1 or you're wondering if your graphics card is supported? Look for help here.
Post Reply
User avatar
lapanen007
Posts: 2
Joined: Sun Oct 07, 2012 12:40 am
Location: Oulu, Finland

Two potential errors reproducable with the editor

Post by lapanen007 »

Hi,

First of the first of the first of all, I don't think I've ever seen such a well designed editor! The level of
intuition of the UI is astounding. Thank you for this. I've never bothered to write any mods, but this
editor made me want to write a whole full length adventure (which I've been brewing up for years
waiting for a good enough game and editor to come along - and now it did =)

I found some bugs, which are probably in the game engine it self, but can be achieved only by using
the editor (propably). I searched for both possible errors, but couldn't find any matches.

Btw, if the developers might read this: You need any volunteer help with the community side
error management? I've done that job for some time and might be able to help if the error inflow
starts getting problematic. But anyway, back to the point:

--------------------------------------------------------------------------------
<< spawning on pressure plate causes crash to desktop>>
- spawning the group on top of pressure (was hidden in my example) plates will cause a
crash to desktop. I couldn't find any error log from the sw it self. I'm talking about the
"start point - blue arrow". If this isn't documented somewhere as a limitation this
might qualify as a major bug. It took me some time to find the culprit. The editor
game simulator works just fine, but when yopu export the game, LoG it self will crash
to desktop with out any noise. Hellishly difficult bug to find. :D

--------------------------------------------------------------------------------
<< message length causes hudPrint() to place the message incorrectly >>

This error might be caused by me using lua incorrectly. I didn't find any proof of that,
but since I've known the language from friday... ;) I will try to upload a few screenshots,
but haven't found any option for that yet.

- hudPrint function prints the text in some instances in the lower left screen so that you
are missing 3/4 (estimate) of the text. This is reproducible for a certain amount of time
after which it will disappear. The error is produced by using hudPrint function with the
following syntax:

hudPrint([[
With final certainty you hear the frightened monks slide
the bolts home on the massive door behind you. Who or what ever stalks these
corridors will either meet it's doom by your hand or perhaps slay you like
the bite sized morcel you are.
]])

After I started removing the lines of text from the message the message it self started slowly
moving towards the middle of the screen. I would guess that the location calculations are affected
incorrectly by the length of the message(?). When I split the message like this:

hudPrint("With awful certainty you hear the frightened monks slide the bolts")
hudPrint("home on the massive door behind you. Who or what ever stalks these")
hudPrint("corridors will either meet its doom by your hand or perhaps slay you")
hudPrint("like the bit sized morcel you are.")

it works just like it should.

Notice ye all! This isn't an error if the hudPrint was not meant to handle such lengthy messages.
It would be nice to have it documented somewhere, but I do understand the hurry :)

Feel free to ask for more info if these seem important.
Last edited by lapanen007 on Mon Oct 08, 2012 12:56 pm, edited 1 time in total.
----------------------------------------------------
Lauri
I did infact learn to relax and love the bomb.
----------------------------------------------------
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Two potential errors reproducable with the editor

Post by petri »

Thanks for the bug reports!
User avatar
lapanen007
Posts: 2
Joined: Sun Oct 07, 2012 12:40 am
Location: Oulu, Finland

Re: Two potential errors reproducable with the editor

Post by lapanen007 »

One minor bug (or glitch mainly):

the "description" window of a scroll has the same width in both the "mini-view and the fullscreen normal game window.
Thus if a designer designs ascii pictures with the miniview, they will be messed up when you see them in the fullscreen view.

I noticed thsi when trying to cram an extended text into a scroll from the items.lua.

but as I said, mainly a glitch.

br,
Lauri
----------------------------------------------------
Lauri
I did infact learn to relax and love the bomb.
----------------------------------------------------
Post Reply