.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 > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old November 12th, 2004, 05:08 PM

Huntsman Huntsman is offline
Sergeant
 
Join Date: Nov 2003
Location: Rhode Island, USA
Posts: 259
Thanks: 0
Thanked 0 Times in 0 Posts
Huntsman is on a distinguished road
Default Can I use \'postexec\' to run a Windows executable?

So the 'postexec CMD' command line switch tells Dom2 to execute a program after hosting, right? Will it work with a Windows executable?
Reply With Quote
  #2  
Old November 12th, 2004, 05:19 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Can I use \'postexec\' to run a Windows executab

Yes. Anything you can find and double-click to run can be called. Ive run batch files which copied games to backups, moved score.html to web dir, played a sound so I knew the turn was up (good for when you are hosting and playing so you know everyone got in and it hosted).
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #3  
Old November 12th, 2004, 05:32 PM

Huntsman Huntsman is offline
Sergeant
 
Join Date: Nov 2003
Location: Rhode Island, USA
Posts: 259
Thanks: 0
Thanked 0 Times in 0 Posts
Huntsman is on a distinguished road
Default Re: Can I use \'postexec\' to run a Windows executab

Ooh, nice. Thanks for the info. I'm toying with the idea of writing a GUI utility for server admins, primarily for auto-emailing players after hosting but there's potential for other stuff too, like setting up new games, etc..

Or does something like this already exist?
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:37 AM.


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