Page 2 of 3

Re: LoG2 bug list

Posted: Wed Feb 14, 2018 3:10 am
by minmay
Whenever an item is added to a surface, the two store references to each other. Destroying the surface before removing the item will result in that error, and so will taking the item out of the surface by any means other than 1. destroying the item, or 2. clicking on it.

Re: LoG2 bug list

Posted: Wed Feb 14, 2018 8:10 am
by AndakRainor
Sure... In this case it was a regular chest with 4 spawned items added to its surface. all items were picked with the mouse. No script used / triggered except the one spawning all those things at first.

Re: LoG2 bug list

Posted: Thu Feb 15, 2018 12:10 am
by minmay
Hm. How did you add the items to the surface?

Re: LoG2 bug list

Posted: Thu Feb 15, 2018 1:22 am
by AndakRainor

Code: Select all

          local chest = spawn("chest", level, x, y, (facing+2)%4, -2)
          for i = 1,math.random(2,3) do chest.surface:addItem(self.spawnRandomLoot(1).item) end
(it was math.random(2,4) when the bug occurred)

Re: LoG2 bug list

Posted: Thu Feb 15, 2018 8:08 am
by minmay
Can you send me the contents of your spawnRandomLoot() function?

Re: LoG2 bug list

Posted: Sat Feb 24, 2018 1:16 am
by AndakRainor
CounterComponent:setInitialValue(number) generates an attempt to call a nil value.

Re: LoG2 bug list

Posted: Mon Mar 12, 2018 8:32 pm
by AndakRainor
Hi!

I wanted to say that I found the real problem with the surface of a chest referencing an object no longer into it or into a map (leading to a crash on reload). I can reproduce it consistently with chest, and I guess it would be the same with any surface component:

grab an item from the surface, then use the setMouseItem(item) function (to swap it with an inventory item through a custom GUI; the quick bars I made next to champions portraits). Now the surface references the item on which you used setMouseItem(item).

Re: LoG2 bug list

Posted: Wed Mar 14, 2018 10:14 am
by akroma222
AndakRainor,
sorry not a solution focused reply .....
AndakRainor wrote: ..... (to swap it with an inventory item through a custom GUI; the quick bars I made next to champions portraits)....
What quick bars?? Have you released them? Can I see them or can you direct me to them? Very intrigued :geek:
Akroma

Re: LoG2 bug list

Posted: Wed Mar 14, 2018 7:22 pm
by AndakRainor
akroma222 wrote:AndakRainor,
sorry not a solution focused reply .....
AndakRainor wrote: ..... (to swap it with an inventory item through a custom GUI; the quick bars I made next to champions portraits)....
What quick bars?? Have you released them? Can I see them or can you direct me to them? Very intrigued :geek:
Akroma
I use them in Magic of Grimrock and Eternal Recurrence :)

Re: LoG2 bug list

Posted: Tue Mar 20, 2018 9:10 am
by Mysterious
- In Isle of Nex, there is a script_entity that changes the world position of a turtle nest, but as turtle nests have minimalSaveState, this world position change does not persist across save/load

I though you could change the setposition with this object? I don't get it. So anything with minimalSaveState can not be repositioned?

I read mins list and think how did AH not pick this up? Why does it take an outsider to see the probs? I think AH have pretty much left Grimrock to die as a lot of people have said this to, but I still hang on for G3.....It wont happen but I thinks Minmay make the next Grimrock 3 with his knowledge.....maybe.....hoping gg :)