RS/SV/NR5F Melee Bot v2.0 by Shikkie Kaaran, RSXO 5/12/2002
===============================================Info====================================================
This bot was created and tested on mIRC version 6.01. Use this version of mIRC to run the bot or I will stab you in the neck :) Also, mIRC 6.0+ supports multi-server (being on two IRC servers with only one mIRC client open) however this script was not written to support that (though in theory it would work fine as long as only one connection was on the melee channel) As it was not written to support the multi-server system in mIRC 6.0+ OPEN A SEPARATE MIRC 6.01 TO RUN THE BOT, otherwise I will stab you in the neck :P
Also I suggest you run the bot in an mIRC client which has no other mIRC scripts loaded. This shouldn't matter but if the other script tries to use variable names or commands which this one uses it could cause undesirable conflicts.
On the Undernet only some servers allow you to have multiple connections (needed to run the bot and manage it through commands) Amsterdam.nl.eu.undernet.org seems to allow one to make a second connection once another is established. I believe austin.tx.us.undernet.org also does this, but I'm not 100% like I am about amsterdam.
===============================================Installation============================================
Extract the meleebot.zip file to a folder on your hard drive. I suggest inside your <mIRC folder>\meleebot\
open mIRC (Again, this will only run on mIRC version 6.01 and I again reiterate that it would be preferable to run it on a copy of mIRC which has no other scripts loaded. type load -rs meleebot\meleebot.mrc
The bot will then attempt to join the default melee channel, which is #outerrim
Connect another copy of mIRC and use the below commands to adminster the bot.
===============================================General User Commands===================================
!signup <club> <game> Signup for a match
!remove Remove yourself from the waiting list. You will also be removed if you leave the melee channel or quit irc.
!help bot will dcc you this file.
==============================================Admin Commands===========================================
!adminauth <user> <pass> (***IN Query Msg to Bot. All other commands are channel based***) login as an admin. If you quit IRC or the bot is disconnected you will need to reauthenticate when the bot is back.
!logout logs you out of the bot.
!deauthAdmins Logs out all currently authenticated admins
!topic Deprecated. Handled by status updates from the Server.
!wipescores Deprecated. Handled in the web interface.
!wieplists Remove all waiting players from their lists
!wipeall Deprecated. !topic and !wipescores are not availible, so you're left with !wipelists to do manually
!op Bot ops you
!deop Bot deops you
!melee <state> State is one of ON or OFF. When State is on, the bot will begin to accept signup requests and start matches. When state is OFF the bot performs a !wipelists and disables matching and signup rquests.
!score <game> <club1> <player1> <score1> <club2> <player2> <score2> Removed. Scores reported through web interface now.
!join <#channel> Bot will join supplied channel
!part Bot will part channel this command is said in
!makeMeleeChan Bot registers the channel this is said in as the melee channel
!updateHost Updates the IP of the meleehost bot to recieve status updates from the web interface. ***This requires UDP Port 28060 to be open and forwarded to the machine running this bot.***
!setip <ip> Had some problems while testing behind a NAT router/firewall (mIRC didn't detect external IP properly) Therefore I had to include a manual updater for this. If the bot's ip is not set properly here the security key system used to connect to the database will fail and you will get errors when matches are created (not good at all)
!checkip returns the IP the bot thinks it has. This must match the IP The bot shows externally.
!setstart <military time> Sets an automated time for the melee to start using military time. Be sure to consider time zones to ensure the end result is proper in EST (-0500 GMT). Use !time to get the correct time and timezone for the bot.
!getstart Tells what time the melee will start automatically
!setend <military time> Sets an automated time for the melee to end using military time. Be sure to consider time zones to ensure the end result is proper in EST (-0500 GMT). Use !time to get the correct time and timezone for the bot.
!getend Tells what time the melee will end automatically
!time Returns the current time on the bot machine. Ex: Sunday May 19th 2002 19:14:46 -0500 GMT
==================================================== Adding Admins ================================
This has changed from the previous version. Admin user/pass information is stored in the rebelsquadrons.org database and accessed via encrypted http requests at runtime. This provides for each implementation of the bot to have the same user/pass as every other (no hassle in adding new admins, once it's on the server all copies of the bot have the info when needed) |
|
Today's Standings
Overall Standings
Records
Ladder
Current Matches
Currently Signed Up
Player Login (Forgot Password?)
Admin Login/Logout
Help!
Signup!
Webpage design by LGN Deltan Saviri of the
Rebel Squadrons. Content by ADM
Rahj Tharen and LCL Isoldur
"Dragon" Cauthon of the Rebel Squadrons. ORW2 Matching Bot, Automated matching, scoring, and ladder system © 2002 by ADM Shikkie Kaaran of the Rebel Squadrons. © 2002, all
trademarks of Star Wars, XvT, XWA, JK, JO, and GB are the property
of Lucasfilm Ltd., LucasArts Ltd. Copyrights
and Disclaimer.
|