Author Topic: Market analyzer utility  (Read 11999 times)

0 Members and 1 Guest are viewing this topic.

Offline CrazyCracka420

  • Minute Valuable Contributor
  • Strategus Councillor
  • **
  • Renown: 1950
  • Infamy: 794
  • cRPG Player Sir White Pawn A Gentleman and a Scholar
  • Welp
    • View Profile
  • Faction: Vaegirs
  • Game nicks: Huseby
  • IRC nick: Steam name: crazycracka420
Re: Market analyzer utility
« Reply #15 on: March 06, 2014, 05:50:31 pm »
+2
You did not fill the Loompoint cost field. As manual state - it is always necessary.

Just as an example - it is working:
visitors can't see pics , please register or login


It is, however, incorrectly works with items with names consisting of more than a five words. I will try to fix the problem.

Your manual actually does not state that anywhere.  CTRL+F "cost" no result.  CTRL+F heirloom, one result: 

visitors can't see pics , please register or login


Now if I fill in the cost of heirloom and check the box for "item2item" I hit "start" and the screen just minimizes/disappears. 

Sweet program!

*EDIT* I see you say it doesn't work with items over 5 words long...that's what I'm searching for (Lordly Heraldic Surcoat over Mail and Plate)
« Last Edit: March 06, 2014, 05:55:43 pm by CrazyCracka420 »
visitors can't see pics , please register or login
 - Stolen from Macropussy

Offline Kafein

  • King
  • **********
  • Renown: 2203
  • Infamy: 808
  • cRPG Player Sir White Rook A Gentleman and a Scholar
    • View Profile
Re: Market analyzer utility
« Reply #16 on: March 06, 2014, 05:59:28 pm »
+1
Very cool !

When you say you are using Dijkstra's algorithm, does that mean you are giving weights to trades according to their gold and heirloom point balance, then finding the shortest path ?

In that case is it possible to put the program into an infinite loop if there's a profitable cycle on the market ? Also how do you weight heirloom points versus gold ?

Also isn't this making a lot of requests on the cRPG server ?

Offline DesertEagle

  • Knight
  • ***
  • Renown: 40
  • Infamy: 14
  • cRPG Player
    • View Profile
  • Faction: SB
Re: Market analyzer utility
« Reply #17 on: March 06, 2014, 06:14:45 pm »
+3
Your manual actually does not state that anywhere.  CTRL+F "cost" no result.  CTRL+F heirloom, one result: 
It actually says that:
1. List of source items separated by commas.
2. List of target items separated by commas.
3. Price of 1 loompoint (no delimiters) (necessary)
Just Ctrl+F is not effective sometimes.
Quote
Now if I fill in the cost of heirloom and check the box for "item2item" I hit "start" and the screen just minimizes/disappears. 
That is strange. Can you run it in console mode  - there should error log in console.

Quote
When you say you are using Dijkstra's algorithm, does that mean you are giving weights to trades according to their gold and heirloom point balance, then finding the shortest path ?
Not to trades, but to thier "connections" (edges in graph termins), but in general you are right. Basically connection weight means how much you have to spend to get from one trade to another.

Quote
In that case is it possible to put the program into an infinite loop if there's a profitable cycle on the market ?
Not to "infinite" (because for now you have to manually download html file) but very long. In fact, "arguments from file" mode was made specially for this.

Quote
Also how do you weight heirloom points versus gold ?
Simple - all turned into gold, according to loompoint price - that is why it is necessary.

Quote
Also isn't this making a lot of requests on the cRPG server ?
No, because for now you have to download file manually.
« Last Edit: March 06, 2014, 06:20:03 pm by DesertEagle »
My cRPG movie
Market Analyzer - check what possible ways you have to get desired item on the marketplace

Offline Kafein

  • King
  • **********
  • Renown: 2203
  • Infamy: 808
  • cRPG Player Sir White Rook A Gentleman and a Scholar
    • View Profile
Re: Market analyzer utility
« Reply #18 on: March 06, 2014, 11:14:20 pm »
+1
Thanks for the clear answers

No, because for now you have to download file manually.

I feel stupid now.

Not to "infinite" (because for now you have to manually download html file) but very long. In fact, "arguments from file" mode was made specially for this.

I didn't mean inputting very long argument lists. I don't think my question was correctly spelled, so here's an example. Imagine you have on the marketplace one trade that says "selling MW longsword for 800k" and another offer that says "buying MW longsword for 850k". If you did not tag visited nodes, you would get infinite cycles this way.

One last thing, the number formatter doesn't like numbers with group separators. So people who can't get this to work at all should check that they have nothing set as group separator in the website's settings.

Offline no_rules_just_play

  • King
  • **********
  • Renown: 1401
  • Infamy: 384
  • cRPG Player Sir White Rook A Gentleman and a Scholar
    • View Profile
  • Faction: HRE; Peasants United; Burg Krems
  • Game nicks: CapraAegagrusHircus_HRE; no_rules_just_play_HRE
  • IRC nick: norulesjustplay
Re: Market analyzer utility
« Reply #19 on: March 07, 2014, 12:30:04 am »
+2
visitors can't see pics , please register or login



what did I do wrong? :s

edit: nvm I'm stupid

Offline Life

  • Marshall
  • ********
  • Renown: 763
  • Infamy: 281
  • cRPG Player
    • View Profile
  • Faction: Mod is dead.
  • Game nicks: Assassin_Life, Efil, iK_Life
Re: Market analyzer utility
« Reply #20 on: March 07, 2014, 02:33:44 am »
+1
what. wheres the installation guide.  :?
Assassin Video
My custom crosshair
visitors can't see pics , please register or login

Offline no_rules_just_play

  • King
  • **********
  • Renown: 1401
  • Infamy: 384
  • cRPG Player Sir White Rook A Gentleman and a Scholar
    • View Profile
  • Faction: HRE; Peasants United; Burg Krems
  • Game nicks: CapraAegagrusHircus_HRE; no_rules_just_play_HRE
  • IRC nick: norulesjustplay
Re: Market analyzer utility
« Reply #21 on: March 07, 2014, 02:36:34 am »
+1
what. wheres the installation guide.  :?
OP

Offline Jona

  • Balancer
  • *
  • Renown: 1372
  • Infamy: 376
  • cRPG Player Sir Black Bishop
  • OG Agi Whore
    • View Profile
  • Faction: Hounds of Chulainn
  • Game nicks: Jona, Siegafried
Re: Market analyzer utility
« Reply #22 on: March 07, 2014, 10:26:13 am »
+1
In before someone uses this and gets a chain of trades 10 items long... then halfway through one of the items gets purchased by someone else.  :mrgreen:
visitors can't see pics , please register or login


"I'll have my lance aimed at Jona's knees and he'll jump up, run up my lance and kill me." -Dalfador

Offline Macropus

  • King
  • **********
  • Renown: 1668
  • Infamy: 296
  • cRPG Player Sir Black Knight
    • View Profile
  • Game nicks: Macropus
Re: Market analyzer utility
« Reply #23 on: March 07, 2014, 12:36:03 pm »
+2
In before someone uses this and gets a chain of trades 10 items long... then halfway through one of the items gets purchased by someone else.  :mrgreen:
There's almost no trade chains longer than 3-4 (implying you don't add 50k+ gold on each).
« Last Edit: March 07, 2014, 12:47:13 pm by Macropus »

Offline DesertEagle

  • Knight
  • ***
  • Renown: 40
  • Infamy: 14
  • cRPG Player
    • View Profile
  • Faction: SB
Re: Market analyzer utility
« Reply #24 on: March 07, 2014, 04:36:32 pm »
+1
I didn't mean inputting very long argument lists. I don't think my question was correctly spelled, so here's an example. Imagine you have on the marketplace one trade that says "selling MW longsword for 800k" and another offer that says "buying MW longsword for 850k". If you did not tag visited nodes, you would get infinite cycles this way.
Now I understand. Ofcourse I`m tagging visited nodes, as it is a part of Dijkstra algorithm logic. So it was made from the start.
My cRPG movie
Market Analyzer - check what possible ways you have to get desired item on the marketplace

Offline dreadnok

  • Marshall
  • ********
  • Renown: 838
  • Infamy: 562
  • cRPG Player
  • fuck these jerkoff kids
    • View Profile
  • Faction: KBW<MB<SoW
  • Game nicks: Gorp_The_Gorger
Re: Market analyzer utility
« Reply #25 on: March 07, 2014, 05:10:59 pm »
+1
Its always a euro that has some jerk off trades up, maybe witchcraft too
visitors can't see pics , please register or login

Offline Kafein

  • King
  • **********
  • Renown: 2203
  • Infamy: 808
  • cRPG Player Sir White Rook A Gentleman and a Scholar
    • View Profile
Re: Market analyzer utility
« Reply #26 on: March 07, 2014, 06:56:51 pm »
+2
Thanks Kalam for moving this to a dead section

Offline Ronin

  • Marshall
  • ********
  • Renown: 859
  • Infamy: 198
  • cRPG Player
    • View Profile
Re: Market analyzer utility
« Reply #27 on: March 08, 2014, 07:19:15 pm »
+1
not anymore
Quote from: BlindGuy
Seems the fascists are gaining ground once again in UKR... right vving politics is SO bad for the general populace but STILL in times of trouble the uneducated turn to them for help, simply because they are so amoral they vvill supply those vvilling to fight vvith vveapons rather than knovvledge.

My UU key is broken incase you can't tell :D

Offline DesertEagle

  • Knight
  • ***
  • Renown: 40
  • Infamy: 14
  • cRPG Player
    • View Profile
  • Faction: SB
Re: Market analyzer utility
« Reply #28 on: March 11, 2014, 06:34:00 pm »
+1
Hotfix 0.31 is out - solving parsing problems (now program can work with items with more than 5 words length).
Also I wanted to demonstrate graph creating feature of this tool. For now it has no real purpose and I made it just for fun. The tool outputs graph of deals into text file, which can be turned into .svg by GraphVis tool to look something like this. Looks really cool to me  :) .
http://www.filedropper.com/graph_1
(svg files can be opened by browsers)
« Last Edit: March 12, 2014, 07:23:15 pm by DesertEagle »
My cRPG movie
Market Analyzer - check what possible ways you have to get desired item on the marketplace

Offline Turkhammer

  • Earl
  • ******
  • Renown: 376
  • Infamy: 194
  • cRPG Player
    • View Profile
Re: Market analyzer utility
« Reply #29 on: April 13, 2014, 06:47:02 pm »
0
Great now nobody will ever get a chance at a good offer for as long as the marketplace jews have this utility!

Why use the word jews?