War2.ru Slogan
News: The new antihack is here! Upgrade to War2Combat 4.0
today (it will eventually be mandatory for playing!)


Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Welcome to the forums! We're glad to have you here! :) You can register your account here, then feel free to introduce yourself in the Server.War2.ru board & let us know who you are on the server.

Poll

What should the name of the status/ladder bot

status
1 (11.1%)
info
1 (11.1%)
ladder
4 (44.4%)
other
3 (33.3%)

Total Members Voted 9

InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc.. 931  23

Axe Thrower Posts: 289 Karma: +19/-0 ****

Igognito

  • Axe Thrower
  • ****
  • *
  • Posts: 289
    • View Profile
InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« on: May 26, 2017, 12:43:47 PM »
Hello all,

I have made a status bot that returns information about players.

It is almost completely there are some minor issues to be decided so I brought this on the forum:

Bot Name: I suggest status or info (for the rest of the message I use status)
Available commands:

\m status me
Returns your ladder stats from page http://ladder.war2.ru
Also returns your current antihack status and in what channel/game you currently are.

\m status list
This is a very slow command and I suggest to not be used often. It returns selected information from http://server.war2.ru/status/ page

\m status game
This is similar with the list command but instead it returns the information for the users in your current GAME or channel.
This is very useful for hosts of games to check if the players have anti hack before starting.

\m status game [gamename]
This is like the above but you can state a game name.

\m status [playername]
This will return the ladder statistics of a player. Also it will return the ah status if player is online.

\m status help
Will give a short list of the commands

All information is returned at the form of private messages.
Antihack status is refreshed if 30 seconds have passed from last query. Which might make the response a bit slow.
Also antihack info might be upto 30 seconds old.

The responses are not 100% ensured :/ because of html errors but if you do not get a response you can retry.
In general it seems to be stable.

One problem I have seen it have is that it gets often the warning message for flooding.

Things that need to happen:
Decide on a name, please vote on the poll.
Get feedback for improving stuff.
Suggest renaming of commands/new commands.
@mousEtopher, Find a permanent host for it.
Ogre Mage Posts: 2360 Karma: +76/-1 ********

tupac

  • Ogre Mage
  • ********
  • *
  • Posts: 2360
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #1 on: May 26, 2017, 01:55:06 PM »
Good work I'll check it out. Use a amazon host for 1 dollar load a vps!
Axe Thrower Posts: 289 Karma: +19/-0 ****

Igognito

  • Axe Thrower
  • ****
  • *
  • Posts: 289
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #2 on: May 26, 2017, 03:49:33 PM »
"Status" is so lifeless and mechical. The name should have some vibrancy and personability to it.

If you want it to still be semi-robotic sounding but with a battle flavor, how about something like "Intel"?

Alternatively, to suggest a benevolent presence, a fine anthropomorphic name, short for easy typing, could be given. Like Kane or Dante or Nixon or Lazarus. :)



How about Hermes? (The messenger god) or CIB central intelligence bot?
lol

I'm sure we can get creative on the name!
Axe Thrower Posts: 289 Karma: +19/-0 ****

Igognito

  • Axe Thrower
  • ****
  • *
  • Posts: 289
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #3 on: May 26, 2017, 05:11:39 PM »
Hermes is too close to herpes. And there's already enough of that going around on the server.

And CIB is too close to CIBC (a big bank) and basically everyone hates banks and would rather keep their money under a mattress if only your employer would direct deposit it there.
lol
and
lol

for now I have called it intel as status and hermes where taken :/
tonight I will be running it from home but I hope in the weekend it will find a more permanent house :D

I'm also considering of limiting the output as (for an unknown to me reason) it takes time to send messages

Cheerios
Ogre Posts: 1448 Karma: +55/-36 *******

Winchester

  • Ogre
  • *******
  • *
  • Posts: 1448
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #4 on: May 26, 2017, 09:31:52 PM »
Hermes is too close to herpes. And there's already enough of that going around on the server.
lol
Ogre Mage Posts: 2360 Karma: +76/-1 ********

tupac

  • Ogre Mage
  • ********
  • *
  • Posts: 2360
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #5 on: May 26, 2017, 10:45:15 PM »
I have a host if you need it. Windows or Linux?
Ogre Mage Posts: 2459 Karma: +49/-2 retired, be in music section ********

easycompany

  • Ogre Mage
  • ********
  • Posts: 2459
  • retired, be in music section
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #6 on: May 26, 2017, 11:20:35 PM »
how do u use your bot tupac? i just whispered him to create game.

ahh it has to be in the open,cool idk if he made but he responded.
Ogre Mage Posts: 2360 Karma: +76/-1 ********

tupac

  • Ogre Mage
  • ********
  • *
  • Posts: 2360
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #7 on: May 27, 2017, 08:50:19 AM »
how do u use your bot tupac? i just whispered him to create game.

ahh it has to be in the open,cool idk if he made but he responded.
Sorry I might of not opened war2! I will add a command to open war2 and login.
Administrator Ogre Mage Posts: 1687 Karma: +93/-109 *****

mousEtopher

  • Administrator
  • Ogre Mage
  • *****
  • *
  • Posts: 1687
    • View Profile
    • War2.me
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #8 on: May 27, 2017, 09:13:40 AM »
I can host it. how about /w intel [username] AH and /w intel [username] Elo to return that specific info. I know several players were interested in having in-game Elo available specifically & that might make it return a little quicker if they're checking a lot of people at once? at least it'd be 1 line only instead of 2. And likewise for AH check, hosts might be gaming w/ a few friends and want to check AH status on newcomers as they arrive, so faster to check an individual rather than the whole game at once.

overall looks & works great, you did a great job on it Igog! thanks for your hard work :D
Ogre Mage Posts: 2162 Karma: +119/-179 ********

I hate naggers

  • Ogre Mage
  • ********
  • *
  • Posts: 2162
    • View Profile
Administrator Ogre Mage Posts: 1687 Karma: +93/-109 *****

mousEtopher

  • Administrator
  • Ogre Mage
  • *****
  • *
  • Posts: 1687
    • View Profile
    • War2.me
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #10 on: May 27, 2017, 10:08:29 AM »
oh yeah, sorry :D everyone else does it! I get confuuuuused
"The Architect" Global Moderator Death Knight Posts: 4488 Karma: +175/-110 *****

eyyy im walkin here

  • "The Architect"
  • Global Moderator
  • Death Knight
  • *****
  • *
  • Posts: 4488
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #11 on: May 27, 2017, 11:06:03 AM »
well if you're gonna edit ELO into Elo i must insist you put in a forum wide filter for wc2 -> war2
Ogre Mage Posts: 2162 Karma: +119/-179 ********

I hate naggers

  • Ogre Mage
  • ********
  • *
  • Posts: 2162
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #12 on: May 27, 2017, 12:02:05 PM »
everyone else does it!
yes but i only pay attention to you, baby girl!
*unzips*
Axe Thrower Posts: 289 Karma: +19/-0 ****

Igognito

  • Axe Thrower
  • ****
  • *
  • Posts: 289
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #13 on: May 27, 2017, 12:49:36 PM »
Well it is true that Elo is the name of the person that did the ranking.

But at least in Greece we always used capitalized ELO for the tables. I personally think it is a detail. But if people want me to make ELO->Elo that is very simple :-D

Thank you for your nice comments. I will improve the bot as I collected some feedback :-)
And hopefully soon Mousey can launch it for it to be constantly available.

Cheers
Axe Thrower Posts: 289 Karma: +19/-0 ****

Igognito

  • Axe Thrower
  • ****
  • *
  • Posts: 289
    • View Profile
Re: InGame Status Bot: Antihack status, ELO, Ladder rank/wins etc..
« Reply #14 on: May 27, 2017, 04:41:57 PM »
Many improvements have been made.
I now send 1 message for the ladder stats. Because that message is long though it seems that the ah info which I was sending after is stopped by the flooding policy (Quota) before the bot was "magically" delaying and obeying the quota.

Furthermore, I disabled the command list (as it takes too long) and limited the command game to 8 players (in case it is used at a channel)
Yes 8 names take sometime to come. But the command is useful as you do not want ingame to type a nickname. You just want to see what is the status of the ah for the people you play with.

If people think that having also the ladder stats for the people at the same game makes sense. I can implement it. I do not suggest it though because of the flooding policy.
Furthermore, I made a change that will make the bot a bit slower but will ensure more correct results for the ah.

In general I think it is almost ready. Thus mousey when you are ready if you want to host it I can send it to you.

Cheers