RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
Kybber



PostPosted: Wed May 03, 2006 10:00 pm    Post subject: Determine OS for file creation? Reply with quote

Hi,

Is it possible to somehow determine which OS a server is
running on, and thereby modify the gamefiles? I am thinking
about paths and such, which may depend on the OS.
Something like <gc:if><gc:os> == "posix"<gc:then> or
similar? It is of course possible to use templates to specify
for each individual server, but it would be very nice to have
a way of automatically selecting settings based on OS.

Cheers!


Last edited by Kybber on Wed May 03, 2006 10:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Andrew
Mammoth


PostPosted: Wed May 03, 2006 10:03 pm    Post subject: Reply with quote

Can possibly make it a variable for either Windows or Linux, but not specific OS details at this time.
Back to top
View user's profile Send private message
Kybber



PostPosted: Wed May 03, 2006 10:18 pm    Post subject: Reply with quote

Certainly! I see no need to separate various Linux-distros,
for example. Separating win from lin is enough for me Smile

Thanks
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Thu May 11, 2006 2:46 pm    Post subject: Reply with quote

Added a %server:os% variable which will return win32 or linux depending on the host OS.
Back to top
View user's profile Send private message
Kybber



PostPosted: Thu May 11, 2006 8:24 pm    Post subject: Reply with quote

Timing couldn't be more perfect, Andrew. Thanks a bundle! Very Happy
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Thu May 11, 2006 9:43 pm    Post subject: Reply with quote

Also documented our 'magic' variables, which will be helpful for reference: http://doc.gamecreate.com/SpecialProperties
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.