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 10-28-2007, 02:55 PM   #1 (permalink)
Newbie
 
Join Date: Oct 2007
Posts: 30
Default Some settings I hope

I have a couple of problems I would like to see if someone can help on.
1.As a owner I want it so when I am logged on that no admin or anyone else can see me unless I want them to. Right now if I'm hidden on the same screen they are they can see my hidden char. I would like it to do this by rank of admins also. I have seen this on other shards but for some reason not working on my shard.

2. I want to have all buildings that my staff builds transfered to me when they are complete, while staff can build unlimited houses (buildings) it will only allow 2 to be transfered, because we have it set so players can have 2 houses. Does anyone know how to fix this?

Thanks
lstsargent is offline   Reply With Quote
Old 10-30-2007, 05:53 AM   #2 (permalink)
Forum Novice
 
Dereckson's Avatar
 
Join Date: Dec 2005
Location: Belgium
Age: 25
Posts: 260
Send a message via Skype™ to Dereckson
Default

Good morning

1 - Yeah, in RunUO 2 there's a little change in the hidden hierarchy.

From admin now, you can see everywhere. If you don't trust them to see you, why do you put them admin ?

If you really want to be a lamer spy, edit PlayerMobile.cs CanSee (Mobile m) method. m.AccessLevel is your friend. And don't ask me more on this topic.

2 - Please do yourself a favor and add an owner property on the HouseSign so you can transfer what you want to who you want as gm.

e.g. you can add to Multis\HouseSign.cs:

PHP Code:
        [CommandProperty(AccessLevel.GameMaster)]
        public 
Mobile HouseOwner {
            
get {
                return 
m_Owner.Owner;
            }
            
set {
                
m_Owner.Owner value;
            }
        } 
__________________
La connaissance s'accroît quand on la partage.
Share your knowledge, you'll increase it.

Utopia. Votre Monde.
Dereckson is offline   Reply With Quote
Old 10-30-2007, 08:13 AM   #3 (permalink)
Newbie
 
Join Date: Oct 2007
Posts: 30
Default

Thanks for the reply but I'm not a scripter so I have no idea where to look or what to change for either one of those. Any other help?

Thanks
lstsargent is offline   Reply With Quote
Old 10-30-2007, 01:49 PM   #4 (permalink)
Forum Novice
 
Dereckson's Avatar
 
Join Date: Dec 2005
Location: Belgium
Age: 25
Posts: 260
Send a message via Skype™ to Dereckson
Default

You can add the code where you want.

Don't worry, if you put the code to the wrong place, it won't compile so you'll know if it's not okay.

Open Scripts\Ceridwen\Multis\HouseSign.cs

Search the following code around line 45-50:

PHP Code:
        [CommandProperty(AccessLevel.GameMaster)]
        public 
Mobile OriginalOwner {
            
get {
                return 
m_OrgOwner;
            }
        } 
And just after write:

PHP Code:
        [CommandProperty(AccessLevel.GameMaster)]
        public 
Mobile HouseOwner {
            
get {
                return 
m_Owner.Owner;
            }
            
set {
                
m_Owner.Owner value;
            }
        } 
Now in GM/admin/dev/owner you'll can [props on the sign, click HouseOwner and target the new character you want as owner.
__________________
La connaissance s'accroît quand on la partage.
Share your knowledge, you'll increase it.

Utopia. Votre Monde.
Dereckson is offline   Reply With Quote
Old 10-31-2007, 10:47 AM   #5 (permalink)
Newbie
 
Join Date: Oct 2007
Posts: 30
Default

Great thanks so much that works well. No If I could get the first question figured out it would be good.
lstsargent 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