PDA

View Full Version : Fun with Numbers - How bartering works



Lucas Kell
19-02-13, 11:56
Yesterday I decided that it would be fun to play with the barter skill, to figure out how it is calculated. This is all in an efforts to give me a better understanding of the skill to determine how much is needed to be effective. I've seen a lot of number being thrown around the help channel about potential hard caps and effectiveness of the skill, but nothing solid. So I figured I'd take a look.

Now getting an initial (very rough) calculation proved to be easier than I thought. First you need to get the base cost of an item. For this I'm going to pick "Big Pack of construction Grease". Now I know the base price for this item is 12000. Getting the base price for an item may not be easy as its not written anywhere, but if you get a spy with no barter and 5 INT, look at an item and multiply its cost by 1.405747548, you'll get a close enough estimate.

So the calculation roughly is: =BASE * (0.710655 - (BRT * 0.165820) - (INT * 0.014210))
Nice and flat. So I thought, bit of polish to smooth off the rough edges and I'm done! Yeah right...
I decided to validate my formula with some helpful guys in the help channel. This taught me 2 valuable things:
Firstly, your INT may not be a solid number. Decimals are used for calculations, so that pesky implant taking away 1.22 INT really takes away 1.22 INT. Chucking the number 74.78 into INT instead of the flat 74 made the formula continue to work as intended so I jotted that down and carried on testing.

The second thing I discovered was more horrific. My formula didn't work on high levels of barter. In fact, with 182 barter It was 6% off, which is pretty big. So back to the drawing board to work the numbers.

After some considerable data gathering, I put together this graph of item price per level of barter:
http://i45.tinypic.com/2dikmc5.png

Interesting little kink. I decided it was probably best to plot the difference between each level, this would then allow me to see more easily how higher levels affect the barter differently. Here's where it all started to become clear:
http://i50.tinypic.com/2vv9ikj.png

As you can see from this the first 75 levels are completely flat. You have the same % saving for every single point. Once it hits 75 however it spikes, then tapers off. This is exactly the same for INT. When INT hits 75, it spikes, then tapers off. One interesting thing about these is that INT and barter don't affect each other. They appear to be applied as independent price reductions.

After seeing the above spike, I thought, let's generate something useful from all this data. Now points in barter are not 1:1. from 0 to 50 they are, but then the cost of skillpoints goes up, to 2:1, then 3:1, then 5:1. So lets chuck that into the mix and get ourselves an effectiveness chart. (This is the one you barter guys want as it shows you how effective each point is going forward).
http://i48.tinypic.com/4ux47n.png

So there's that. Effectiveness is drastically lower per raw skill point in the later numbers.
Any of you guys from the old NC1 days, I swear there was either a post, or some patchnotes, maybe even as far back as beta that explains why we would see this behaviour. They may not have been talking about barter, maybe about another skill, but my memory is telling me they made a change to the calculations to make this behaviour instead of a raw curve. If anyone can remember what patch or post it was, linky linky please ^_^.

There's still a lot more that I need to look at on this to generate an accurate method to predict barter savings, but I figured I'd share the work so far.

Enjoy!

Norton Hoyle
19-02-13, 13:15
Haha I remember seeing the discussion on the help channel yesterday - you've gone a long way since then. :D
I certainly found it an interesting read even though I'm not really the bartering sort of guy. :)

Surfer
19-02-13, 14:31
Good work, i too followed the discussion on chat last night.
Most impressed...

/S

Brammers
19-02-13, 15:33
A very interesting read. Some old Barter data from a player that I found. http://www.mantris.net/darkana/index.php?s=nc&p=barter_data Wasn't what I was looking for though...

P.S. Any chance of expanding the wiki with this information? http://wiki.techhaven.org/Barter

[F6]Knight
19-02-13, 18:34
Lucas,

Just out of curiocity, could you give us some exact numbers of the "breakpoints" in the last graph?
Around 50, when exactly does your graph shoots almost straight down and at what point does it flatten out?
When exactly is the start of the spike around 75 and at what point do you get past the spike and start getting positive results again? (compared to the 50-75 flat state).
When exactly is the start of the final big dip in your graph (around 100), and when does that big dip change into a very slow curve?

I was never really interested in Barter until I read this post. This might be interesting to apply to a barterer / droner.

Ivan Eres
19-02-13, 18:50
Knight;2203375']I was never really interested in Barter until I read this post. This might be interesting to apply to a barterer / droner.

I have the impression that this graph also shows how the softcap technically works that is currently implemented in the game. This affects all things imo.

Lucas Kell
19-02-13, 21:32
A very interesting read. Some old Barter data from a player that I found. http://www.mantris.net/darkana/index.php?s=nc&p=barter_data Wasn't what I was looking for though...

P.S. Any chance of expanding the wiki with this information? http://wiki.techhaven.org/Barter
Yeah, that's some pretty old data as far as I know. I'll look at getting this into the wiki page :)
Edit: Oh and Hi Brammers. Nice to see you're still playing :D <- FlashFF



Knight;2203375']Just out of curiocity, could you give us some exact numbers of the "breakpoints" in the last graph?
Around 50, when exactly does your graph shoots almost straight down and at what point does it flatten out?
When exactly is the start of the spike around 75 and at what point do you get past the spike and start getting positive results again? (compared to the 50-75 flat state).
When exactly is the start of the final big dip in your graph (around 100), and when does that big dip change into a very slow curve?

Well on the Orange graph, that shows the numbers without factoring in the cost of the points. 75 is the last of the flat, 76 is the first of the peak, then the point at which the dropping curve goes past the original flat part is at point 85.

On the Yellow graph, that's showing the same thing, but now factoring in the fact that points cost more raw points as you increase in barter level. So 1 point at 30 is the same as 2 points at 55 for example.

So the yellow graph the first drop is at 51, where your profit/point is halved, the spike is again at 76, then the drop passes by the lower of the two flats at point 80. Then at 101, you have 1 final drop where the curve is the same, but the profit per point goes for x/3 to x/5.

Make Sense?

William Antrim
20-02-13, 00:07
So after 100 barter it is a poor return then? Have i read this right?

Lucas Kell
20-02-13, 00:15
So after 100 barter it is a poor return then? Have i read this right?
Yep, and it gets lower as it goes on.

William Antrim
20-02-13, 00:32
Ok thanks Lucas. That's a great help.