[Rizon] eRepublik bot updates: .resources, .country, .sscalc, .message, .land

Day 1,404, 11:46 Published in Italy Italy by Martin Sileno

Hi,

updates time.

(Macedonian translation of the article: http://www.erepublik.com/en/article/-rizon-erepublik-erepublik-1870328/1/20, by deda_mraz82)

*** New commands ***

.message

Gets the link to send a message to a citizen.

Example:

19:12 .message zakuro
19:12 :: zakuro's message link :: http://www.erepublik.com/en/main/messages-compose/478002 ::

.land

Gets the link to a citizen's land.

Example:

20:14 .land elle dinar andari
20:14 :: Elle Dinar Andari's land :: http://economy.erepublik.com/en/land/overview/207162 ::

.resources / .res: summary of a country's resources

With this command you can see which bonuses a country has. Yes, it is smart enough to figure out which regions are connected to the capital and which aren't.

19:48 .resources brazil
19:48 :: Brazil resources :: Food +100% (1x Cattle, 1x Deer, 1x Fish, 1x Fruits, 1x Grain) :: Weapons +100% (1x Aluminum, 2x Iron, 1x Oil, 1x Rubber, 1x Saltpeter) ::
19:49 .res mk
19:49 :: Republic of Macedonia (FYROM) resources :: Food +60% (1x Cattle, 1x Fish, 1x Fruits) :: Weapons +20% (1x Aluminum) ::

Note: this WOULD NOT BE POSSIBLE using eRepublik API alone. I'm using the API I built myself for this.
This custom API is still based off the official one anyway, all it does is 100% legal, nothing against tos (it doesn't get data from HTML).

Think of all the cool things that would be possible if eRepublik admins started improving their crap : (


*** Updated commands ***

.country: major improvements

The new .country command is now more useful and almost completely different from the old one!

16:37 .country italy
16:37 :: Italy [10] :: Capital Calabria :: Citizenships 2,596 [33.5% in Slovenia, 29.6% in Italy, 21.4% in Croatia, 15.6% in other countries] :: Residents 935 [82.1% from Italy, 7.3% from Croatia, 1.6% from Romania, 9.0% from other countries] :: Link http://www.erepublik.com/en/country/society/Italy ::

Also works by country code:
16:38 .country ro
16:38 :: Romania [1] :: Capital Transilvania :: Citizenships 7,177 [54.2% in Romania, 21.6% in Hungary, 8.8% in Bulgaria, 15.4% in other countries] :: Residents 4,247 [91.6% from Romania, 1.7% from Serbia, 1.1% from Croatia, 5.6% from other countries] :: Link http://www.erepublik.com/en/country/society/Romania ::

And country I😨
16:41 .country -i 79
16:41 :: Republic of Macedonia (FYROM) [79] :: Capital Povardarie :: Citizenships 10,061 [80.9% in Republic of Macedonia (FYROM), 10.1% in Cyprus, 0.9% in Egypt, 8.1% in other countries] :: Residents 9,939 [81.9% from Republic of Macedonia (FYROM), 14.1% from Greece, 0.6% from Turkey, 3.4% from other countries] :: Link http://www.erepublik.com/en/country/society/Republic-of-Macedonia-FYROM ::

I could also make more simple or complex population stats, haven't thought of any yet.

.sscalc: September bonus

Added an option to add September's training bonus to .sscalc, to use it (it's optional) just add "-b" to your command.

Example (my training: climbing center (0.19g), 1 friend, Natural Enemy):
18:04 .ssc -b -1 -f 1 -e
18:04 :: Martin Sileno (5,449.475 / 5,500 strength) days/gold required until next Super Soldier medal :: Result 5 days and 0.95 gold :: Bonus [+11.8 / day] daily reward (+1 str), 1 friend (+0.5 str), September training bonus (+30% str), climbing center (+2.5 str, +0.19g), natural enemy (+0.5 str) ::

Same thing, in more "compact" form:
18:04 .ssc -b1ef1
18:04 :: Martin Sileno (5,449.475 / 5,500 strength) days/gold required until next Super Soldier medal :: Result 5 days and 0.95 gold :: Bonus [+11.8 / day] daily reward (+1 str), 1 friend (+0.5 str), September training bonus (+30% str), climbing center (+2.5 str, +0.19g), natural enemy (+0.5 str) ::

For more info on the syntax of this command, see this article.


.tax: new syntax

Syntax is now: .tax
It was , and it broke when a country name had a space in its name, derp.
(to get taxes for weapon raw materials use iron as industry, for food raw materials use grain)





A last thing, there are a lot of idiots spamming fake eRepublik pages on IRC to steal your erep account.
always check the address bar before logging in, make sure the URL is http://erepublik.com and not http://imgoingtostealyouraccount.hax.co.cc.
When this happens, please report it (nick + channel) to me so I can ban them off the network.

btw, over 20.000 (20361) different nicks used the .regnick command with the bot! It's now in 4543 channels.

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
My API link, if you're interested... : http://api.1way.it/erep/
Latest bot update (.sscalc, .fc, .market, .tax): http://www.erepublik.com/en/article/-rizon-erepublik-bot-updates-sscalc-fc-market-tax-1852772/1/20
bot complete semi-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