KickWars Classic

From Botdom Wiki
Jump to: navigation, search
  • Latest stable release: None
  • Latest preview release: 0.1 alpha

Chatroom Game KickWars Classic is photofroggy's attempt at recreating the original KickWars but using bot technology to monitor the game. In the original KickWars players would use /kick to kick their opponents from the chatroom when photofroggy gave them permission, the players that got kicked were demoted to a different privclass. This was difficult to monitor so KickWars was created to make things a bit easier, but it took away use of the /kick command. This project aims to put the /kick back into KickWars!

Basic Information

KickWars Classic was being scripted on Futurism by photofroggy, and has now been ported to xbot for developement. Xbot is the platform that KickWars currently runs on. Bot technology is used to monitor the events taking place in the chatroom used for the game. The module is about half way complete and the official chatroom, #KickWarsClassic, has been made as of this edit (15th March 2007), and is perfectly useable. The chatroom has been made public, so please drop in and have a go by all means.

To do

  • Scoring system.
  • Decide on score values.
  • Port to xbot.
  • Script Command to show scores and leaderboards.
  • Use something other than usleep() in the script.
  • Patch every loop hole!
  • Find a better way to save the scores.
  • Improve the way scores are generated.
  • Change variable names.
  • Script onpart.php.

Known bugs

  • Scores do not get saved to a file, but only as a global.
  • Kicked players 'bounty' messing up still.
  • Winners bounty is a bit too big... might be due to lag on my computer though

Commands

There are very few commands used because it's meant to be a very basic game where you use /kick to eliminate your opponents. The commands that exist are below.


KickWars Classic 0.1 and up

  • !kc about - Returns a predefined message.
  • !kc join - Joins the game! The way this games works is that people get to kick each other during each round, so you have to join the game before the round starts.
  • !kc quit - Exists the game! If you have joined the game and decide that you do not want to play before the round starts, or there is any reason why you can't play, then use this command and you won't be included in the next round.
  • !kc start - This command actually starts the game/round! It is currently undecided on whether or not this command will be admin only.
  • !kcs player/info [person] - This command shows the statistics for [person]! Leave [person] blank to show your own statistics.
  • !kcs top [stat] - This command returns the top player rankings for [stat]!
  • !kca delete [user] (yes) - Deletes the specified user's statistics ADMIN ONLY.
  • !kca debug - Debugs scores and deletes statistics that shouldn't be there ADMIN ONLY.

KickWars Classic 0.0.4 and up

  • !kc join - Joins the game! The way this games works is that people get to kick each other during each round, so you have to join the game before the round starts.
  • !kc quit - Exists the game! If you have joined the game and decide that you do not want to play before the round starts, or there is any reason why you can't play, then use this command and you won't be included in the next round.
  • !kc start - This command actually starts the game/round! It is currently undecided on whether or not this command will be admin only.
  • !kc score/stats [person] - This command shows the statistics for [person]! Leave [person] blank to show your own statistics.

KickWars Classic 0.0.3

  • !kc join - Joins the game! The way this games works is that people get to kick each other during each round, so you have to join the game before the round starts.
  • !kc quit - Exists the game! If you have joined the game and decide that you do not want to play before the round starts, or there is any reason why you can't play, then use this command and you won't be included in the next round.
  • !kc start - This command actually starts the game/round! It is currently undecided on whether or not this command will be admin only.
  • !kc players - Used to debug the module.
  • !kc mode - Used to debug the module.

Changelog

KickWars Classic 0.1 alpha

(26th March 2007)

  • Scripted onpart.php! That should cover up a loop hole, so that people can't cheat!
  • Scripted part of an admin command.
  • Added an about command.
  • Patched a loop hole, people get removed from the round if they leave the game, and are penalised 4 points.

KickWars Classic 0.0.9 pre-alpha

(18th March 2007)

  • Restructured the scripts so that the statistics are saved in a better way.
  • Scripted the stats and top commands.

KickWars Classic 0.0.8 pre-alpha

(18th March 2007)

  • Squashed out a bug that was making it hard to save the scores properly.
  • Scores are now saved in the way they are meant to be! The bug was due to an inherent flaw of dAmnBot, which was found and fixed by infinity0 in xbot 1.1 (unreleased version).
  • Players now get promoted to a new privclass when the round starts, instead of updating the same privclass.
  • Highlighters added to the messages on round start/finish.

KickWars Classic 0.0.7 pre-alpha

(18th March 2007)

  • Scores now save to the files properly!!!!!
  • Output for scores now improved.
  • More statistics added.

KickWars Classic 0.0.6 pre-alpha

(16th March 2007)

  • Changed the scripts so that usleep is not needed to start the round after a certain time.
  • Fixed the bugs in how the scores are generated.

KickWars Classic 0.0.5 pre-alpha

(15th March 2007)

  • Ported to xbot!!!
  • Finished the stuff that generates scores.
  • Changed the way everything is loaded into variables.

KickWars Classic 0.0.4 pre-alpha

(13th March 2007)

  • Scripted almost all of the stuff that generates and updates a players score. Need to work on how to get scores more accurate.

KickWars Classic 0.0.3 pre-alpha

(1st March 2007)

  • Managed to make the script actually monitor the events in such a way that the bot now knows when a round is over!

KickWars Classic 0.0.2 pre-alpha

(28th February 2007)

  • Scripted join and quit commands for the game.
  • Scripted stuff to allow players to kick after a certain amount of time.

KickWars Classic 0.0.1 pre-alpha

(28th February 2007)

  • Module now demotes people who get kicked. This took ages because Futurism was an unfinished bot at this stage, and certain things had to be added to the bot to make this possible.

Credits

Thanks to the following people:

Photofroggy - Scripting the module.
infinity0 - Squashing out a bug that caused serious problems.

Photofroggy helps with
Abugida · Amphino · Calf · Contra · dANote · Frogmod · KickWars · KickWars Classic · Maltriv