Whenever I attack with the sword my game crashes. I'm not sure about shooting bullets but it showed me that part of the script when it crashed.
Hey Piepender
I couldn't reproduce this bug under 0.2.5. Does it happen even if you make a level in the editor containing only a sword pickup?
(EDITOR -> choose items, select sword and place it in the room, press P to play)
Has anyone else had this problem? I'm guessing it is with a recent version because otherwise it surely would have come up earlier.
One stab in the dark -- perhaps the cached audio sample of the sword swinging has somehow become corrupt. You could rule this out by quitting Voxatron and deleting the folder: audio_cache, found in C:/Users/<username>/AppData/Roaming/Voxatron (or ~/Library/Application Support/Voxatron on OSX). (Be careful to only delete audio_cache!). This will force Voxatron to regenerate all of the sounds the next time it starts up.
I found a bug too, the game crashes always when I place an animation in a position other than 0
Alright tried deleting audio_cache but that didn't work. Here's what it gives me when it crashes.
0 com.Lexaloffle.vox 0x0000dccc move_bullet + 764
1 com.Lexaloffle.vox 0x00011839 move_frame + 217
2 com.Lexaloffle.vox 0x00011fea move_all + 154
3 com.Lexaloffle.vox 0x000025c5 codo_main_update + 69
4 com.Lexaloffle.vox 0x00061228 codo_main + 104
5 com.Lexaloffle.vox 0x0008c09c -[SDLMain applicationDidFi
I also did a bit of testing and found that it only crashes when I hit a specific monster in the editor.
Excellent, thanks -- I fixed the sword bug for 0.2.6. It was caused by custom monsters that have zero height causing a divide-by-zero. So it can be avoided for now just by making sure the monster's height is set to something.
(Sword swipes are implemented by sending out many tiny invisible bullets, hence the crash in move_bullet)
Kling -- do you mean it crashes if the animation is rotated? Does it crash when you're placing it in the editor, or when you go to play the room?
when I play the room with a rotated animation the game crashes, not when I place it on the editor, also, that only happens when I use ctrl c ctrl v and the item gets to a side smaller than 4 (since 4 is the minimum manually) that obviously can be avoided by just fixing the side of the object, I'm also making an exploration map with lots of green doors, but some of them doesn't really work... is there a way to contournate that? I don't see the difference betwen the ones that are not working and the ones that are, Should I upload the map so you can see it? Green doors are essencial for that big map, I even had to draw maps for it to work so it's really necessary to find a way to fix it.
[Please log in to post a comment]