Conquer Club

Bot API

Suggestions that have been archived.

Moderator: Community Team

Bot API

Postby lostgeek on Sun Aug 03, 2008 10:29 am

Concise description:
We are some guys from lostpedia (a wiki devoted to the TV show LOST) and we have an IRC channel for which I have written a bot.

The bot is asking, if there is anyone, who wants to join and, after , then someone has to start a game and tell the bot the game number. So its purpose is to organize games.

Now I would like to extend it.

The bot of course would be open source, so anyone of you can use that feature.

Specifics:
  • Information about a running game.
    If a new round starts, I want to send an announcement. So a page with some rudimentary info about the game (like round number, game log, ...) would be great.
  • Starting new games
    This is, what many players in the channel asked me to do. A way for my bot to start new games, without joining it automatically would be great. It would still need an account to use it, so that there is no abuse (like spamming new games).

What do you think?
Cadet lostgeek
 
Posts: 3
Joined: Thu Jul 10, 2008 8:36 am

Re: Bot API

Postby cicero on Sun Aug 03, 2008 1:10 pm

lostgeek wrote:What do you think?

I think that I don't understand what you are suggesting.

What new feature are you requesting?
Or what is it that you would like CC to provide to support your Bot project?

If neither of those questions make any sense then I'll revert to my initial response - I don't understand! :)
User avatar
Sergeant cicero
 
Posts: 1358
Joined: Wed Mar 07, 2007 1:51 pm
Location: with the infected neutrals ... handing out maps to help them find their way to CC

Re: Bot API

Postby lostgeek on Sun Aug 03, 2008 2:44 pm

What I'm suggesting is 1. a site where I can get information about a game (Without having to parse the information from the site. Like in an list or something) and 2. a way to start games without being automatically joined in them ("empty games").
Cadet lostgeek
 
Posts: 3
Joined: Thu Jul 10, 2008 8:36 am

Re: Bot API

Postby cicero on Sun Aug 03, 2008 2:50 pm

lostgeek wrote:What I'm suggesting is:
1. a site where I can get information about a game
Do you mean a ConquerClub page - http://www.conquerclub.com/botinfo.php - or whatever that you can point your bot at to retrieve information about games ?

lostgeek wrote:2. a way to start games without being automatically joined in them ("empty games").
I can, perhaps, see the interest in making a bot do this, but I can't guess why a person would choose to make a request to a bot to start a game when they can just start a game themselves.

Also, if I am understanding you correctly, a bot script being able to create games would seem to open Conquer Club to a DOS attack ...
User avatar
Sergeant cicero
 
Posts: 1358
Joined: Wed Mar 07, 2007 1:51 pm
Location: with the infected neutrals ... handing out maps to help them find their way to CC

Re: Bot API

Postby Night Strike on Sun Aug 03, 2008 3:34 pm

The only games that are created empty are public tournament games. Players are not allowed to use those tournament privileges to create games for a group of friends or coworkers.
Image
User avatar
Major Night Strike
 
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm

Re: Bot API

Postby blakebowling on Sun Aug 03, 2008 7:24 pm

Night Strike wrote:The only games that are created empty are public tournament games. Players are not allowed to use those tournament privileges to create games for a group of friends or coworkers.

(the tournaments are public, but the games are private ;) )
Private blakebowling
 
Posts: 5093
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1

Re: Bot API

Postby lostgeek on Sun Aug 03, 2008 7:41 pm

cicero wrote:I can, perhaps, see the interest in making a bot do this, but I can't guess why a person would choose to make a request to a bot to start a game when they can just start a game themselves.

Also, if I am understanding you correctly, a bot script being able to create games would seem to open Conquer Club to a DOS attack ...


I don't think that it would be a vulerability. You still would have to log in to open a game.
But it was only a request from users. It isn't that important in my eyes.

cicero wrote:Do you mean a ConquerClub page - http://www.conquerclub.com/botinfo.php - or whatever that you can point your bot at to retrieve information about games ?
That's what I meant. Like botinfo.php?game=1234567. It wouldn't need much effort to do and would help me a lot.
Cadet lostgeek
 
Posts: 3
Joined: Thu Jul 10, 2008 8:36 am

Re: Bot API

Postby blakebowling on Sun Aug 03, 2008 7:46 pm

lostgeek wrote:
cicero wrote:I can, perhaps, see the interest in making a bot do this, but I can't guess why a person would choose to make a request to a bot to start a game when they can just start a game themselves.

Also, if I am understanding you correctly, a bot script being able to create games would seem to open Conquer Club to a DOS attack ...


I don't think that it would be a vulerability. You still would have to log in to open a game.
But it was only a request from users. It isn't that important in my eyes.


Right, but the question remains, what is the advantage of making a bot to create games, rather than creating them yourself?

lostgeek wrote:
cicero wrote:Do you mean a ConquerClub page - http://www.conquerclub.com/botinfo.php - or whatever that you can point your bot at to retrieve information about games ?
That's what I meant. Like botinfo.php?game=1234567. It wouldn't need much effort to do and would help me a lot.

you do realize that the current game system works with variables,
Private blakebowling
 
Posts: 5093
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1

Re: Bot API

Postby chipv on Sun Aug 03, 2008 8:20 pm

Hi, lostgeek,

If you only want to do a new round or turn alert, you can do that with the RSS feed so that is possible.

The other information you need does actually exist already in a special page ... but the catch is you have to be logged onto CC to get it.

Once logged into CC , there are plenty of tools to do what you want.

So there's not much point in separately hosting a page, I think.

As for starting games, since you need to be logged in, there's not much point in doing this on another server either.
User avatar
Captain chipv
Tech Contributor
Tech Contributor
 
Posts: 2927
Joined: Mon Apr 28, 2008 5:30 pm

Re: Bot API

Postby blakebowling on Mon Aug 04, 2008 1:27 am

chipv wrote:Hi, lostgeek,

If you only want to do a new round or turn alert, you can do that with the RSS feed so that is possible.

The other information you need does actually exist already in a special page ... but the catch is you have to be logged onto CC to get it.

Once logged into CC , there are plenty of tools to do what you want.

So there's not much point in separately hosting a page, I think.

As for starting games, since you need to be logged in, there's not much point in doing this on another server either.

right, if you're too lazy to create your own games, then don't play.
Private blakebowling
 
Posts: 5093
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1


Return to Archived Suggestions

Who is online

Users browsing this forum: No registered users