login | register
05 Sep 2010 [00:55 UTC]

heirloom

come together with your hands

Refresh cacheLockedPrint

TCL QScorebot


AuthorTomasz Kalkosiński
Version2.0
Release date 2007-01-15
LicenseGPL2
URLhttp://www.spoonman.eu
IRC#clan.ppp @ QuakeNet
Download


Image
Image
XChat: TDM game played
irssi: CTF game played


More screenshots are here - TCL QScorebot Screenshots.
This is a scorebot for multiplayer games to use with eggdrop IRC bot. It supports mainly Quake 3 Arena with OSP mod, but also other mods and partly War§ow and Quake4. QScorebot can run a scorebot on your channel or query a server once to see if your mates are playing at the moment! Examples:

  • !q3 <IP|alias> - query Quake 3 Arena server and put output with actual game state, e.g.:
!q3 194.187.43.245:27962
DaV!D (12), mitos (33) Red 0 vs 2 Blue eatme (41), need_clan (28) (Specs: ---, Time left: 17:42, map: q3wcp18, 2/18, 42ms, CTF)

  • !q3s <IP|alias> - start a Quake 3 Arena scorebot, e.g.:
!q3s 194.187.43.245:27962
Game Red 69 vs 61 Blue (Time left: 10:22, map: pro-q3dm6) *+8*
Game Red 73 (+4) vs 62 (+1) Blue (Time left: 10:00, map: pro-q3dm6) *+11*
Game Red 78 (+5) vs 69 (+7) Blue (Time left: 9:30, map: pro-q3dm6) *+9*
Game Red 81 (+3) vs 71 (+2) Blue (Time left: 9:00, map: pro-q3dm6) *+10*


Details on usage are here - TCL QScorebot Usage.

Requirements

  • Eggdrop IRC bot installed and present on your channel. You also need access to this bot to install required scripts in order to run QScorebot.
  • QStat program to query game servers. TCL QScorebot uses it to query game servers.

Installation

  • Extract archives into your eggdrop's script directory.
  • Edit eggdrop's conf to include qscorebot-starter.tcl.
  • Edit carefully qscorebot-starter.tcl. Remember this is also TCL script.
  • Things you must edit:
    1. line 23: make sure variable QUAKESTAT_PATH is set correctly for your system,
    2. line 27: make sure variable MODULES_PATH is set correctly for your system. This is a path for QScorebot's modules - quake3.tcl, quake4.tcl and warsow.tcl.
  • Things you can edit:
    1. line 32: variable DEBUG_LEVEL - don't change if you're not developer. It produces large debug file only for developer use.
    2. line 38: fill ADDRESS_ALIASES array. Your users can use these names instead full IP addresses when querying/starting scorebot.
    3. line 50: comment/uncomment components. See 6. Known Issues section for details of default commented components.

Known issues and support

  • Scorebot can run only one game at once only for one channel. No separate scorebots for separate channels (although it could be doable with TCL namespaces I don't want to deal with it).
  • Sometimes it has problems with Overtimes.
  • Sometimes it stops and doesn't get any error - restart it.

TCL QScorebot and Quake 3 Arena module is stable. War§oW module is unstable and not well tested, while Quake 4 module is in alpha development stage or even not working. I'm not going to develop anymore any of main program or its modules. I am Q3A CTF player and this part works nice. It satisfies me. I started to develop other modules but soon I lost interest to War§oW and Quake 4. I don't think it's going to change as I behated TCL while writing this one. I didn't write a new line in TCL for more than a year and I don't want to come back.

History and credits

This script is inspired from qstat4eggdrop.tcl v1.0, written by Mikael Blomqvist <micke@peachpuff.com>, http://eggdrop.peachpuff.com/. I found it useful and tried to improve its functionality, but in the end I've rewritten everything.

Special thanks goes to ghostdog, for showing me 'The Linux Way' ;)

Cheers for Madzia <3, moja piękna ;)

Changelog

  • 2.0 (15.01.2007)
    • chg: most things rewritten to support many games
    • add: added Quake 4 support (only XBM is supported, as baseq4 and Q4MAX protocols are broken atm)
    • add: added War§oW support
  • 1.0 (12.12.2004)
    • Initial release with Quake 3 Arena support

Files

Files included in qscorebot-tcl-2.0.zip:
  • qscorebot/qscorebot-main.tcl
  • qscorebot/variables.tcl
  • qscorebot/quake3.tcl
  • qscorebot/quake4.tcl
  • qscorebot/warsow.tcl
  • qscorebot-starter.tcl
  • README
  • COPYING
Created by: SpOOnman.
Last modification on 27 Feb 2008 [08:50 UTC]