[Rizon] eRepublik bot updates: .sscalc, .fc, .market, .tax

Day 1,378, 12:48 Published in Italy Italy by Martin Sileno

Hi.

some news.

Fixed .sscalc

It's somewhat different now.

(20:46:23) -eRepublik- .ssc: calculates days/gold required for the next SuperSoldier medal
(20:46:23) -eRepublik-
(20:46:23) -eRepublik- Usage: .ssc [-i] [-n] [-s strength] [-f friends] [-1] [-2] [-3] [-e] [argument]
(20:46:23) -eRepublik- --id (-i) look up by id instead of name
(20:46:23) -eRepublik- --nick (-n) look up by irc nick
(20:46:23) -eRepublik- --strength (-s) uses a custom strength
(20:46:23) -eRepublik- --friends (-f) how many friends used in training (0, 1, 2)
(20:46:23) -eRepublik- --climbingcenter (-1) adds climbing center bonus to training (+2 points)
(20:46:23) -eRepublik- --shootingrange (-2) adds shooting range bonus to training (+5 points)
(20:46:23) -eRepublik- --specialforces (-3) adds special forces bonus to training (+10 points)
(20:46:23) -eRepublik- --naturalenemy (-e) adds natural enemy bonus to training (+0.5 points)

whatdoesthismean?

If you type ".sscalc" it will train everyday without any bonus (except daily reward). You can add your amount of friends using "-f ". If you also use the first building (the one that costs 0.19g), add "-1" to the command (it's the number ONE, not a lower case L). If you train with the second building, add -2. If you use the third, add -3. If the country has a NE, add -e.

Examples!

// 1 friend, no extra trainings
21:07 .ssc -f1
21:07 :: Martin Sileno (5,173.875 / 5,250 strength) days/gold required until next Super Soldier medal :: Result 12 days and 0.00 gold :: Bonus [+6.5 / day] daily reward (+1 str), 1 friend (+0.5 str) ::

// + natural enemy, + 1st extra training, + 3rd extra training
21:00 .ssc -e -13
21:00 :: Martin Sileno (5,173.875 / 5,250 strength) days/gold required until next Super Soldier medal :: Result 5 days and 9.90 gold :: Bonus [+18.5 / day] daily reward (+1 str), 0 friends, natural enemy (+0.5 str), climbing center (+2 str, +0.19g), special forces (+10 str, +1.79g) ::

// 2 friends, + 3rd extra training
21:05 .ssc -f 2 -3
21:05 :: Martin Sileno (5,173.875 / 5,250 strength) days/gold required until next Super Soldier medal :: Result 5 days and 8.95 gold :: Bonus [+17.0 / day] daily reward (+1 str), 2 friends (+1.0 str), special forces (+10 str, +1.79g) ::

// can also put everything together: 2 friends, 1st 2nd and 3rd training, natural enemy
21:06 .ssc -e123f2
21:06 :: Martin Sileno (5,173.875 / 5,250 strength) days/gold required until next Super Soldier medal :: Result 4 days and 13.88 gold :: Bonus [+24.5 / day] daily reward (+1 str), 2 friends (+1.0 str), natural enemy (+0.5 str), climbing center (+2 str, +0.19g), shooting range (+5 str, +1.49g), special forces (+10 str, +1.79g) ::

Added .fc -N

It's just a shortcut for .fc -o . It calculates how many fights you need to rank up.

21:09 .fc -N
21:09 :: Martin Sileno (Field Marshal [42], 5173.875 strength) fights required to rank up - 1,755,510 influence :: [Q0: 1342] [Q1: 1118] [Q2: 958] [Q3: 838] [Q4: 745] [Q5: 671] ::

etc.

"Fixed" .market

Finally .market shows prices with taxes, as it was useless without.
It updates only once in an hour, taxes update once per day, so prices might be wrong in some cases.
You can also check world best price, but this is not very reliable because currency API sucks and only updates once in a blue moon.
This command uses the custom API I host on my website. (To get a price with taxes you need to download all citizens data, download taxes for the country, check the net price using erep API, apply the correct tax (vat / vat + import) according to the citizenship of the seller for each offer on the market, sort the offers by price. Fun.)
Read my previos article for more info about this unofficial API (tldr: might suck, might get removed)

Examples:
21:20 .market weapon it 5
21:21 :: Best offer for Q5 Weapons in Italy :: Price 37.94 ITL (0.07588 GOLD) 67 available :: Link http://economy.erepublik.com/en/market/10/2/5 :: Last update 16 minutes ago ::

21:23 .market weapon world 5
21:23 :: Best offer for Q5 Weapons in World :: Price 31.99 ESP (0.03199 GOLD) 28 available :: Link http://economy.erepublik.com/en/market/15/2/5 :: Last update 19 minutes ago ::

New comman😛 .tax

You can check a country's taxes now using .tax. Taxes update only once per day. Some pages are broken and it's impossible to update taxes for several days.
This command uses my custom API too.

Examples:
21:28 .tax croatia food
21:28 :: Taxes in Croatia :: Industry Food :: Income 10% :: Import 99% :: VAT 13% :: Last updated 21 hours ago ::

//example of broken country page where taxes haven't been updated for a week:
21:28 .tax italy food
21:28 :: Taxes in Italy :: Industry Food :: Income 25% :: Import 40% :: VAT 15% :: Last updated 7 days ago ::


That's all.
As always, report bugs/suggestions to me (/query martin on Rizon, or #fishbot)



~ martin (IRC nick: martin)
eRep bot developer / IRC op on Rizon
Latest bot update (.ranking): http://www.erepublik.com/en/article/-rizon-new-command-ranking-1831918/1/20
bot complete command list: http://www.erepublik.com/en/article/-rizon-erepublik-bot-updated-command-list-1751575/1/20
My eRep website with rankings product prices etc: http://erep.1way.it (this is where the data for this command comes from)
PS: the long-broken bot Internets was fixed yesterday, if you want to use it: http://s.rizon.net/internets