Armageddon General Discussion Board

General => Code Discussion => Topic started by: Salt Merchant on December 06, 2007, 09:53:16 PM

Title: Merchants gone mad?
Post by: Salt Merchant on December 06, 2007, 09:53:16 PM
What is this merchant trying to do? Each time my character offers a spear, he's quoting a lower price for it.


>offer spear
The short, dark-haired merchant says to you:
     "I shall buy a long bone-headed spear from you for 20 obsidian coins."

>!
The short, dark-haired merchant says to you:
     "I shall buy a long bone-headed spear from you for 16 obsidian coins."

>!
The short, dark-haired merchant says to you:
     "I shall buy a long bone-headed spear from you for 14 obsidian coins."

>!
The short, dark-haired merchant says to you:
     "I shall buy a long bone-headed spear from you for 13 obsidian coins."

>!
The short, dark-haired merchant insists on keeping the price the same for a bloodied long bone-headed spear.

>!
The short, dark-haired merchant insists on keeping the price the same for a bloodied long bone-headed spear.

>!
The short, dark-haired merchant says to you:
     "I shall buy a long bone-headed spear from you for 12 obsidian coins."

>!
The short, dark-haired merchant says to you:
     "Let's keep the price at 12 obsidian coins, shall we?"

>!
The short, dark-haired merchant says to you:
     "Let's keep the price at 12 obsidian coins, shall we?"
Title: Re: Merchants gone mad?
Post by: Maybe42or54 on December 06, 2007, 10:09:06 PM
Stop trying to offer the spear for nothing. They want to spend their money!  I havn't experienced that, but I always "Offer shit target."
Title: Re: Merchants gone mad?
Post by: manonfire on December 06, 2007, 10:10:54 PM
I had no idea you could use ! to repeat a command.

(http://upload.wikimedia.org/wikipedia/en/7/73/The_More_You_Know.jpg)
Title: Re: Merchants gone mad?
Post by: Stroker on December 06, 2007, 11:25:45 PM
AND KNOWLEDGE IS POWER!
Title: Re: Merchants gone mad?
Post by: Vanth on December 07, 2007, 12:16:52 AM
When you 'offer spear' you are basically doing the same as 'offer spear 0' so...you're talking him down. :P

Tell him how much you want for the spear, or if you're not sure, use the first offer as a starting point.
Title: Re: Merchants gone mad?
Post by: Salt Merchant on December 07, 2007, 04:22:44 AM
The thing is that it is not consistent.

For example, at the same merchant:


>offer club
The short, dark-haired merchant says to you:
     "Let's keep the price at 11 obsidian coins, shall we?"

>!
The short, dark-haired merchant says to you:
     "Let's keep the price at 11 obsidian coins, shall we?"

>!
The short, dark-haired merchant says to you:
     "Let's keep the price at 11 obsidian coins, shall we?"

>offer club 0
The short, dark-haired merchant says to you:
     "You haggle well, your offer is acceptable."
Title: Re: Merchants gone mad?
Post by: lurkus ignoramus on December 07, 2007, 06:17:32 AM
Maybe they just get annoyed easily, and don't really need your stuff?
Title: Re: Merchants gone mad?
Post by: Salt Merchant on December 07, 2007, 06:45:21 AM
Quote from: lurkus ignoramus on December 07, 2007, 06:17:32 AM
Maybe they just get annoyed easily, and don't really need your stuff?

I know that they mostly don't want my stuff.  :D Nearly all of them have no coin for buying (except within the first ten minutes of a reboot, I've observed).

To top it off, if you haggle, they won't tell you this until you've finally agreed on a price.
Title: Re: Merchants gone mad?
Post by: Synthesis on January 25, 2008, 06:47:41 AM
If you try to haggle with items that are bloody/sweaty/stained, the merchant will haggle -down-, because he doesn't want to buy your shitty, dirty gear.

This is your problem.
Title: Re: Merchants gone mad?
Post by: Simple on January 25, 2008, 09:07:25 AM
That happened me too. I offered to sell at a higher price than he wanted to pay, then he dropped what he would pay, instead of going up. It was weird. I moved on and haven't seen it since, think it was Welen's in Allanak...
Title: Re: Merchants gone mad?
Post by: Salt Merchant on January 25, 2008, 11:21:35 AM
Quote from: Synthesis on January 25, 2008, 06:47:41 AM
If you try to haggle with items that are bloody/sweaty/stained, the merchant will haggle -down-, because he doesn't want to buy your shitty, dirty gear.

This is your problem.

No, it isn't. I wasn't trying to sell bloody/sweaty/stained gear.

However, I think the problem may have been fixed now.
Title: Re: Merchants gone mad?
Post by: Troicha on January 25, 2008, 11:22:46 AM
Alternatively, your haggle skill is low enough that you offended him with your higher offer, so he won't even give you the generous amount he would before.
Title: Re: Merchants gone mad?
Post by: Salt Merchant on January 25, 2008, 11:41:36 AM
Quote from: Troicha on January 25, 2008, 11:22:46 AM
Alternatively, your haggle skill is low enough that you offended him with your higher offer, so he won't even give you the generous amount he would before.

It's extremely unlikely that this was the case. My character was able to haggle quite well under other circumstances. Also, it would take a negative skill level to cause them to bid down, wouldn't it?

I suspect it was a case of a good haggling skill combined with a second bonus (won't describe what) causing overflow in a single-byte variable. Who knows, though.
Title: Re: Merchants gone mad?
Post by: X-D on January 25, 2008, 12:16:22 PM
Keep in mind, danaged counts on the bloodied stained etc and usually the merchant will haggle down.

ANY use flag on the item is damage. New is damaged. Undamaged gear has no flags.
Title: Re: Merchants gone mad?
Post by: Synthesis on January 25, 2008, 01:05:10 PM
Quote from: Salt Merchant>!
The short, dark-haired merchant insists on keeping the price the same for a bloodied long bone-headed spear.

That's bloodied, is it not?
Title: Re: Merchants gone mad?
Post by: Salt Merchant on January 25, 2008, 02:58:13 PM
Quote from: Synthesis on January 25, 2008, 01:05:10 PM
Quote from: Salt Merchant>!
The short, dark-haired merchant insists on keeping the price the same for a bloodied long bone-headed spear.

That's bloodied, is it not?

Okay, you got me there. But it cropped up more than once, for diverse items.
Title: Re: Merchants gone mad?
Post by: Spud on January 25, 2008, 03:06:33 PM
Maybe it's a bug.

Maybe the shopkeep doesn't like you and he's being a smart ass.

I've never ever ever ever had a shopkeep lower the price they would pay.
Title: Re: Merchants gone mad?
Post by: Troicha on January 25, 2008, 06:57:17 PM
Quote from: Salt Merchant on January 25, 2008, 11:41:36 AM
Quote from: Troicha on January 25, 2008, 11:22:46 AM
Alternatively, your haggle skill is low enough that you offended him with your higher offer, so he won't even give you the generous amount he would before.

It's extremely unlikely that this was the case. My character was able to haggle quite well under other circumstances. Also, it would take a negative skill level to cause them to bid down, wouldn't it?

I suspect it was a case of a good haggling skill combined with a second bonus (won't describe what) causing overflow in a single-byte variable. Who knows, though.

You missed my point because I disguised it. I was giving an IC explanation for the event. (Yes, I know it doesn't solve any potential code problem, but it might help with breaking your disbelief.)
Title: Re: Merchants gone mad?
Post by: Eukelade on January 25, 2008, 07:53:42 PM
This is a bug of some kind.  Don't ask me what kind of bug it is, because I am not a coder, but I believe it only occurs when the item is damaged or imperfect in some way.
Title: Re: Merchants gone mad?
Post by: Folker on January 25, 2008, 09:00:08 PM
Gotta say, it is odd. Two identical weapons, one of them hit someone eight times. I sell unused item and get x, but I manage to haggle it up by a few 'sid and sell it. The next weapon that was used only in one fight, end up being 60% of the previous cost and my attempt to haggle it up ended up dropping it to 50%. I mean, I understand the change in prices of being used and unused, but ... holy shit 40% drop over a 30 second fight.
Title: Re: Merchants gone mad?
Post by: Vanth on January 25, 2008, 09:41:46 PM
Quote from: Eukelade on January 25, 2008, 07:53:42 PM
This is a bug of some kind.  Don't ask me what kind of bug it is, because I am not a coder, but I believe it only occurs when the item is damaged or imperfect in some way.

It's a bug if it's happening anywhere other than Kadius.  Kadians do, in fact, pay less for damaged/soiled items.  Some Kadians refuse to buy these items at all.
Title: Re: Merchants gone mad?
Post by: Kalden on January 26, 2008, 04:08:37 AM
Does Kadius even buy weapons?
Title: Re: Merchants gone mad?
Post by: Vanth on January 26, 2008, 04:55:59 AM
There's probably one Kadian who does, but that's not the one I mean...I was talking about the shops where they sell and buy clothes.