View unanswered posts | View active topics It is currently Wed May 13, 2026 9:39 am



Reply to topic  [ 11 posts ] 
 Auto Save Game 
Author Message
Staff Sergeant

Joined: Thu Mar 21, 2002 3:00 am
Posts: 10
Location: USA
Unread post 
Could someone tell me how to setup the "Task Scheduler" to auto-
save the games?
Thanks!


Hawkeye
Galactic Struggles
Http://Home.Cfl.RR.Com/TW2002


Tue Jul 16, 2002 5:34 pm
Profile WWW
Staff Sergeant

Joined: Thu Mar 21, 2002 3:00 am
Posts: 10
Location: USA
Unread post 
Anyone? Anyone?
Bueller?
Bueller?
I've heard that you could get the game to autosave itself for you,
I hate doing it manually!!!
Share the knowledge please!!!
:)
Thanks


Hawkeye
Galactic Struggles
Http://Home.Cfl.RR.Com/TW2002


Wed Jul 17, 2002 1:19 pm
Profile WWW
Chief Warrant Officer

Joined: Tue Feb 27, 2001 3:00 am
Posts: 100
Location: USA
Unread post 
I will try to figure out a way tonight.

If you just want a one day backup you can use an XCOPY command to copy all the directories to a backup directory.

Im thinking that I will want a daily backup. So maybe a batch file that can make a backup directory based on the date would work. It has been awhile but I will try to come up with something.



Rand Al Thor, The Dragon Reborn
Let the Dragon ride the winds of time...


Wed Jul 17, 2002 1:52 pm
Profile YIM
Staff Sergeant

Joined: Thu Mar 21, 2002 3:00 am
Posts: 10
Location: USA
Unread post 
I am not worthy....
Thank you oh great one....


Hawkeye
Galactic Struggles
Http://Home.Cfl.RR.Com/TW2002


Wed Jul 17, 2002 1:58 pm
Profile WWW
Chief Warrant Officer

Joined: Wed Mar 28, 2001 3:00 am
Posts: 109
Unread post 
Correct me if I am wrong, if you do this while the TWGS is active, won't you have issues copying open files? I do want to know as I would love to do more regular backups of the game files.

"Jedi do not concern me" -The Sith


Wed Jul 17, 2002 4:49 pm
Profile
Staff Sergeant

Joined: Thu Mar 21, 2002 3:00 am
Posts: 10
Location: USA
Unread post 
Supposedly you can get the server to delay while this operation takes place. Thats why I'm here looking for answers :)


Hawkeye
Galactic Struggles
Http://Home.Cfl.RR.Com/TW2002


Wed Jul 17, 2002 6:54 pm
Profile WWW
Chief Warrant Officer

Joined: Tue Feb 27, 2001 3:00 am
Posts: 100
Location: USA
Unread post 
Ok. I think I have a solution. I have only tested this using Windows XP, it should also work with Windows NT. For Windows 9x the batch file would have to be different as the "FOR" command isn't available.

Step One,
Create a folder to backup your games to. I created a folder in the TWGS folder named BACKUP

Step Two,
Create the following Batch file. (I used notepad) and save it. I saved mine in the TWGS folder as TWGSBKUP.BAT


-------------
BATCH FILE
-------------
for /f "delims=" %%a in ('DATE /T') do set Date=%%a
for /f "tokens=2-4 delims=/ " %%a in ('DATE /T') do set Date=%%c%%b%%a
rem
rem Change the path below to where your BACKUP Directory is
rem
cd "C:\Program Files\EIS\TWGS\BACKUP"
md %Date%
cd %Date%
rem
rem Change to path below to where your game directory is
rem
xcopy "C:\Program Files\EIS\TWGS\GAME\*.*" /E


Step Three, Add to scheduler in TWGS

1) Stop server if already running
2) From Menu Select Server|Configure
3) Click on Scheduler TAB
4) Type in name where it says (I used Backup)
5) Click on ADD
6) Click on BROWSE and select the batch file you created (TWGSBKUP.BAT)
7) Verify mode is set to daily and select time of backup
8) Check Box to Disable Server and set delay to notify players
9) Type message in box under disable server (Optional)
I used (Server is shutting down for daily backup)
10) Check Box to make Active (It is above the BROWSE button)
11) Click on OK and Start the server back up.

Step Four, TEST and your are done.

I recommend backing everything up the 1st time you try this and testing it while you can watch. Also, be aware of how much disk space the backups take up. If you do not have Gigabytes of free drive space the backups could fill up your drive while your aren't watching. :-)

Let me know if you have any questions or need help.

Have Fun,








Rand Al Thor, The Dragon Reborn
Let the Dragon ride the winds of time...

Edited by - Rand on July 17 2002 7:57:57 PM


Wed Jul 17, 2002 9:56 pm
Profile YIM
Chief Warrant Officer

Joined: Wed Mar 28, 2001 3:00 am
Posts: 109
Unread post 
When did they do that??? I asked quite a while ago, about a year ago, and there was no working scheduler! Great news! I will check it out in the next few days.

"Jedi do not concern me" -The Sith


Wed Jul 17, 2002 11:29 pm
Profile
Chief Warrant Officer

Joined: Tue Feb 27, 2001 3:00 am
Posts: 100
Location: USA
Unread post 
I don't know when they added the scheduler but in ver .55 it works.

Rand Al Thor, The Dragon Reborn
Let the Dragon ride the winds of time...


Thu Jul 18, 2002 12:33 am
Profile YIM
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1838
Location: Guam USA
Unread post 
quote:
When did they do that??? I asked quite a while ago, about a year ago, and there was no working scheduler! Great news! I will check it out in the next few days.

"Jedi do not concern me" -The Sith

It was added back around v34-38 , but no mention on how to use it
And no way yet to use it to turn photons on in day 20 ... hint hint

[url="http://geocities.com/videotees/twars.html"]Vid's World on Guam[/url]
telnet://vidsworld.no-ip.org:2002


Thu Jul 18, 2002 3:50 am
Profile WWW
Ensign

Joined: Fri Mar 02, 2001 3:00 am
Posts: 227
Location: USA
Unread post 
quote:
quote:
When did they do that??? I asked quite a while ago, about a year ago, and there was no working scheduler! Great news! I will check it out in the next few days.

"Jedi do not concern me" -The Sith

It was added back around v34-38 , but no mention on how to use it
And no way yet to use it to turn photons on in day 20 ... hint hint

[url="http://geocities.com/videotees/twars.html"]Vid's World on Guam[/url]

telnet://vidsworld.no-ip.org:2002





Why not write a script for ZOC. And have the scheduler load up ZOC with the script running. Have the script do an automatic login to admin. Once it is in edit the specific game to turn on photons. That would be the best thing to do.

P.S. I am not sure, but I think it might be possible to do it with TWX. Will have to give it a try.


The WABBIT
ICQ# 12988803
http://www.shadowworldgame.com


Thu Jul 18, 2002 10:44 pm
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users and 9 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.