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

This Month's Specials

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

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old June 6th, 2009, 03:26 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: How does PBEM work - exactly?

PBW2 is independent of the LAN.

But in the case of a LAN and scripting:
Host:
- Make a shared folder for transfers.
- Script:
1) Wait for all PLR files to appear in the shared folder
2) Copy files to SE5 savegame folder (and archive old PLRs before deleting them from the save folder)
3) Run SE5 (with command line parameters as explained here
4) Copy results to shared folder
5) goto 1

Clients:
- Script:
1) Wait for new files in the shared folder
2) Copy files to SE5 savegame folder
3) Wait for PLR in savegame folder
4) Move PLR to shared folder
5) Wait for PLR to disappear from shared folder
6) Goto 1


You may want to use some dummy files to indicate when the copied files are finished so that the clients don't try and grab them before you've finished writing a big CMB or something.



OR


You can not worry about writing all that and make use of the existing infrastructure
Reply With Quote
 

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 03:37 PM.


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