.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
  #1  
Old November 4th, 2007, 10:30 PM

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 Weird Worlds Bug and a Babylon Project v2.60 patch

The OS backup does not actually protect against the virus. Even with the OS backup, the virus will remove an item.
  #2  
Old November 5th, 2007, 04:36 PM

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 Re: Minor Bug in Babylon Project v2.60

More info:

I have the OS backup crystal in my inventory. (I had actually clicked on the 'use' button on the crystal and created the backup from it.) But when I contracted the virus, I got the PAGE 2 condition displayed:

TEXT You're not sure if it's a delayed attack from one of your battles, or incompatibility between your systems, but the <color=070><uvar=stolenitem><color=999> aboard the <uvar=affectedship> has developed a virus and is now inoperable! <br><br> Fortunately, you still have the backup copy of the operating system in the Data Crystal with you and you're able to re-install all the drivers you need. Whew! That was a close one.

Despite the text saying that I recovered from a backup, the target item still disappears.
  #3  
Old November 14th, 2007, 02:39 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 Re: Minor Bug in Babylon Project v2.60

I've solved it. There appears to be a bug in Weird Worlds.

I put a lot of tracing into the Babylon 5 mod, and found that BOTH of these conditions were matched (at the same time) [Intel version]:

CONDITION 1
TYPE haveitem
STR0 it_datacrystal5
END CONDITION

CONDITION 2
TYPE noitem
STR0 it_datacrystal5
END CONDITION

The result is that the code that YOU GOT THE VIRUS would run, and then the code that YOUR CRYSTAL BACKUP PROTECTED YOU would run. But only the text from having the backup would be displayed. (Result: an item was actually sabotaged, but it'd display a message saying that it was averted.)

So there is a very clear (IMHO) fault in the 'NOITEM' code, because it is flagging it_datacrystal5 as not there, at a time when it clearly is (and also flagging it as 'HAVEITEM').

I worked around this bug by adding a key to the it_datacrystal5.ini definition. I said "KEYS backup". I then changed the conditions of the sabotage event...

CONDITION 1
TYPE haveitem
STR0 backup
END CONDITION

CONDITION 2
TYPE noitem
STR0 backup
END CONDITION

Finally! The backup prevented the SABT (aka "virus") from working. The only remaining problem is in their code...

TEXT You're not sure if it's a delayed attack from one of your battles, or incompatibility between your systems, but the <color=070><uvar=stolenitem><color=999> aboard the <uvar=affectedship> has developed a virus and is now inoperable! <br><br> Fortunately, you still have the backup copy of the operating system in the Data Crystal with you and you're able to re-install all the drivers you need. Whew! That was a close one.

...the problem there is that STOLENITEM and AFFECTEDSHIP are never populated, because no sabotage is attempted in the first place, so you can't be specific about an event that never happened. This should be replaced with more generic text. Perhaps something about 'the engines'.
 

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:13 AM.


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