people playing: 213, servers online: 66, games played: 135,486,590 Top Player: Shmevin

  Toribash Community » Toribash » Mods » Third party
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Jan 15, 2016   #1
Pitusas
Junior Member
 
Brown Belt
Join Date: Dec 2015
Posts: 9



[WIP] Misc Scripts
https://github.com/franciscouzo/toribash_online_stats

online_clans, utility I made for looking for clan wars.
online_users_info, shows a rank for the people with the most tc and qi online, I've used it to look for duels before.
online_vips, I'm a cheap ass, so when I want to global I use this script to look for vips.

These scripts need python 2.7, which you can get from here.
You'll also need to install the requests library, which can be done like this from the command line:
Code:
C:/Python27/Scripts/pip.exe install requests
https://github.com/franciscouzo/toribash_historic_tc

Shows a graph of the historic tc of a user.

You'll need to run the following commands to make this script work (It's quite hard on windows since it needs some libraries that are hard to compile on it)

Code:
pip install BeautifulSoup4
pip install requests
pip install matplotlib
And last but not least
https://github.com/franciscouzo/tori...join_broadcast

Autojoin a room when it's mentioned in a broadcast like "/jo roomhere"

Same as before, you'll need to install python and the requests library, if you installed steam not on the C drive, you'll need to change steam_path on the autojoin_broadcast.py file

(online_vips and autojoin_broadcast need a working account to work, since they have to access tori_trans_hist.php, you can use an alt if you want to, it doesn't makes a difference. I'm not adding a default alt for them because I bet it's against the rules and anyway someone would change its password just to be an asshole)

As always, suggestions and bug reports are welcome.

Last edited by Pitusas; Jan 16, 2016 at 01:46 AM..
Pitusas is offline   Reply With Quote
Old Jan 16, 2016   #2
yoshiman60
Senior Member
 
5th Dan Black Belt
Join Date: May 2013
Posts: 599



Why not use Python 3.4.3 Version? Not much difference in syntax I would presume just different functions etc

Channel - ok
yoshiman60 is offline   Reply With Quote
Old Jan 18, 2016   #3
Eleeleth
Also Only responds to 'Eleeth'!
 
6th Dan Black Belt
Join Date: Apr 2008
Posts: 1,567
Clan: NO



Originally Posted by yoshiman60 View Post
Why not use Python 3.4.3 Version? Not much difference in syntax I would presume just different functions etc

Why use python 3.4.3? The latest version of python is 3.5.1 as of this writing.

Python 2.7 is included by default on many OSes, as well as being the default for many library authors. 'Not much difference in syntax' is verifiably incorrect (I've ported python 2 libraries to python 3, elapsed time: many many hours).
<~suomynona> TITS OR ELEELETH
Eleeleth is offline   Reply With Quote
Old Jan 20, 2016   #4
yoshiman60
Senior Member
 
5th Dan Black Belt
Join Date: May 2013
Posts: 599



I had python 2.7 but I installed 3.4.3 instead.... Didnt take to long to download. Also Downloaded pygame, and pycharm amazing IDE

Channel - ok
yoshiman60 is offline   Reply With Quote
Reply


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 08:49 PM.




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