Joined: 01 Feb 2008 Age: 14 Posts: 1536 Location: Somewhere in this universe.
Posted: Mon May 05, 2008 9:46 pm Post subject: [Egoboo 2.6.1] Crash on Soldier Starter
Hello, In 2.6.0 and 2.6.1, when loading the soldier starter, I get a "Segmentation Fault."
The problem seems to be in rip_md2_frame_name.
My Log.txt is empty. _________________
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Hmm seems like it is having trouble loading specific models that are only in the wizard and soldier starters.
My guess is that this also includes only modules that are made by me and not original ones...
If you want to cheat, put :[BEAT] into the bottom of any menu.txt of the module you want marked as beaten. That way you won't have to complete all the modules again
The newest code in the trunk does this automatically if Developer Mode is set to TRUE (in setup.txt) _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
Zefz, check to make sure that the md2 loader is using the correct file name string in rip_md2_frame_name().
I just fixed an error in 2.7.7 like this. It used to be that we were using a global buffer for the strings, but I think you need to pass it the frame name string as an argument.
Ah, I see. It will take a bit more work to fix this though. 2.6.1 doesn't use the new Md2 model file loading structures and constants, meaning a simple MD2_Model type won't work here. _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword."
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum