|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#5 (permalink) |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
|
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|