Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 04-26-2008, 09:23 PM   #1 (permalink)
Forum Novice
 
GhostRiderGrey's Avatar
 
Join Date: Nov 2007
Posts: 155
Default Haven and RC2 and Older Client

I have a new shard using RunUO 2.0 RC2 and UO client 5.0.6.c. When I log into the server [also with client 5.0.6.c], the area around Haven calls itself New Haven and there are are all kinds of items out of place and floating after I do the [Decorate command.

After searching the forums, it appears that there were map changes for Haven/New Haven at about client version 6.0.0.0, so i do not understand why (if I'm using 5.0.6.c client data on the server) the maps are messed up.

Is this an issue with changes in RC2?

If it is an RC2 issue, is there a solution which would allow me to use RC2 and have the Haven area decorate correctly?

Any help would be greatly appreciated!!

Thanks, GhostRiderGrey
GhostRiderGrey is offline   Reply With Quote
Old 04-27-2008, 09:57 AM   #2 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,425
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

The RC2 Server is set up with Map, Region, Deco, and Spawn which all support the latest expansions to UO (Post v6.0 patch.)

If you want to run a shard on the old Haven setup, use the RC1 Server.
Lokai is offline   Reply With Quote
Old 04-27-2008, 10:12 AM   #3 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 45
Posts: 4,370
Default

I think you can also use RC2 by just replacing the Data/Decoration folder from RC2 with an older one, such as the one from RC1 before using the [decorate command.
__________________
HellRazor is online now   Reply With Quote
Old 04-27-2008, 06:01 PM   #4 (permalink)
Forum Novice
 
Join Date: Jan 2006
Posts: 327
Default

There are also a couple changes needed in the MapDefinitions.cs file as such:

Code:
using System;
using Server;

namespace Server.Misc
{
	public class MapDefinitions
	{
		public static void Configure()
		{
			/* Here we configure all maps. Some notes:
			 * 
			 * 1) The first 32 maps are reserved for core use.
			 * 2) Map 0x7F is reserved for core use.
			 * 3) Map 0xFF is reserved for core use.
			 * 4) Changing or removing any predefined maps may cause server instability.
			 */

			RegisterMap( 0, 0, 0, 7168, 4096, 4, "Felucca",		MapRules.FeluccaRules );
			RegisterMap( 1, 1, 0, 7168, 4096, 0, "Trammel",		MapRules.TrammelRules );
			RegisterMap( 2, 2, 2, 2304, 1600, 0, "Ilshenar",	MapRules.TrammelRules );
			RegisterMap( 3, 3, 3, 2560, 2048, 0, "Malas",		MapRules.TrammelRules );
			RegisterMap( 4, 4, 4, 1448, 1448, 0, "Tokuno",		MapRules.TrammelRules );

			RegisterMap( 0x7F, 0x7F, 0x7F, Map.SectorSize, Map.SectorSize, 1, "Internal", MapRules.Internal );

			/* Example of registering a custom map:
			 * RegisterMap( 32, 0, 0, 6144, 4096, 3, "Iceland", MapRules.FeluccaRules );
			 * 
			 * Defined:
			 * RegisterMap( <index>, <mapID>, <fileIndex>, <width>, <height>, <season>, <name>, <rules> );
			 *  - <index> : An unreserved unique index for this map
			 *  - <mapID> : An identification number used in client communications. For any visible maps, this value must be from 0-3
			 *  - <fileIndex> : A file identification number. For any visible maps, this value must be 0, 2, 3, or 4
			 *  - <width>, <height> : Size of the map (in tiles)
			 *  - <season> : 0 - Spring, 1 - Summer, 2 - Fall, 3 - Winter, 4 - Desolation
			 *  - <name> : Reference name for the map, used in props gump, get/set commands, region loading, etc
			 *  - <rules> : Rules and restrictions associated with the map. See documentation for details
			*/

			TileMatrixPatch.Enabled = true;	//OSI client patch 6.0.0.0
		}

		public static void RegisterMap( int mapIndex, int mapID, int fileIndex, int width, int height, int season, string name, MapRules rules )
		{
			Map newMap = new Map( mapID, mapIndex, fileIndex, width, height, season, name, rules );

			Map.Maps[mapIndex] = newMap;
			Map.AllMaps.Add( newMap );
		}
	}
}
Changes are shown in red.
razzles is offline   Reply With Quote
Old 04-28-2008, 01:31 PM   #5 (permalink)
Forum Novice
 
GhostRiderGrey's Avatar
 
Join Date: Nov 2007
Posts: 155
Default

Thanks Lokai, Hellrazor & razzles for the replies!!

razzles, you indicated a change to MapDefinitions.cs

Code:
TileMatrixPatch.Enabled=True ; //OSI Client patch 6.0.0.0
What is this line of code doing? I set this to true even if using the older 5.0.6.c client code on the server?

Thanks,
GhostRiderGrey
GhostRiderGrey is offline   Reply With Quote
Old 04-28-2008, 05:40 PM   #6 (permalink)
Forum Novice
 
Join Date: Jan 2006
Posts: 327
Default

Quote:
Originally Posted by GhostRiderGrey View Post
Thanks Lokai, Hellrazor & razzles for the replies!!

razzles, you indicated a change to MapDefinitions.cs

Code:
TileMatrixPatch.Enabled=True ; //OSI Client patch 6.0.0.0
What is this line of code doing? I set this to true even if using the older 5.0.6.c client code on the server?

Thanks,
GhostRiderGrey
Yes, it's set to false for 6.0.0.0 and up. It has to do with patching in the diff files that are used prior to patch 6.0
razzles is offline   Reply With Quote
Old 04-28-2008, 05:59 PM   #7 (permalink)
Forum Novice
 
GhostRiderGrey's Avatar
 
Join Date: Nov 2007
Posts: 155
Default

Thank you razzles for the clarification.
GhostRiderGrey is offline   Reply With Quote
Old 04-28-2008, 06:55 PM   #8 (permalink)
Forum Novice
 
GhostRiderGrey's Avatar
 
Join Date: Nov 2007
Posts: 155
Default

HellRazor, I don't think that replacing the Decoration files will do the trick. I just compared the RC2 Decoration folder with the RC1 Decoration with WinMerge, and they are virtually identical. The AnkhEast references have been changed out for AnkhNorth and there is a change to the honor candle in 1 file, but besides that, they are the same files in both folders.

Your thoughts?

Thanks,
GhostRiderGrey
GhostRiderGrey is offline   Reply With Quote
Old 04-29-2008, 02:42 PM   #9 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 45
Posts: 4,370
Default

Hmmm. All of the stuff that is placed with the decorate command is in those files, so whatever is in there is going to be placed. I use a custom map so I'm not sure what versions of RunUO have what versions of the Haven decorations.

Are you sure that the stuff that is floating in the air was put there by the decorate command? Or is it possible that they are statics from the client file? (And if they are statics from the client file, is it possible that your server and your client are using 2 different versions of the static files?)
__________________
HellRazor is online now   Reply With Quote
Old 04-29-2008, 03:10 PM   #10 (permalink)
Forum Novice
 
GhostRiderGrey's Avatar
 
Join Date: Nov 2007
Posts: 155
Default

Client versions for both the server and login client were 5.0.6.c. There must be more in RC2, because the Decoration folders compare almost identically.

I have now also tried going with 4.11 client data on the server side with expansions set to None in the currentexpansion.cs file, but this wipes out too many features.

What is working is using RC1 with client/server 5.0.6.c data (as Lokai suggested). So I guess I'll stick to that for now.

Thanks for all the help.

Last edited by GhostRiderGrey; 04-29-2008 at 07:16 PM. Reason: typos
GhostRiderGrey is offline   Reply With Quote
Old 04-29-2008, 04:59 PM   #11 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 45
Posts: 4,370
Default

No problem. Sorry it isn't working out better.

Here's a few other things you can try:

If you are starting from a clean shard, delete the Saves/Items folder. Some of the items may be already in the world as part of the default RUO install for some reason.

Just in case, look in particular at the RC1 and RC2 Haven.cfg as that is the file containing the decorations for Haven.

Make sure that it is the decoration command that is doing it, because if that stuff is there before you use that command, it is either saved in Saves/Items, or it is a client related issue which will require other methods to fix.

Take care!
__________________
HellRazor is online now   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