(fixed) DSB CRASH

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. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Kesa
Journeyman
Posts: 67
Joined: Fri Sep 10, 2010 11:44 pm

(fixed) DSB CRASH

Post by Kesa »

http://i99.photobucket.com/albums/l297/ ... /error.jpg

ok I made a floor item called a teleport that is animated and when I went to test it I got the above error message.

object:

Code: Select all

obj.teleport = {
	type="FLOORFLAT",
	class="DECO",
	front=gfx.teleport
	
}
graphics:

Code: Select all

gfx.teleport = dsb_get_bitmap("TELEPORT1")
dsb_animate(gfx.teleport, 3, 5)
so what have I done wrong now?
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: DSB CRASH

Post by Sophia »

Segmentation faults like this are rarely the result of you doing anything wrong. It is usually, as it is in this case, a bug in DSB itself, which I've now fixed.

I was planning on having a new version out relatively soon, and this will certainly expedite that process. :)
User avatar
Kesa
Journeyman
Posts: 67
Joined: Fri Sep 10, 2010 11:44 pm

Re: (fixed) DSB CRASH

Post by Kesa »

thnx Sophia, glad to hear it wasnt all my fault ^.^

I look forward to your latest version ^.^ for now I wont post the teleports to avoid the bug
Post Reply