[Ohrrpgce] illegal wait substate -1

Ralph Versteegen teeemcee at gmail.com
Fri Feb 14 08:56:10 PST 2014


On 14 February 2014 18:40, James Paige <Bob at hamsterrepublic.com> wrote:
> I saw this error this evening
>
> http://i.imgur.com/N53xCvb.png
>
> It is repeatable whenever I load my F3 quicksave (which I have preserved)
>
> The script mentioned is:
>
> plotscript, spigot stair event: quick replay, sl, begin
>   if(check tag(tag:spigot wad event)) then(
>     variable(tx, ty)
>     for(ty, 0, map height -- 1) do(
>       for(tx, 0, map width -- 1) do(
>         if(read zone(z:event, tx, ty)) then(
>           write east green ramp(tx, ty)
>         )
>       )
>     )
>   )
> end
>
> script, write east green ramp, tx, ty, layer=2, begin
>   write map block(tx, ty, tile:east green ramp, layer)
>   write map block(tx + 1, ty, tile:east green ramp corner, layer)
>   write pass block(tx, ty, east slope)
> end
>
> that script is the map autorun script on the map where the quickload was
> quicksaved.
>
> ---
> James

It was quite easy to trigger; I saw it in several other contexts and
games. Luckily the problem was easy to guess: having global fixed
length arrays of data means needing to zero stuff out on first use.



More information about the Ohrrpgce mailing list