Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 07-18-2006, 01:24 PM   #26 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,764
Send a message via Yahoo to Lord_Greywolf
Default

ok - i just found a big bug in the system on this and a minor bug

if you are in the cellar you can add a cellar there also making a new sub level
etc etc

eventuly it will hit max lower z level and probaly cause a crash - need a way to check if it is being aded to a cellar some how

and the minor bug is you can redeed it by axing the floor and theb being stuck in blackness
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 07-18-2006, 02:12 PM   #27 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,764
Send a message via Yahoo to Lord_Greywolf
Default

hre is a fix for the big bug - or should work anyways - i am going to test it in a few

in the deed part change it around so it reads like this:

Code:
		[Constructable]
		public CellarDeed()
		{
                 	Name = "Cellar Deed";
		}

		public override void OnDoubleClick( Mobile from )
		{
			if ( from.Z <= -80 )
			{
				from.SendMessage( "You can not make a cellar here - you are to deep" );
				return;
			}
		
			base.OnDoubleClick( from );
				
		}

		public CellarDeed( Serial serial ) : base( serial )
		{
		}
edited afterwards -- this code does work for fixing it for them going too deep
you can still add cellars to cellars, etc until you get to deep
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)

Last edited by Lord_Greywolf; 07-18-2006 at 03:01 PM.
Lord_Greywolf is offline   Reply With Quote
Old 07-18-2006, 02:48 PM   #28 (permalink)
Forum Expert
 
Liacs's Avatar
 
Join Date: Mar 2004
Location: Belgium / Germany
Age: 31
Posts: 1,036
Send a message via MSN to Liacs
Default

@ Pyro: I actually also use the [CALT command and also have the problem not being able to redeed anything... you already found a solution here?
__________________
;)My C# Bookshelf (carpented by Soultaker);)

BTW: Please ask questions in the adequat forum and not on a private message! Otherwise nobody can learn from it!
Liacs is offline   Reply With Quote
Old 07-18-2006, 03:00 PM   #29 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,764
Send a message via Yahoo to Lord_Greywolf
Default

i just found the soulution to going to deep - the code above fixes that

I do not have any problems redeeding - but i use the staffstone and not the [calt command

(staff stone changes you to player also - actualy a player, just not mortal and such - plus it has other features)
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 07-18-2006, 03:32 PM   #30 (permalink)
Forum Expert
 
Liacs's Avatar
 
Join Date: Mar 2004
Location: Belgium / Germany
Age: 31
Posts: 1,036
Send a message via MSN to Liacs
Default

then I think i have to try that staff stone

Thanks!

Lia
__________________
;)My C# Bookshelf (carpented by Soultaker);)

BTW: Please ask questions in the adequat forum and not on a private message! Otherwise nobody can learn from it!
Liacs is offline   Reply With Quote
Old 07-18-2006, 06:45 PM   #31 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

Quote:
Originally Posted by Lord_Greywolf
ok - i just found a big bug in the system on this and a minor bug

if you are in the cellar you can add a cellar there also making a new sub level
etc etc

eventuly it will hit max lower z level and probaly cause a crash - need a way to check if it is being aded to a cellar some how

and the minor bug is you can redeed it by axing the floor and theb being stuck in blackness
The little bug was in my first post.
The thing about going lower and lower with addons is true but when it gets to the bottom it actually will move the next to the highest spot (so above your house).

Have you tried your MOD and see if it works in Malas?
Z's there are a bit different.
Tru is offline   Reply With Quote
Old 07-18-2006, 09:16 PM   #32 (permalink)
Forum Novice
 
Midnightdragon's Avatar
 
Join Date: Jun 2006
Age: 29
Posts: 615
Default

Here are some recommendations for some of those having problems. Please remember these are only recommendations and nothing more.

If you are sufficient in C# then try adding a check to this when placing a cellar that goes by the current Z of the player in relation to the map and have it place the cellar at the lowest possible Z level. what does this do? Stops players from placing it if there is not enough room under the house. Also if a player is on a high Z level it still places the cellar as low as possible eliminating the possibility of having a cellar added to the house from its roof and ending up with the cellar 40 Z lower than the houses roof because in some cases this will lead to a cellar being within the house and not under it.

Once again real simple like cause it to check current Z and depending on the map if there is sufficient room add a cellar as low as possible under the house. Any other conditions outside of the check simply deny placement of the cellar.

Well this is my suggestion to those experiencing problems. again nothing more than a thought I had about fixing this.
Midnightdragon is offline   Reply With Quote
Old 07-18-2006, 09:17 PM   #33 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,764
Send a message via Yahoo to Lord_Greywolf
Default

my mod checks for the z of the person - if they are below -80 then it will not let them place it

so even in malas they can not place it - it still has the same max and min z' levels

you could probaly tweak it to -85 and still work - but i think anything below-125 z causes problems
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 07-18-2006, 10:26 PM   #34 (permalink)
Forum Novice
 
Midnightdragon's Avatar
 
Join Date: Jun 2006
Age: 29
Posts: 615
Default

Quote:
Originally Posted by Lord_Greywolf
my mod checks for the z of the person - if they are below -80 then it will not let them place it

so even in malas they can not place it - it still has the same max and min z' levels

you could probaly tweak it to -85 and still work - but i think anything below-125 z causes problems
Yes your right about -125 as well as anything above 125 that is basically the min max Z level recognized by the client. The only reason you can build large buildings with more than like 6 floors in malas is because its land lies at something like -80 or -90 I know the starry "void" areas are at about -9 or
-95 so for malas building cellars is not a great idea unless you find an area they can just squeeze under the house.
Midnightdragon is offline   Reply With Quote
Old 07-19-2006, 03:18 PM   #35 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,764
Send a message via Yahoo to Lord_Greywolf
Default

i have modded this quite a bit, but the big part is that you can change the -40's to -30's and it still works great - just remember to adjust the teleport part and the book case part too else they go to crazy places

if you do do this - remeber to have them clear out their cellars before you make the change and redeed them - this way they do not get stuck at a -40 and only being raised by 30

if they make sub basements below the celar - does not matter - they still to do not get any more lockdowns - so to me no big deal

So putting in the z limiter like i suggested, and then the -30's and you can also place in malas
(i changed the z limiter to -81 - that way most of malas is available)
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 08-16-2006, 07:21 PM   #36 (permalink)
Forum Expert
 
nomad707's Avatar
 
Join Date: Mar 2003
Location: Santa Rosa, CA
Age: 21
Posts: 1,568
Send a message via AIM to nomad707 Send a message via MSN to nomad707 Send a message via Yahoo to nomad707
Default

you can also make a check for which map you are on, and have different deeds for different facets. This way, you cannot use a malas cellar in trammel, this will enable you to have different z levels, and still use the cellar in the entire server.
__________________
Northern Born, Livin in the ghetto
nomad707 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