.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Digital Eel > Weird Worlds: Return to Infinite Space > Scenarios and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old November 15th, 2007, 02:53 AM

mantari mantari is offline
Private
 
Join Date: May 2007
Posts: 38
Thanks: 0
Thanked 1 Time in 1 Post
mantari is on a distinguished road
Default HALP! Very basic but strange bug with YSNO & Crash

I have had a crashing problem with a very simple event. I have reduced the code involved to something very small:

Code:

FLAG event always
KEYS unstablestar5

STAR 0
NOFL binary1 binary2 blhole
STRN Omni
FLAG nearby
END STAR

CONDITION 0
TYPE explore
STR0 0
END CONDITION

PAGE 0
REQ0 0
DISP 1
ACTN popup
GFXP misc/nova.jpg
MUSC misc/nova_loop.ogg
TITL Alien Probe
TEXT Your crew encounters an alien probe of unknown origin which asks you a number of questions related to mathematics and science, but it says it will self-destruct if it does not recieve the answers within 24 hours!<BR><BR>Do you transmit the data?
YSNO 1 2
END PAGE

PAGE 1
NOVA 0 5 5 exo_neutron devastated
ACTN endquest
END PAGE

PAGE 2
ACTN endquest
END PAGE



Try it. Answer "no", it goes to the planet. Answer "yes", it crashes to the desktop. The stderr.txt just says "Fatal signal: Segmentation Fault (SDL Parachute Deployed)".

Remove only the GFXP line and the desktop crash remains.
Remove only the MUSC line and the desktop crash remains.
Remove both lines, and the problem disappears.
Move the GFXP line BEFORE the YSNO line, and it doesn't crash anymore. But the image is placed on top of the text!

I've gone through approx 40 combinations trying to get this to work. I'm at my wit's end. HALP!
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:09 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.