Esim - Make stats articles by yourself - Bot v2
Login:
Password:

Forgot password Register

Article

34444


Redactor

725


36
Make stats articles by yourself - Bot v2 (Event related)
Posted 4 years ago by
34444    
Report


Did you liked my articles so far?
Do you want create similar articles by your self?
If yes, let me teach you how.


General info about converting data into e-sim table format (for non-developer players):

Open a google-spreadsheets ( click here )
Paste your data ( example ), insert new column between each of your exist columns ( example ), fill the first row with a comma ( , ) and drag & drop it to the rest of the column ( example ).
Do the same for all columns, and in the last one, do it with "|" instead of ",".
Your doc should looks like that now.

Last step: write the following formula after the last column: =CONCATENATE(A:F) (replace A:F with your data range), and now just copy that cell (G1 in our example).

Example sheet (Feel free to click File -> make a copy)

Now, let's move on to the bot review.



Invite link (prefix: +)


You need the Manage_Server permission to be able to add bots to the server.
You can only add bots on a server level but you can restrict a bot to a certain channel via permissions.

Details of existing commands


Type +help <command> for more info on a command

Having trouble? have a suggestion? join to our support server


+sets or +sets+ - Shows top avoid and clutch sets per player in a given server.


(sets = Only players who wear, (or have ever worn) more than 5 Q6 EQ's at the same time
sets+ = Only players who ever had a Q5 EQ)

Parameters: +sets <server>
Example: +sets countryball

+auctions - Shows data about range of auctions


Parameters: +auctions <first ID to check> <last ID> <server>
Example: +auctions 287403 287413 alpha

+citizen - Checking specific stats from apiCitizenById.html?id=1 for top 1000 players.


Parameters: +citizen <key> <server>
Example: +citizen premiumDays furia


+congress - result from the last congress elections (e-sim table format)


Parameters: +congress <server>
Example: +congress countryball

+cp - result from the last CP elections (e-sim table format)


Parameters: +cp <server>
Example: +cp alpha


+dmg or +dmg+ - Shows lot of data about range of battles.


use "+dmg+" if you want to convert first 100 citizens id to nicks. (See also "convert" command)

Parameters: +dmg <first battle> <last> <server> <countries condition - optional> <battlesType condition - optional>
Simple use example: +dmg 1 10 alpha (Bot will check battles 1-10 in alpha)
------------------
There are two optional conditions you can add to skip certain battles. One condition will skip battles of countries you do not want, and the other will skip types of battles you do not want.
It's a little tricky, so if you're not interested, skip it.
If you would like to add these conditions, please read carefully to make no mistake:

1. "countries". I will try to explain with examples:
+dmg 1 10 alpha "Norway, Israel VS Poland"
In this example, the bot will only look at battles that one country of the first group (Norway or Israel) attacks and one of the second group defends, or the other way around.
(It will check Poland vs Israel, and will not check Norway vs Israel or Poland vs Egypt for example)
* Separation between groups must be "VS"

Second example: +dmg 1 10 alpha "norway, israel, Poland"
In this example the bot will check all the battles that the attacker or defender is in the list of countries you have listed ( Poland vs Egypt included for example because you listed "Poland" ).
* In both examples, the separation of countries must be comma ( "," ) and all the countries you select must be within quotes, as in the example.

2. "battlesType". If you select countries and do not fill this one, the bot will go through RW's and attacks only, by default.
Example: +dmg 1 10 alpha "Norway" "LEAGUE, CUP_EVENT_BATTLE, COUNTRY_TOURNAMENT"
In this example the bot will only check the damage of Norway and only if the battle type is one of the types listed in the example.
If you want to use this condition but do not want to select a specific country, write "" instead of "Norway" in the example.

List of possible types: WORLD_WAR_EVENT_BATTLE, COUNTRY_TOURNAMENT, ATTACK, CIVIL_WAR, RESISTANCE, LEAGUE, PRACTICE_BATTLE, CUP_EVENT_BATTLE, TEAM_NATIONAL_CUP_BATTLE, MILITARY_UNIT_CUP_EVENT_BATTLE
* Separation between types must be comma ( "," )
* All types you selected must be within quotes, as in the example.

+drops - Shows how many drops were distributed to each player from a given range of battles


Parameters: +drops <first battle> <last> <server>
Example: +drops 7496 7496 orange

+convert - Convert citizen / MU IDs to names.


Parameters: +convert <server> <key> <IDs or file>

How to use:
Option 1 (Few IDs): Example: +convert alpha MU 1, 2,3,5 6, 7. 8,9,10 - This will convert MU ID's 1-10 to MU names (and yes, you can use any separator you like).

Option 2 (Many IDs):
Create a file called "data.csv" in your computer, fill column A with IDs ( Example ), drag and drop that file to discord, but before you click "upload", you should add a comment with your command content.

Example: +convert alpha citizens

+cup - Shows first 10 players by dmg in a given CUP


Parameters: +cup <first battle to check> <last battle> <server>
Example: +cup 91007 91098 secura


+friends - Checks how many friends each player has in a given server


(checking first 1000 players by total dmg)
Currently not working on some servers due to e-sim bug. (It's not possible to access profile.html page without log in)

Parameters: +friends <server>
Example: +friends furia

+bhs - Shows top bh medals per player in a given server


(Shows only players with more than 100 medals. if you want more than 10 medals use bhs+)
Currently not working on some servers due to e-sim bug. (It's not possible to access profile.html page without log in)

Parameters: +bhs <server>
Example: +bhs alpha



Notes:
* As you can see, my grammar is not perfect (to say the least)... If you can, I'd like to get help with improvements and fixes.
* Some of the screenshots in this article are out of date for the latest version of the bot, there could be some changes.
* You can also use all those command via DM/PM - articles 3444#0905

Security Warning!

In case you did not know, bots are also a discord users, and their owner can see everything they see.
What does the owner do with this information? It depends on him.
The owner can improve his bot this way (Check common mistakes and add an error MSG, check which commands are more common and improve them etc) or.. use this info against them.
i had some cases in my bot where players shares org passwords (and even multies passwords ), but i PM them and warn them that i can see it, instead of using that info against them.
I promise not to use any information I have obtained through the bot against the users. (but I do not recommend relying on anyone's good intentions).
Just remember that if there is any bot in the channel (you can check the member list on the right side) - your information is in other hands.
You can always create a locked channel for that info (Just make sure that no bot appears in the members list on the right), or just send it via PM.


Invite link (prefix: +)


You need the Manage_Server permission to be able to add bots to the server.
You can only add bots on a server level but you can restrict a bot to a certain channel via permissions.



Previous article:
Some stats after scanning 700k players (4 years ago)

Next article:
[TOOL] Buffs and time tracker (4 years ago)

ESim
or
Register for free:
Only letters, numbers, underscore and space are allowed (A-Z,a-z,0-9,_,' ')
Show more

By clicking 'Sign Up!', you agree to the Rules and that you have read the Privacy Policy.

About the game:


USA as a world power? In E-Sim it is possible!

In E-Sim we have a huge, living world, which is a mirror copy of the Earth. Well, maybe not completely mirrored, because the balance of power in this virtual world looks a bit different than in real life. In E-Sim, USA does not have to be a world superpower, It can be efficiently managed as a much smaller country that has entrepreneurial citizens that support it's foundation. Everything depends on the players themselves and how they decide to shape the political map of the game.

Work for the good of your country and see it rise to an empire.

Activities in this game are divided into several modules. First is the economy as a citizen in a country of your choice you must work to earn money, which you will get to spend for example, on food or purchase of weapons which are critical for your progress as a fighter. You will work in either private companies which are owned by players or government companies which are owned by the state. After progressing in the game you will finally get the opportunity to set up your own business and hire other players. If it prospers, we can even change it into a joint-stock company and enter the stock market and get even more money in this way.


In E-Sim, international wars are nothing out of the ordinary.

"E-Sim is one of the most unique browser games out there"

Become an influential politician.

The second module is a politics. Just like in real life politics in E-Sim are an extremely powerful tool that can be used for your own purposes. From time to time there are elections in the game in which you will not only vote, but also have the ability to run for the head of the party you're in. You can also apply for congress, where once elected you will be given the right to vote on laws proposed by your fellow congress members or your president and propose laws yourself. Voting on laws is important for your country as it can shape the lives of those around you. You can also try to become the head of a given party, and even take part in presidential elections and decide on the shape of the foreign policy of a given state (for example, who to declare war on). Career in politics is obviously not easy and in order to succeed in it, you have to have a good plan and compete for the votes of voters.


You can go bankrupt or become a rich man while playing the stock market.

The international war.

The last and probably the most important module is military. In E-Sim, countries are constantly fighting each other for control over territories which in return grant them access to more valuable raw materials. For this purpose, they form alliances, they fight international wars, but they also have to deal with, for example, uprisings in conquered countries or civil wars, which may explode on their territory. You can also take part in these clashes, although you are also given the opportunity to lead a life as a pacifist who focuses on other activities in the game (for example, running a successful newspaper or selling products).


At the auction you can sell or buy your dream inventory.

E-Sim is a unique browser game. It's creators ensured realistic representation of the mechanisms present in the real world and gave all power to the players who shape the image of the virtual Earth according to their own. So come and join them and help your country achieve its full potential.


Invest, produce and sell - be an entrepreneur in E-Sim.


Take part in numerous events for the E-Sim community.


forum | Terms of Service | Privacy policy | Support | Wikia | Alpha | Luxia | Primera | Secura | Suna | Viva | Lima | Elysia | esim political game
PLAY ON