RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to Freeze Once You're Done Building

Freya

Wanderer
How to Freeze Once You're Done Building

This goes along w/my other thread about unfreezing buildings on the map... This continues where it left off... Basically you've got everything you wanted gone from your map removed, Or you didn't do any removing, But, you built some things, and it's caused a lot of lag because none of the buildings are frozen or static as it's called... Here are the steps to follow for Freezing things once you've added them to the shard:

This can be a bit of a lengthy process when you are doing it for the first time, but once you've done it a few times, it becomes easier and faster... I will try to cover everything in this, if you have any questions feel free to message me... Here goes....

Ok, if you did unfreezing of buildings already on the map, you already completed these first few steps, so skip down to where [freeze starts; If you did not do any unfreezing, and therefore haven't completed any of the steps in the post regarding unfreezing, continue reading from here. =) The first step to do this is to make a New Folder somewhere SEPERATE from where your UO files are installed. Example:
Say your Ultima Online folder is installed at this path -
"C:\Program Files\EA Games\Ultima Online Samurai Empire"

You would want to create a New Folder somewhere in the C drive (or D drive if you have two seperate drives) different from the Program Files\EA Games folder. Example:
"D:\New Folder" OR "C:\New Folder"

Ok, simple enough right? Now, Rename that New Folder something so you will remember what it is, like "Freeze Files" Or something to let you know what it is... I usually just call mine "Backups".
Next after you have that folder named, you need to go to your UO Folder, there are some files you will need to COPY from that folder, and PASTE into that new folder. Inside the UO folder, locate each of these files, and copy then paste them into the folder you made. The files are:

* Multi.idx
* Multi.mul
* VerData.mul - *** NOTICE: You will ONLY find this file IF you are using an OLDER UO client, example: Not patched past 4.0.0 via OSI ***
* TileData.mul
* Map*.mul
* StaIdx*.mul
* Statics*.mul
* MapDif*.mul
* MapDifL*.mul
* StaDif*.mul
* StaDifL*.mul
* StaDifI*.mul

Once you have each of the above files, (minus the Verdata.mul unless using older client) copied and pasted into that new folder the next step is to go to your RunUO 1.0.0 Server folder.... This is where your Server and all files pertaining to your server are stored. In that name directory, look for the "Scripts" folder... go inside the Scripts folder, and then find and look in the "Misc" folder... Now, you need to find the "Datapath.cs" file. Open that file... Locate the following lines:
Code:
* private const string CustomPath = @"C:\Program Files\EA GAMES\Ultima Online Samurai Empire"; 
*/ private static string CustomPath = @"";

Now, make sure that the first CustomPath points to where YOUR UO folder is located at....
On the second CustomPath, put the path to that New Folder where you pasted those files at between the "". Example:
Code:
* private const string CustomPath = @"C:\Program Files\EA GAMES\Ultima Online Samurai Empire"; 
*/ private static string CustomPath = @"C:\FreezeFiles";

Ok, once you have those lines entered in, be sure to SAVE then close that file. Now, RESTART your server, and log onto it.
Now go to the building, or area you built that needs to be froze... Type in

[freeze

Then target one side of the area, then the other side of it... Click "OKAY" on the box that comes up... then it should have froze the area you selected.
Now, don't freak out, the area you froze WILL seem to disappear once you have frozen it... But, it's NOT gone, you just cannot see it until you've added your newly edited files for the shard to read from. This is explained below:

Go to your UO folder, Locate the UOG folder inside of the UO Folder... Find the folder inside of there that is linked to your server (Easy way to do this, start UOGateway, click on the "edit settings" icon across from your shards name and look at the Server Settings section... Then where it says "Directory". This is the place your shards files will be placed, so go to that folder in the UOG folder.
Then Go to the folder where you pasted those copied UO Files... If you froze an area in Tram or Fel, locate these files:
Statics0.mul
Staidx0.mul

If the area was in Malas locate these:
Statics2.mul
Staidx2.mul

If the area was in Ilshenar locate these:
Statics3.mul
Staidx3.mul

And Tokuno is these:
Statics4.mul
Staidx4.mul

Now, find which files you need based on where the froze area is using the above listed information... and Copy the files then PASTE them into the folder for your shard in the UOG folder.
Now, you have to RENAME these files for Gateway to recognize them, here is the rundown of the renaming of those newly pasted files in your shard folder:

Statics0.mul = sm0
Staidx0.mul = si0
Statics2.mul = sm2
Staidx2.mul = si2
Statics3.mul = sm3
Staidx3.mul = si3
Statics4.mul = sm4
Staidx4.mul = si4

Now, restart your server, and log back on, and you should now see the area now once you log back on. I think thats about it, just rinse and repeat steps from [freeze each time you want to add a building on the map. Or you can [freeze multiple areas then switch out files once you get the hang of it, it becomes pretty simple to do. Hope I covered everything!
 

Johan Smith

Wanderer
this is super necro however the map files are switched...as taken from Iomegas "how to make patches" post in the faq:


Ilshenar Changes:
statics2.mul
staidx2.mul

Malas Changes:
statics3.mul
staidx3.mul
If you're working directly with the files this is important to know what specifically to back up.

-Johan
 
Top