Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Reply
 
Thread Tools Display Modes
Old 08-25-2008, 04:23 AM   #1 (permalink)
Newbie
 
Join Date: Jul 2007
Age: 28
Posts: 35
Default {0}_{0}-A typical problem.Help me plz.

How to change the vendor's tax that hired by player???
zillafan is offline   Reply With Quote
Old 08-25-2008, 04:36 AM   #2 (permalink)
Forum Novice
 
Tassyon T's Avatar
 
Join Date: Sep 2007
Posts: 367
Default

Quote:
Originally Posted by zillafan View Post
How to change the vendor's tax that hired by player???

Browse the PlayerVendor script.

Here are notible constructors, methods, etc. to look at:

Quote:
PlayerVendor : Mobile, IEntity, IPoint3D, IPoint2D, IHued
Nested Types: PayTimer, PVBuyTarget
(ctor) PlayerVendor( Serial serial )
(ctor) PlayerVendor( Mobile owner )
int BankAccount( get; set; )
int ChargePerDay( get; )
bool Destroying( get; set; )
int HoldGold( get; set; )
Mobile Owner( get; set; )
Hashtable SellItems( get; )
VendorItem AddInfo( Item item, Item target )
virtual bool CanBeDamaged()
virtual bool CheckNonlocalDrop( Mobile from, Item item, Item target )
virtual bool CheckNonlocalLift( Mobile from, Item item )
virtual void Deserialize( GenericReader reader )
void Dismiss( Mobile from )
virtual void DisplayPaperdollTo( Mobile m )
virtual void GetChildProperties( ObjectPropertyList list, Item item )
void GiveGold( Mobile from )
void GiveItem( Mobile from, Item item, Item target )
virtual bool HandlesOnSpeech( Mobile from )
void InitBody()
virtual void InitOutfit()
bool IsOwner( Mobile m )
virtual bool IsSnoop( Mobile from )
virtual void OnAfterDelete()
virtual bool OnBeforeDeath()
virtual void OnDoubleClick( Mobile from )
virtual bool OnDragDrop( Mobile from, Item item )
virtual void OnSpeech( SpeechEventArgs e )
void RemoveInfo( Item item )
virtual void Serialize( GenericWriter writer )
bool WasNamed( string speech )
Try changing the math in the int ChargePerDay( get; ) determinant. Post any errors you get here and we'll help troubleshoot.

Last edited by Tassyon T; 08-25-2008 at 04:38 AM.
Tassyon T is offline   Reply With Quote
Old 08-25-2008, 10:50 AM   #3 (permalink)
Newbie
 
Join Date: Jul 2007
Age: 28
Posts: 35
Default

Thank U~!I see
zillafan 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