Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 10-26-2002, 02:56 PM   #1 (permalink)
 
Join Date: Sep 2002
Posts: 11
Send a message via ICQ to Guardian
Default RELOAD

in sphere: *prompt* "R" *prompt* "R"
in RunUO: ?????
what command?
Guardian is offline   Reply With Quote
Old 10-26-2002, 03:13 PM   #2 (permalink)
 
Join Date: Sep 2002
Posts: 275
Default

RunUO != Sphere
SickLab is offline   Reply With Quote
Old 10-26-2002, 03:45 PM   #3 (permalink)
Forum Administrator
 
krrios's Avatar
 
Join Date: Aug 2002
Posts: 2,850
Default

The next version of RunUO may have a script reload command.
krrios is offline   Reply With Quote
Old 10-26-2002, 03:48 PM   #4 (permalink)
 
Join Date: Sep 2002
Posts: 283
Default

Oh, thats great, finally.
moemakki is offline   Reply With Quote
Old 10-26-2002, 05:57 PM   #5 (permalink)
Administrator
 
Zippy's Avatar
 
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
Default

On Script reloading: THe command is (for the most part) done and working. But there are a few problems with I will outline here. Because of these problems, the reload command may not be available.

When the scripts are recompiled, they do not change any already existing item in the world. (To do this requires a world restart) This means if you are scripting for example a house deed if you create a deed, then reload the server, the old deed will work as it did, but any need deeds you create will use the code from the recompile. This in and of itself isn't that big of a problem. However, it leads to other problems. Mostly having to do with "is" statements. Take recall for example: recall checks the item you targeted to see if it "is RecallRune". However, after script reloading, the Spell(now reloaded from scripts) checks to see if what you targeted is a rune from the scripts. It is NOT, it is an old rune, so Recall will not recognize it, and you will not be able to recall.

Also, when scripts are reloaded, Initialize() functions are run again, so scripts get 'double' initialized. This leads to, for example, having two, or three world save timers. THis can be compensated for, including adding an "uninitialize" function to all scripts. But that may not be worth the effort.

Of course, if you shut down your server and restart it, everything will work fine again.

For the reasons, behavior after recompiling scripts is very unpredictable... So we may not release the reload command.

Hope this answers some questions....
__________________
Zippy, Razor Creator and RunUO Core Developer
The RunUO Software Team

"Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal."
~The Cryptonomicon

Zippy is offline   Reply With Quote
Old 10-26-2002, 06:20 PM   #6 (permalink)
 
Join Date: Oct 2002
Posts: 150
Send a message via ICQ to zeman4323 Send a message via AIM to zeman4323
Default

still that will be awesome
zeman4323 is offline   Reply With Quote
Old 10-26-2002, 09:55 PM   #7 (permalink)
 
Join Date: Sep 2002
Posts: 11
Send a message via ICQ to Guardian
Default ok!

10x
Guardian is offline   Reply With Quote
Old 10-27-2002, 01:18 AM   #8 (permalink)
Forum Expert
 
Kiwi's Avatar
 
Join Date: Sep 2002
Location: Northeast Ohio
Age: 22
Posts: 3,178
Send a message via ICQ to Kiwi Send a message via AIM to Kiwi Send a message via MSN to Kiwi
Default

Only include the option for faster script testing.

That's all it'll be used for, anyway.
Kiwi is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5