Warning: Illegal string offset 'type' in [path]/includes/class_postbit.php(294) : eval()'d code on line 65
Ways of Ending - .com.unity Forums
.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old September 1st, 2009, 03:26 PM

Illuminated One Illuminated One is offline
First Lieutenant
 
Join Date: Oct 2008
Location: In Ulm und um Ulm herum
Posts: 787
Thanks: 133
Thanked 78 Times in 46 Posts
Illuminated One is on a distinguished road
Default Ways of Ending

Is there any way to find out wether the current *.2h file was created through "Save and Exit" or through "End Turn"?
Reply With Quote
  #2  
Old September 1st, 2009, 05:21 PM
Squirrelloid Squirrelloid is offline
Major General
 
Join Date: Jun 2009
Posts: 2,157
Thanks: 69
Thanked 116 Times in 73 Posts
Squirrelloid is on a distinguished road
Default Re: Ways of Ending

Open it and then immediately exit by your choice of method. Now you know.
Reply With Quote
The Following User Says Thank You to Squirrelloid For This Useful Post:
  #3  
Old September 2nd, 2009, 09:56 AM

Illuminated One Illuminated One is offline
First Lieutenant
 
Join Date: Oct 2008
Location: In Ulm und um Ulm herum
Posts: 787
Thanks: 133
Thanked 78 Times in 46 Posts
Illuminated One is on a distinguished road
Default Re: Ways of Ending

Not really helpful if you want to host a game only if the player has hit End Turn.
Reply With Quote
  #4  
Old September 2nd, 2009, 10:30 AM
Squirrelloid Squirrelloid is offline
Major General
 
Join Date: Jun 2009
Posts: 2,157
Thanks: 69
Thanked 116 Times in 73 Posts
Squirrelloid is on a distinguished road
Default Re: Ways of Ending

Ask the player to do the above?

Seriously, I'm being as helpful as I can be. Its a .2h file both ways, so the only other discriminator is going to be embedded in it somewhere - if you're feeling really adventurous, open it up in a txt editor and take a look at a save and quit version and an end turn version. I'm sure there must be something different.
Reply With Quote
  #5  
Old September 2nd, 2009, 08:31 PM

Illuminated One Illuminated One is offline
First Lieutenant
 
Join Date: Oct 2008
Location: In Ulm und um Ulm herum
Posts: 787
Thanks: 133
Thanked 78 Times in 46 Posts
Illuminated One is on a distinguished road
Default Re: Ways of Ending

There is no difference in the files, but I maybe there is one in the debug log or exit code.
Asking the player is always a possibility but it's ugly.
Reply With Quote
Reply

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 05:27 PM.


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