people playing: 121, servers online: 39, games played: 144,642,385 Top Player: Rose

  Toribash Community » Toribash » Mods » Third party
Register FAQ General Rules Community
Thread Tools Display Modes
Old Sep 17, 2015   #1
2nd Dan Black Belt
Join Date: Aug 2009
Posts: 11,045

[REL]Toribash Market Checker
This is a program I got inspired to make from this thread.
Decided to use python because I'm comfortable with it, it's easy for others to use and why not. You'll need python 2.7.10 for it.
If you have python 3.4 then use Hisoka's port over here.

It uses the Toribash API to check through the market inventory of any user and outputs a text file listing all of their market inventory and the best competitive value that the items have. (Ideally after you get the output file you can then go through and update your items accordingly or maybe just enjoy looking at the potential value you have sitting around in crap you don't use)
For eg,
If a competitor has an item already on the market then your competitive best value is 1 tc below that. It also takes into account when items are out of stock or not available for tc purchase in the shop.

At the end of the output file it also gives you a figure for the total best competitive value of your market inventory is.

Possible things for the future:
-Able to specify which items to value (active/inactive/market inventory/specific set/etc)
-Change output to indicate which of those items you already have at their optimal price in the market and order the output to show the ones that are furthest above the optimal first
-Look into the market search call and try to get it working faster and more efficiently if possible
-Start more work towards making a proper Toribash API library in python so this useful information automation is accessible to more people.

FAQ about API here for more info.
Questions, help, comments, improvements feel free to post here.


Last edited by Solax; Oct 12, 2015 at 06:25 AM..
Solax is offline   Reply With Quote
Old Sep 21, 2015   #2
Now I know my abc's!
This user title is the property of SkulFuk.
4th Dan Black Belt
Join Date: Apr 2007
Posts: 5,510
Clan: bncy

Dunno if I'm going crazy, but I can't see a link to the program anywhere in your post?
Blam is offline   Reply With Quote
Old Sep 22, 2015   #4
Toribash Legend
Orange Belt
Join Date: Jun 2007
Posts: 5,330
Clan: RAWR

I get this error, then it closes immediately.
Attached Thumbnails
Oblivion: that wasn't hilarious
Oblivion: it was brilliantly complex though
Oblivion: hands down man
Oblivion: today I genuinely believe more than I ever did before
Oblivion: that you are better than me
Oblivion: gg NutHug

Like my stuff?
Join my FunClub or subscribe on Youtube
NutHug is offline   Reply With Quote
Old Sep 24, 2015   #5
Also Only responds to 'Eleeth'!
6th Dan Black Belt
Join Date: Apr 2008
Posts: 1,577
Clan: NO

That's real fuckin weird. How did you grab the python file? line 4 for me is 'import hashlib', so obviously something's weird with your copy.
<~suomynona> TITS OR ELEELETH
Eleeleth is offline   Reply With Quote
Old Sep 27, 2015   #6
Junior Member
2nd Dan Black Belt
Join Date: Mar 2012
Posts: 14

maruto600 is offline   Reply With Quote
Old Oct 11, 2015   #7
Junior Member
Orange Belt
Join Date: Aug 2015
Posts: 8

Great script,but the problems are many.

First of all,Windows users are going to get several problems.

1) The "print" function it's deprecated in Python 3.4,it was replaced by "print()".
2) "Raw_Input" is deprecated too,now just "Input()".
3) Requests module must be installed via Pip for Windows.

Here is how to fix, first of all,i've modified the deprecated functions,so here is the new script:

You have to run the fixed .py file instead Solax's one if you're running Python 3.4.

To get requests module installed on Windows you must download the following program.

Once downloaded you must browse to your Python.exe directory.

Now replace "pip install pyDatalog" with "pip install requests".

Hit Run.

Now run the fixed .py file and you're done, enjoy!
NotHisoka is offline   Reply With Quote
Old Oct 12, 2015   #8
2nd Dan Black Belt
Join Date: Aug 2009
Posts: 11,045

Cheers for that. Yea mine was made for python 2.7. Good that users now have an option to use it if there running 3.4 too.
Solax is offline   Reply With Quote
Old Jan 11, 2016   #9
Junior Member
Brown Belt
Join Date: Dec 2015
Posts: 9

It's obvious you copied a lot from my script (, it would be great if you mentioned it.
Pitusas is offline   Reply With Quote

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

Forum Jump

All times are GMT +1. The time now is 05:20 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game