| View previous topic :: View next topic |
| Author |
Message |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 15 Posts: 1682 Location: Somewhere
|
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. _________________ Donna Noble has left the library. Donna Noble has been saved.
|
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Mon May 05, 2008 9:48 pm Post subject: |
|
|
Hmm I think I had this error long ago before. Check if Paladin Starter, Wizard Starter and Bishopia City works.
(Those are all modules I've made myself) _________________ 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." |
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 15 Posts: 1682 Location: Somewhere
|
Posted: Mon May 05, 2008 9:51 pm Post subject: |
|
|
Paladin Starter works, Wizard Starter doesn't, and Bishopia City I cannot test right now, for it is locked away. _________________ Donna Noble has left the library. Donna Noble has been saved.
|
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Mon May 05, 2008 9:54 pm Post subject: |
|
|
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." |
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 15 Posts: 1682 Location: Somewhere
|
Posted: Mon May 05, 2008 10:00 pm Post subject: |
|
|
Just tested Bishopia City, and it "Segmentation Fault". _________________ Donna Noble has left the library. Donna Noble has been saved.
|
|
| Back to top |
|
 |
Agent of Dread lolwut?? (Moderator)


Joined: 23 Sep 2007 Age: 11 Posts: 4347 Location: FACEPLANT
|
Posted: Mon May 05, 2008 10:01 pm Post subject: |
|
|
Soldier works fine for me. _________________ FACEPLANT |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Mon May 05, 2008 10:20 pm Post subject: |
|
|
I think this may be only a Linux related bug. _________________ 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." |
|
| Back to top |
|
 |
bgbirdsey Developer

Joined: 25 Sep 2007 Posts: 873 Location: Minnesota
|
Posted: Tue May 06, 2008 1:02 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Tue May 06, 2008 2:01 pm Post subject: |
|
|
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." |
|
| Back to top |
|
 |
|