Log In  

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.

P#7392 2013-06-01 13:35 ( Edited 2013-07-16 21:39)

Bump :P

P#7463 2013-07-09 01:48 ( Edited 2013-07-09 05:48)

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.

P#7464 2013-07-09 08:12 ( Edited 2013-07-09 12:12)

I found a bug too, the game crashes always when I place an animation in a position other than 0

P#7467 2013-07-09 08:21 ( Edited 2013-07-09 12:21)

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.

P#7497 2013-07-15 01:54 ( Edited 2013-07-16 01:29)

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?

P#7500 2013-07-16 16:59 ( Edited 2013-07-16 21:01)

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.

P#7503 2013-07-16 17:39 ( Edited 2013-07-16 21:39)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 17:50:15 | 0.009s | Q:15