[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Enigma-devel] Enigma crashes with this user-level
From: |
Markus Laire |
Subject: |
[Enigma-devel] Enigma crashes with this user-level |
Date: |
Wed, 08 Dec 2004 16:26:07 +0200 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041103) |
with enigma--devel--0.90--patch-71:
When I play this level by first getting magic-wand, then waiting at that
location until moving stones stop, and then continue to collect oxyd
stones - after a while enigma just exits at once, and KDE is frozen. (I
didn't use magic-wand at all.)
Level seems to be quite simple and error-free, but of course I'm not
100% sure whether problem is in level or in enigma.
Or it is a problem that level does not have any borders?
Require("levels/ant.lua")
-- !!BBE105!! Do not delete this line
function file_oxyd(x,y,f)
oxyd_default_flavor=f
oxyd(x,y)
end
levelh=13
levelw=20
enigma.FlatForce=30
enigma.SlopeForce=30
enigma.ElectricForce=30
cells={}
items={}
actors={}
stones={}
actors[" "]=cell{}
stones[" "]=cell{}
cells[" "]=cell{}
items[" "]=cell{}
cells["!"]=cell{floor="fl-normal"}
stones["!"]=cell{stone="st-bolder-e"}
stones["#"]=cell{stone="st-bolder-s"}
stones["$"]=cell{stone="st-bolder-n"}
stones["%"]=cell{parent={{file_oxyd,"c"}}}
items["!"]=cell{item="it-magicwand"}
function ac_blackball(x,y)
n=""
p=0
f=0
if (x==10) and (y==6) then
n="ac10x6"
p=0
mf=1.66666666666667
end
set_actor("ac-blackball",x+0.5,y+0.5,{player=p,name=n,mouseforce=mf})
end
actors["!"]=cell{parent={{ac_blackball}}}
stones["&"]=cell{stone="st-bolder-w"}
level={"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!",
"!!!!!!!!!!!!!!!!!!!!"}
acmap={" ",
" ",
" ",
" ",
" ",
" ",
" ! ",
" ",
" ",
" ",
" ",
" ",
" "}
itmap={" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ! ! ",
" ",
" ",
" ",
" ",
" "}
stmap={"!##################!",
"! &",
"! &",
"! % % % % &",
"! &",
"! &",
"! % % % % &",
"! &",
"! &",
"! % % % % &",
"! &",
"! &",
"!$$$$$$$$$$$$$$$$$$!"}
create_world_by_map(level)
draw_map(0,0,stmap,stones)
draw_map(0,0,itmap,items)
draw_map(0,0,acmap,actors)
oxyd_shuffle()
- [Enigma-devel] Enigma crashes with this user-level,
Markus Laire <=