Warcraft II Forum
Warcraft II => Server.War2.ru => Topic started by: Igognito 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 (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/ (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.
-
Good work I'll check it out. Use a amazon host for 1 dollar load a vps!
-
"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!
-
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
-
Hermes is too close to herpes. And there's already enough of that going around on the server.
lol
-
I have a host if you need it. Windows or Linux?
-
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.
-
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.
-
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
-
ELO
grrrrrrrr
-
oh yeah, sorry :D everyone else does it! I get confuuuuused
-
well if you're gonna edit ELO into Elo i must insist you put in a forum wide filter for wc2 -> war2
-
everyone else does it!
yes but i only pay attention to you, baby girl!
*unzips*
-
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
-
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
-
I wouldnt care much to see ladder stats, but seeing ladder rank would be nice to know how far up you could move by playing someone in a 1vs1 match.
-
Hi all, currently I have set up intel to send messages like what you can see on the ss.
It is 1 line so flooding is less of a problem right now.
Also it is faster. You do get the rank the wins/lose/high rank and elo
Also you get antihack info when available...
Antihack info not always work.
Generally you might query intel and get or not get the answer. Depending the http requests.
But you can always try again!
Cheers
Added a ss
-
I was thinking that by using the bot we can warn people that they do not have the anti hack active!
Also in the rare case that the bot finds hacking it could auto ban? (Assuming that the bot would have the rights)
Somewhere I have read that the idea for the anti hack was to be mandatory. By using the bot we can slowly go that way.
I'm suggesting the following policy:
When the bot detects none or unknown ah state it sends a warning to the user and records the day.
If the bot sees the user with out antihack more than 3 different days. Then it kicks him out.
If the bot sees the state hacking then it auto bans the player.
Obviously, all that with the appropriate messages.
Possible problem: Some users do not know/care to run the anti-hack especially new users.
For that reason, I suggest that if a user is kicked out a message goes to the admins.
The admins should be able to reset the bot record allowing the user to rejoin.
Also the bot could auto reset after kicking someone out the next day!
So coming without anti-hack 3 days "bans" you for 1 day. (That is the next day you join the server)
Generally I think all these are ideas for the admin's to think and decide.
I would be glad to implement any of the stuff said.
I remind that the bot is not bullet proof and several times has old information.
I have enforced it to use a full refresh which I think it helped but it still some times gets old data.
Cheers
-
well if you're gonna edit ELO into Elo i must insist you put in a forum wide filter for wc2 -> war2
noo, wc2 is definitely a valid alternative abbreviation
send it any time Igog!
-
@mousEtopher I have emailed it to you!
Oh feel free to reset the password of the intel account or make a ladder account for the bot.
Thank you
-
Intel bot is back after an absence! it was having an issue & igog never replied to my mail about it so it was down for a while, I just started it up again and it appears to be workingish for now.
-
Hey mousey, I'm on the move for some time now and have been off...
I'm trying to return one of these days 😊
Miss you guys
-
Hey Igog!
Long time no see! Welcome back! :)
-
Hey mousey, I'm on the move for some time now and have been off...
I'm trying to return one of these days 😊
Miss you guys
ok thanks for letting us know! miss you too hope you're back soon <3