Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 05-19-2005, 06:53 AM   #1 (permalink)
Forum Expert
 
Join Date: Feb 2003
Location: East Coast USA
Posts: 1,382
Default Easier Vendor Mall (No house script changes)

If you remember the Vendor Mall script package released a while ago, this is just a modification to those scripts so that they don't require a change to the house gumps or anything like that. Tested with RunUO 1.0.0, probably compatible with older versions but unknown.

Instructions:

Point And Grunt (TM) installation, no scripts need to be modified. Extract archive to your favorite custom scripts folder, if you're organized.

In-game:



  • [add landlord
  • (Optional) [set direction # (1-7, to change the facing of the landlord.)
  • Double-click on the landlord with a character who has accesslevel of GameMaster or above, then target the house sign of the house they'll be controlling.
  • (Optional) [set RentCost ### (to change what the landlord charges)
  • As a player, drag and drop the exact RentCost amount (default: 250) onto the landlord; you will be made a friend of the house. Higher or lower and your money will be returned to you.
When paid, a landlord will add the character to the house's "friends" list, enabling them to place vendors and open chests/doors marked with "Friends" security level.

Quick and easy and probably deprecated by the vendor rental spots. Oh well. I find it useful in other ways so I 'fixed' this package.

SHOULD be backward compatible with the old Vendor Mall scripts, of course you can go back to using stock house scripts.
Attached Files
File Type: zip EasierVendorMall.zip (2.6 KB, 462 views)
__________________

the-retelling.org : scripts and tech demo
Alari is offline  
Old 05-19-2005, 11:37 AM   #2 (permalink)
Forum Novice
 
Join Date: Jul 2004
Location: In Your Internet
Age: 21
Posts: 794
Send a message via AIM to Darkness_PR Send a message via MSN to Darkness_PR
Talking

=O hahaha i used to have gm take the deeds and then give the ownership to the player this WILL make it a lot easier!!! thanks for sharing
Darkness_PR is offline  
Old 06-06-2005, 01:14 PM   #3 (permalink)
 
Join Date: Jun 2005
Posts: 6
Default

i followed the directions. when a player tries to place a vendor, they get "only the house owner can directly place vendors, please ask the owner to offer you a vendor contract blah blah blah"... whats the problem?
mystification is offline  
Old 06-07-2005, 05:09 AM   #4 (permalink)
Forum Expert
 
Sunshine's Avatar
 
Join Date: Mar 2005
Location: Hopefully not near you
Posts: 2,233
Default

Same thing happens for me as well, is there a way to correct this please
Sunshine is offline  
Old 06-08-2005, 06:24 AM   #5 (permalink)
Forum Expert
 
Join Date: Aug 2003
Age: 25
Posts: 444
Default

Quote:
Originally Posted by mystification
i followed the directions. when a player tries to place a vendor, they get "only the house owner can directly place vendors, please ask the owner to offer you a vendor contract blah blah blah"... whats the problem?
did the player pay the rent? check and see if they are a friend of the house....
__________________

blackgriffin is offline  
Old 06-08-2005, 06:37 AM   #6 (permalink)
 
Join Date: Jun 2005
Posts: 6
Default

Quote:
Originally Posted by blackgriffin
did the player pay the rent? check and see if they are a friend of the house....
yes. all of the instructions were followed to the letter. it seems simple enough, but ill be dammed if i can get it to work. and it looks like at least one other person is having the problem too. any ideas???
mystification is offline  
Old 06-08-2005, 06:54 AM   #7 (permalink)
Forum Expert
 
Join Date: Aug 2003
Age: 25
Posts: 444
Default

i'll look at the script later. i'm not in a position right now where i can.
__________________

blackgriffin is offline  
Old 06-08-2005, 09:09 AM   #8 (permalink)
 
Join Date: May 2005
Age: 27
Posts: 11
Default

This script seems wonderfull! I looked at the code and it seems that the players only pay the fee once, not monthly. Am I right? If they are not paying monthly, would it be difficult to code it to be that way? I'm not asking you to do that, if it's not complicated I could try it out myself. I just have never touched C# before... I know only the basics of Java but I guess that's a start... of some sort... or not...

Should I even try?
cayuchi is offline  
Old 06-08-2005, 11:32 AM   #9 (permalink)
Forum Expert
 
Sunshine's Avatar
 
Join Date: Mar 2005
Location: Hopefully not near you
Posts: 2,233
Default

ok thanks hun and just so you know :

Followed directions exactly...they paid (I checked that) and they were made a freind of the house but still could not place a vendor

Thanks for your time
Sunshine is offline  
Old 06-17-2005, 02:50 PM   #10 (permalink)
Forum Expert
 
Join Date: Feb 2003
Location: East Coast USA
Posts: 1,382
Default

Thought I had tested this, but I guess I was wrong. :>

Anyway, the ContractOfEmployment has been changed, now only house owners can place vendors.


You can:

Use Vendor Rental Contracts and manually rent out the spots you want, or;

Modify the contract of employment to allow house friends to place vendors, or;

Breathe a sigh of relief since what you really wanted was an easy, automated way to friend someone to the house but not actually let them place vendors. :>


Anyway, to do the second choice, modify Scripts\Items\Misc\PlayerVendorDeed.cs:


Change:
Code:
		 	else if ( BaseHouse.NewVendorSystem && !house.IsOwner( from ) )
				{
		 		from.SendLocalizedMessage( 1062423 ); // Only the house owner can directly place vendors. Please ask the house owner to offer you a vendor contract so that you may place a vendor in this house.
				}
to:
Code:
		 	else if ( BaseHouse.NewVendorSystem && !house.IsFriend( from ) )
				{
		 		from.SendLocalizedMessage( 1062423 ); // Only the house owner can directly place vendors. Please ask the house owner to offer you a vendor contract so that you may place a vendor in this house.
				}
Granted, with that change, the localized message will still be wrong. Changing that is left as an exercize to the reader. Of course, the subject of this thread is now wrong. Oops.

And cayuchi, what you describe is what the Vendor Rental Contracts do. Basically. Only one spot at a time, not a whole house. Changing the script to unfriend someone after a month would be just as much work, unless you have a LOT of these spots.
__________________

the-retelling.org : scripts and tech demo
Alari is offline  
Old 06-25-2005, 02:46 AM   #11 (permalink)
Forum Expert
 
Join Date: Jan 2004
Location: Florida
Age: 33
Posts: 544
Default

Cheers, this was originally my script. Nice change.. The reason I had it on the house sign is because I did not want my GMs adding landlords. The gump made it easy to make it "admin only". I had actually made a change very similar to this but never updated it on heres since the site lost all the scripts when they changed software. I have since updated it to work with the new vendor system by adding a non-serialized field to the playermobile and instead of friending the player (which no longer is the condition to place a vendor) it sets the flag which then allows them to use a rental contract and gives them a special vendor mall rental contract in their pack so they can place the vendor. The contract is set to automatically renew from the owner's point of view and gives the player and easy way to cancel it if they want. Works great, in fact it's alot simpler.
Avelyn is offline  
Old 06-26-2005, 05:26 PM   #12 (permalink)
Forum Expert
 
Join Date: Feb 2003
Location: East Coast USA
Posts: 1,382
Default

Quote:
Originally Posted by Avelyn
Cheers, this was originally my script.
It still is. :>

Quote:
Originally Posted by Avelyn
Nice change.. The reason I had it on the house sign is because I did not want my GMs adding landlords. The gump made it easy to make it "admin only". I had actually made a change very similar to this but never updated it on heres since the site lost all the scripts when they changed software. I have since updated it to work with the new vendor system by adding a non-serialized field to the playermobile and instead of friending the player (which no longer is the condition to place a vendor) it sets the flag which then allows them to use a rental contract and gives them a special vendor mall rental contract in their pack so they can place the vendor. The contract is set to automatically renew from the owner's point of view and gives the player and easy way to cancel it if they want. Works great, in fact it's alot simpler.
Perfectly understandable that you wouldn't want GM's adding vendor malls willy-nilly. =)

Personally for me the thing I was looking for was a way to "friend" players for a one-time fee (for in-game reasons) though vendor malls are a definite thing to add (once my shard is actually public. Heh.)

Any plans to release the updated vendor mall system?
__________________

the-retelling.org : scripts and tech demo
Alari is offline  
Old 07-01-2005, 04:59 PM   #13 (permalink)
Forum Newbie
 
Join Date: Jun 2003
Posts: 30
Default

I have been having a strange problem with these scripts where after a player has placed a vendor in a house controlled by a land lord the vendor just placed claims to be not owned by its owner.

When i get prop's on the vendor it says in there that the vendor is owned by the player trying to use it also non of my players get the gump opening when they double click there own vendor just the npc's back pack opens.


Does any 1 have any ideas?
carrbrooke is offline  
Old 07-03-2005, 04:21 PM   #14 (permalink)
Newbie
 
Join Date: Jul 2004
Location: Ont. Canada
Age: 27
Posts: 79
Send a message via MSN to titan0051
Default

My guess would be to Edit the PlayerVendor.cs to allow friends to own vendors in that house..

It should be in these lines somewhere but i havent exactly figured out where yet.

Quote:
PlayerVendor parent = this.Parent as PlayerVendor;

if ( parent != null )
return parent.IsOwner( m );

return base.CanStore( m );
}

public override bool CheckHold( Mobile m, Item item, bool message, bool checkItems, int plusItems, int plusWeight )
{
if ( !base.CheckHold( m, item, message, checkItems, plusItems, plusWeight ) )
return false;

if ( !BaseHouse.NewVendorSystem && Parent is PlayerVendor )
{
BaseHouse house = ((PlayerVendor)Parent).House;
My Only Fear is, that changing this to allow friends to have ownership, may allow ANY friend access to other peoples vendors..

Im still Puzzled.
titan0051 is offline  
Old 07-03-2005, 08:46 PM   #15 (permalink)
Forum Expert
 
Join Date: Feb 2003
Location: East Coast USA
Posts: 1,382
Default

Quote:
Originally Posted by carrbrooke
I have been having a strange problem with these scripts where after a player has placed a vendor in a house controlled by a land lord the vendor just placed claims to be not owned by its owner.

When i get prop's on the vendor it says in there that the vendor is owned by the player trying to use it also non of my players get the gump opening when they double click there own vendor just the npc's back pack opens.


Does any 1 have any ideas?
The only thing this script does is change the requirements to place a vendor. It doesn't actually modify the vendor itself. Is another script you may have installed causing this problem?

I did some testing on my own. Single left click on the house sign and choose "vendors", from there you can customize your vendors, etc. More info is available at http://update.uo.com/design_439.html
You can also dress them with clothing by opening their paperdoll ( single left click on them to open the context menu, and choose "open paperdoll", then drag the clothing you want them to wear onto them. (Remove old clothing first)
__________________

the-retelling.org : scripts and tech demo
Alari is offline  
Old 07-10-2005, 03:47 PM   #16 (permalink)
Forum Expert
 
Join Date: Jan 2004
Location: Florida
Age: 33
Posts: 544
Default

Quote:
Originally Posted by carrbrooke
I have been having a strange problem with these scripts where after a player has placed a vendor in a house controlled by a land lord the vendor just placed claims to be not owned by its owner.

When i get prop's on the vendor it says in there that the vendor is owned by the player trying to use it also non of my players get the gump opening when they double click there own vendor just the npc's back pack opens.


Does any 1 have any ideas?
These scripts should not alter the behavior of the vendors, it only allows placement. However, with the new vendor system, the scripts are not compatible as written as there are new conditions on placing vendors. If you edit stock Runuo scripts to make it compatible you could be causing your problem. To work properly these should be modifed so that you are not friended anymore as this means nothing for vendors. Dont bother editing anything that has to do with friends. I will clean up my new system and post a version of it. The only thing I can tell you about it is that a GM or other staff member will have to place the contracts. This can be very easily rewritten but I prefer it on my shard so I can designate exactly where I want vendors placed in the mall. Give me a day or so and I will post the updated system.
Avelyn is offline  
Old 07-14-2005, 03:23 PM   #17 (permalink)
 
Join Date: Mar 2005
Age: 30
Posts: 53
Default

This is a really great script, I love it but I'm having one problem. I've managed to get it to where the player pays the landlord to become friend of the house, also player is able to place the vendor, however, the player that placed the vendor isnt the owner of the vendor, the house owner becomes the owner of the vendor. I've been searching through all the scripts and am unable to locate where I can fix this, can you point me in the right direction? I really appreciate it, thanks.
LNM_TNB is offline  
Old 07-27-2005, 10:54 PM   #18 (permalink)
Donating Member
 
Join Date: Oct 2003
Location: oHIo
Age: 38
Posts: 65
Default easy?

Ok, so far i have had to modify 2 core scripts and it still dosen't work. i finally got it to where a player can place a vendor, but there is something wrong with the owner part now. There appears to be no way of making the player that placed the vendor the actual owner. I'm sure this is in another script somewhere, and i would be glad to modify it, if i knew where to modify.

Can you PLEASE post the fixes to this system? it is a great idea, but it still needs alot of work. Perhaps fully testing scripts before you post them would be a good idea? I don't mean to be negative, and i hate flames on these forums, so i dont mean to come off that way if i did. As i said it is a great concept, and i would love to see it work.

thanks
locksmith is offline  
Old 07-28-2005, 03:23 AM   #19 (permalink)
Forum Expert
 
Join Date: Feb 2003
Location: East Coast USA
Posts: 1,382
Default

The changes made in RunUO 1.0.0 to match the vendor system to the new OSI standard has made this script obsolete. It no longer works as described or intended in terms of placing vendors. The character is still friended to the house by making a payment to the landlord but they will not be able to place vendors without modification to vendor rental contracts at least.

I detailed here what changes need to be made, but it does require modifying the distro scripts.
__________________

the-retelling.org : scripts and tech demo
Alari is offline  
Old 11-07-2005, 04:10 PM   #20 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
Default A Warning

I found a few warnings and fixed them:
Attached Files
File Type: cs BaseLandLord.cs (4.5 KB, 20 views)
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline  
 

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 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5