redfloor / redroof /test dungeon

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
kellyklutz
Novice
Posts: 15
Joined: Mon Dec 19, 2011 3:40 pm

redfloor / redroof /test dungeon

Post by kellyklutz »

Ok. I want to know why I cant add a custom wallset to ESB under global info. It freezes up on me and I get the following error:

fatall error callstack corruption
OBJ: 405 system archs
OBJ: 543 total archs
PROGRAM CRASH!
Location: 0 4 3
Reason: Callstack Corruption
Stack Dump:
ESBmain
ESBwproc
ed_menucommand
ESB_modaldb
ESB_global_info_proc
ESBwproc

What am I doing wrong. I really don't understand all this, and am trying to figure out how to get redfloor/ redroof to work in ESB so I can use them in creating a dungeon (and to know how to add custom wallsets)
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: redfloor / redroof /test dungeon

Post by Sophia »

That's really a strange error.

What were you doing? Please tell me as exactly as you can.
kellyklutz
Novice
Posts: 15
Joined: Mon Dec 19, 2011 3:40 pm

Re: redfloor / redroof /test dungeon

Post by kellyklutz »

Ok I'll try.

I looked at your testdungeon with ESB and saw that there was a redfloor/redroof wallset under wallsets. I wanted to get this into my own dungeon. so I coppied the 2 files (redroof/redfloor. bmp) to my own dungeon folder. then copied the line you used for them in graphics.lua

gfx.redfloor = dsb_get_bitmap("REDFLOOR")
gfx.redroof = dsb_get_bitmap("REDROOF")

wallset.redfloor = dsb_make_wallset_ext(gfx.redfloor, gfx.redroof, gfx.pers0, gfx.pers0alt,
gfx.pers1, gfx.pers1alt, gfx.pers2, gfx.pers2alt, gfx.pers3, gfx.pers3alt,
gfx.farwall3, gfx.farwall3alt, gfx.front1, gfx.front2, gfx.front3,
gfx.left1, gfx.left1alt, gfx.left2, gfx.left2alt, gfx.left3, gfx.left3alt, gfx.wallwindow)


To my own graphics.lua for my dungeon. I opened up ESB and tried to add a wallset under edit/global information. named the wallset redfloor and got the error. mentioned earlier.

Mind you. I am still very new to LUA and ESB.
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: redfloor / redroof /test dungeon

Post by Sophia »

How did you try to add the wallset?
Did you click "Add" and type "redfloor" in the offered dialog box?
You shouldn't get any kind of catastrophic error trying to do that.

Is it repeatable?
kellyklutz
Novice
Posts: 15
Joined: Mon Dec 19, 2011 3:40 pm

Re: redfloor / redroof /test dungeon

Post by kellyklutz »

Yes I did exaclty that. In the dialog box. the error repeats itself. Even if I try it in a new dungeon.
ESB shuts itself down after the error.
Should I download ESB / DSB again ?
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: redfloor / redroof /test dungeon

Post by Sophia »

You might as well try.
I tried a fresh DSB/ESB 0.50 install and nothing went wrong.

I am really quite confused. The error is too specific to be something wrong with your computer, but I can't reproduce it at all. :shock:
kellyklutz
Novice
Posts: 15
Joined: Mon Dec 19, 2011 3:40 pm

Re: redfloor / redroof /test dungeon

Post by kellyklutz »

I will try that. Will be back with info later this evening (or tommorow)
thanks for the help so far. :)
Post Reply