people playing: 29, servers online: 12, games played: 142,000,000 Top Player: Money

  Toribash Community » Toribash » Mods » Third party
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Jun 6, 2018   #1
Surge
Forumite
 
4th Dan Black Belt
Join Date: May 2016
Posts: 1,936



[REL] Calculate Total Profit
Inspired by http://forum.toribash.com/showthread.php?t=615417.

Installation tutorial


Code



Surge is offline   Reply With Quote
Old Jun 6, 2018   #2
heat
/jo heat
 
10th Dan Black Belt
Join Date: Mar 2017
Posts: 1,209
Clan: Division



why does it need a password
FunClub
I’m not Senu
heat is offline   Reply With Quote
Old Jun 6, 2018   #3
Surge
Forumite
 
4th Dan Black Belt
Join Date: May 2016
Posts: 1,936



To log into the forum
Surge is offline   Reply With Quote
Old Jun 7, 2018   #4
жFluxorious
 
3rd Dan Black Belt
Join Date: Aug 2015
Posts: 2,150
Clan: WAPOW



Result code:

Duels loss: 15000 TC
Duels win: 0 TC

= Total: -15000 TC

DP loss: 5195 TC
DP win: 1 TC

= Total: -5194 TC

Bets loss: 491338 TC
Bets win: 481241 TC

= Total: -10097 TC

Forum transfer loss: 1642318 TC
Forum transfer win: 2910792 TC

= Total: 1268474 TC

Daily login win: 8850 TC

= Total: 8850 TC

Winnings win: 20 TC

= Total: 20 TC

Other loss: 372022 TC
Other win: 86722 TC

= Total: -285300 TC

Overall loss: 2525873 TC
Overall win: 3487626 TC

=== Total: 961753 TC


Took me a little to get this set up, but it does what it's supposed to!

Though I'm not sure why you need Username & Password, but I couldn't find an attempt to steal those in the code which is why I did it anyways

Great tool
Fluxorious is offline   Reply With Quote
Old Jun 7, 2018   #5
Surge
Forumite
 
4th Dan Black Belt
Join Date: May 2016
Posts: 1,936



Originally Posted by Fluxorious View Post
Took me a little to get this set up, but it does what it's supposed to!

How did you fix your issue in the end?

Originally Posted by Fluxorious View Post
Though I'm not sure why you need Username & Password, but I couldn't find an attempt to steal those in the code which is why I did it anyways

You need to be logged in to access account history, technically I could use a predefined account but I don't want to be done for account sharing.
Surge is offline   Reply With Quote
Old Jun 8, 2018   #6
жFluxorious
 
3rd Dan Black Belt
Join Date: Aug 2015
Posts: 2,150
Clan: WAPOW



I ended up looking for the idle.bat where python is installed
Fluxorious is offline   Reply With Quote
Old Jun 15, 2018   #7
Natejas

Hip 2 Be Square
 
The Bless Up Belt
Join Date: Feb 2011
Posts: 3,508



I'm getting an invalid syntax, what should I do
[SIGPIC][/SIGPIC]
~ raku ~ Team Girl Scouts ~ Clan League 2013 Champion ~ Duelist ~
Prince
Fucking
Ravioli
Natejas is offline   Reply With Quote
Old Jul 8, 2018   #8
Natejas

Hip 2 Be Square
 
The Bless Up Belt
Join Date: Feb 2011
Posts: 3,508



Duels loss: 59668452 TC
Duels win: 55294776 TC

= Total: -4373676 TC

DP loss: 7805456 TC
DP win: 8314571 TC

= Total: 509115 TC

Bets loss: 38870169 TC
Bets win: 35372297 TC

= Total: -3497872 TC

Forum transfer loss: 56507577 TC
Forum transfer win: 34403488 TC

= Total: -22104089 TC

Daily login win: 24400 TC

= Total: 24400 TC

Winnings win: 1805245 TC

= Total: 1805245 TC

Other loss: 595827 TC
Other win: 1831648 TC

= Total: 1235821 TC

Overall loss: 163447481 TC
Overall win: 137046425 TC

=== Total: -26401056 TC

this is neat as hell
[SIGPIC][/SIGPIC]
~ raku ~ Team Girl Scouts ~ Clan League 2013 Champion ~ Duelist ~
Prince
Fucking
Ravioli
Natejas is offline   Reply With Quote
Old Jul 8, 2018   #9
Gyke
NON-EXISTING!
 
2nd Dan Black Belt
Join Date: Jun 2018
Posts: 478



Traceback (most recent call last):
File "C:/Users/SPKT/Total Profits.py", line 106, in <module>
for page in range(1,int(totalpages)):
NameError: name 'totalpages' is not defined
>>>
uhh help
Gyke is offline   Reply With Quote
Old Jul 8, 2018   #10
Surge
Forumite
 
4th Dan Black Belt
Join Date: May 2016
Posts: 1,936



you probably logged in wrong
Surge 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 06:12 AM.




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