[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  SetChanged Help Please

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

SetChanged Help Please

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by David Berthiaume   (202 posts)  [Biography] bio
Date Fri 25 Mar 2005 07:19 AM (UTC)  quote  ]
Message
All right, I want to be able to have a timer keep my world saved, I want it to save it no matter what, if it's changed or not.

Do I need to use SetChanged?

If so, how would I do it?
world.SetChanged vbTrue
world.Save ""

Like that?

Or do I just need to world.save "" to force the save?

[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #1 on Fri 25 Mar 2005 08:40 AM (UTC)  quote  ]
Message
You need only to save it. The setchanged is for forcing the world to prompt a 'do you want to save changes' upon exiting (or clearing it).

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by David Berthiaume   (202 posts)  [Biography] bio
Date Reply #2 on Sat 26 Mar 2005 01:09 AM (UTC)  quote  ]
Message
Ok, No biggie. So regardless if there has been a change or not, world.save "" will force the change. Excellent.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


2,314 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]