Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Architect buy/sell house issues 56d
Author Message
jazzpassine
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2017
Reputation: 0



Post: #1
Architect buy/sell house issues 56d
Hello all!

I just started working on a .56d server and have encountered an issue with the architect. I am using the default script pack and have not added any custom scripts yet. When I place an architect I got the following error for each style of house deed:

WARNING:(sphere_template_vend.scp,33)Vendor non-vendable item: i_deed_brick_house uid=040001f26, vendor: Darnell uid=01f4c

The architect would not buy or sell any homes so I decided to add:
[Value=xxx] e.g. [Value=55000] to the code for each house deed.

This did remove the console error and the architect buys/sells deeds BUT the architect sells the deeds for less than the value I put into the script. When the architect buys them back some of the values match what the architect sold the deed for but some such as the castle are for almost 90% of the purchase price.

I'm sure i'm doing something really newb please help!

Thank you!!
09-04-2017 02:53 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Architect buy/sell house issues 56d
You have also to change the prices inmultihouses.scp (scripts/items/multi).

So you can set the deed value to 1 and put the price you want in the multi definition.

Also remember that vendors have "markup" cost (default 15%), so if the value of an house is 1000 he will sell it at 1150.

Example:
Code:
[ITEMDEF i_deed_field_stone_house]
ID=i_deed
value = 1
NAME=Deed to a Small Stone House
CATEGORY=Provisions - Deeds
SUBSECTION=House Deeds
DESCRIPTION=Small Stone House
ON=@Create
   MORE=m_field_stone_house

Code:
[MULTIDEF 066]
DEFNAME=m_field_stone_house
NAME=Field stone house
NAMELOC=1011304    //Field stone house
TYPE=t_multi
VALUE=1000
REGIONFLAGS=region_flag_nobuilding|region_antimagic_teleport
TSPEECH=spk_house_cmds
DUPELIST=067
CATEGORY=Multis
SUBSECTION=Houses
DESCRIPTION=Field Stone House
MULTIREGION=-3,-3,3,4
COMPONENT=i_door_wood,0,3,7
COMPONENT=i_sign_brass_2,2,4,5

So the Field Stone House will be sold at 1000 + 15% vendor markup = 1150.

Apply TAG.VENDORMARKUP=0 to the vendor for removing the markup cost, you can also increase or decrease it by using this tag.
(This post was last modified: 09-04-2017 04:05 AM by darksun84.)
09-04-2017 04:05 AM
Find all posts by this user Like Post Quote this message in a reply
jazzpassine
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2017
Reputation: 0



Post: #3
RE: Architect buy/sell house issues 56d
Thank you so much!

That is exactly what I needed. The architect is now selling deeds based on the prices in the multihouses.scp Smile

I am still having an issue when I try to sell the deeds back to the vendor. In the sell gump the deeds are as a "deed" not the specific type of house deed (e.g. "deed to a small stone house". Would you mind pointing me in the right direction for that as well?
09-04-2017 05:22 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Architect buy/sell house issues 56d
No idea i can't reproduce it Confused

Maybe the related multi isn't named?

Yes looks like if the multi(not the deed) isn't named the deed will be just sold as "deed" and also you will need to restart the server after adding/changing a name.
(This post was last modified: 09-04-2017 05:59 AM by darksun84.)
09-04-2017 05:48 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #5
RE: Architect buy/sell house issues 56d
i got an idea!

BRING BACK

BUYVALUE=7000-11000
SELLVALUE=2000-6000

Dragons of Time 2000-2020
http://dragonsoftime.com
09-04-2017 09:55 AM
Find all posts by this user Like Post Quote this message in a reply
jazzpassine
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2017
Reputation: 0



Post: #6
RE: Architect buy/sell house issues 56d
Hmmm I may not be understanding you

Isn't the multi already named?

Code:
[MULTIDEF 078]
DEFNAME=m_two_story_stone_and_plaster_house
NAME=Two-story stone and plaster house
NAMELOC=1011311    //Two-story stone and plaster house
TYPE=t_multi
VALUE=162000
REGIONFLAGS=region_flag_nobuilding|region_antimagic_teleport
TSPEECH=spk_house_cmds
DUPELIST=079
CATEGORY=Multis
SUBSECTION=Houses
DESCRIPTION=Two-Story Stone and Plaster House
MULTIREGION=-7,-7,6,7
COMPONENT=i_door_wood,-3,6,7
COMPONENT=06a7,-2,6,7    //wooden door
COMPONENT=i_door_wood,-3,0,27
COMPONENT=i_door_wood,-3,0,7
COMPONENT=i_sign_brass_2,1,7,5
(This post was last modified: 09-04-2017 01:30 PM by jazzpassine.)
09-04-2017 01:25 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: Architect buy/sell house issues 56d
Yes it's named, but the only way i can reproducing it is by removing the name and trying to add it again. So i thought you changed the multi name or removed it Confused
09-04-2017 07:17 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #8
RE: Architect buy/sell house issues 56d
It's also possible that the name is taken from NAMELOC=1011311 (a cliloc) and the clicloc is actually empty.
09-04-2017 08:25 PM
Find all posts by this user Like Post Quote this message in a reply
jazzpassine
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Sep 2017
Reputation: 0



Post: #9
RE: Architect buy/sell house issues 56d
Is it possible that it has to do with my UO version (ML) or my client (4.0.11c)? I ask because if you can't recreate it and we are both using .56d with the script pack then the difference would be our UO versions/clients?
09-05-2017 01:15 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #10
RE: Architect buy/sell house issues 56d
Oh yes i am using client 7.0.20
09-05-2017 01:21 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)