FreeOrion

Forums for the FreeOrion project
It is currently Wed Jun 19, 2013 2:50 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Couple Of Bugs
PostPosted: Thu Mar 29, 2012 4:27 am 
Offline
Designer and Programmer
User avatar

Joined: Tue Aug 14, 2007 6:33 pm
Posts: 1812
Location: Orion
It seems that trying to X out of the FO window after your empire has been eliminated causes FO to crash (not that that really affects its functionality...)

Ships created with some owner specified by Source.Owner are incorrectly described by the autogenerated descriptions as having "no owner and no species".

Edit: On a related note, just thought I'd point out that the documentation for CreateShip doesn't list the parameter "species".

Edit2: Specifying "Source.Owner Source.Species" causes the effects description to correctly say that it will be owned by sources owner empire and manned by the source's species, however specifying "0 Source.Species" yields the same effects as just specifying "Source.Owner".

_________________
Warning: Antarans in dimensional portal are closer than they appear.


Top
 Profile  
 
 Post subject: Re: Couple Of Bugs
PostPosted: Thu Mar 29, 2012 4:40 am 
Offline
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 8056
Location: Vancouver, BC
Bigjoe5 wrote:
It seems that trying to X out of the FO window after your empire has been eliminated causes FO to crash (not that that really affects its functionality...)
freeorion or freeoriond?
Quote:
Ships created with some owner specified by Source.Owner are incorrectly described by the autogenerated descriptions as having "no owner and no species".
There are lots of bugs with the autogenerated descriptions. I'm not too concerned.
Quote:
Edit: On a related note, just thought I'd point out that the documentation for CreateShip doesn't list the parameter "species".
Feel free to add it?
Quote:
Edit2: Specifying "Source.Owner Source.Species" causes the effects description to correctly say that it will be owned by sources owner empire and manned by the source's species, however specifying "0 Source.Species" yields the same effects as just specifying "Source.Owner".
If there's no empire 0, then it will attempt to look up that empire, find none, and leave the name description text empty. It will then test if the name or species description texts are empty, and if either are, it will default to the simple description, which presently says no owner and no species.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group