|
Spencer
|
 |
« on: March 23, 2010, 04:10:45 PM » |
|
When I started this site, I did so with the intention of making releases that where to do with gaming in general, not just renegade and the w3d engine. So far I've done a terrible job of that... I managed to let myself get swamped with projects, and it doesn't allow me to spread my wings that much. The latest release on the downloads page changes that! I've created ReBot... ReBot is a win32 console application designed in VisualStudio.net2008 and written in C++. It's purpose is to provide a generic Logging Bot, primarily for Game Servers, but potentially could be useful for any logging situation. The ini file provided is read by ReBot, and needs to be filled out by the user. ReBot reads a text file (defined by the user in the ini file) and then from the last point of entry in the text file, starts sending the new lines onwards to an IRC channel (also defined by the user). For game servers this can be useful. Game Servers often produce log files of in-game chat and other information, and store these logs locally on the server. This is not very useful... ReBot is capable of reading these log files, and sending the contents to the IRC channel in real time. This allows for administration over the server, and also a place for players to join and see what's going on. This is a Beta release. It may have bugs in it, with feed back, I can fix these bugs. Current version 1.0 copyright 2010 Spencer Elliott www.spencerelliott.co.uk All rights reserved. www.spencerelliott.co.uk/downloads.html
|
|
|
|
|
Logged
|
|
|
|
|
trooprm02
|
 |
« Reply #1 on: March 23, 2010, 08:20:13 PM » |
|
Cool  few things: a)you stole my name haha, ReBot is much better than minibot though so b)since when do you use VS 2008? and do you recommend it over 2005? c)so what other games off the top of your head to you know this would work as a server bot for? d)for renegade servers, what logfile would be best to use for SSGM, SSAOW, SSCTF, etc (ssgmlog, renlog, renlog2)?
|
|
|
|
|
Logged
|
|
|
|
|
Spencer
|
 |
« Reply #2 on: March 24, 2010, 03:30:28 AM » |
|
Updated to version 1.01 - Fixed a bug that caused new lines to not be sent to IRC (kinda the whole point of it) Cool  few things: a)you stole my name haha, ReBot is much better than minibot though so b)since when do you use VS 2008? and do you recommend it over 2005? c)so what other games off the top of your head to you know this would work as a server bot for? d)for renegade servers, what logfile would be best to use for SSGM, SSAOW, SSCTF, etc (ssgmlog, renlog, renlog2)? a) Yeah, ReBot sounded kinda cool... But this is still not MiniBot. MiniBot would be specifically for renegade, and not work with log files, but rather directly in the FDS. But I did like the name ReBot, so I used it for this. :-P b) Since I moved to Windows 7 and never bothered installing VisualStudio.net2005. I would recomend migrating, purely because of deprication. c) Any game that produces a log file. I know that LineageII servers never had a proper bot when MP-Gaming first put One up. This would of been extremely handy back then. However, zunnie has asked that a sub version of this is made for COD 5 WAW, so that it can communicate with the server via RCON. d) For renegade, you're better off using an existing regulator. This simply sends the contents of the log file to IRC, it is not interactive in the way other renegade bots are, this is just a generic logging bot. However, if you really wanted to use it, then you can run several instances of it and log as many files as you want. I may actually offer support to look at several log files under One instance actually. That's a good idea.
|
|
|
|
« Last Edit: March 24, 2010, 09:50:28 AM by Spencer »
|
Logged
|
|
|
|
|
Spencer
|
 |
« Reply #3 on: March 24, 2010, 09:50:10 AM » |
|
Updated to version 1.02 - Fixed a never ending loop bug in the ErrorLog.txt file output function for when ReBot cannot find the log file. - Fixed a bug where extremely long lines of text cause ReBot to stop working.
|
|
|
|
|
Logged
|
|
|
|
|
trooprm02
|
 |
« Reply #4 on: March 25, 2010, 11:55:21 AM » |
|
deprication? what are you reffering to specifically?
from what I do understand tho, everything needed for working on ren-related stuff is already integrated into 2008 which makes things easier to manage (directx sdk etc)
|
|
|
|
|
Logged
|
|
|
|
|
Spencer
|
 |
« Reply #5 on: March 25, 2010, 12:44:05 PM » |
|
Things like sprinf/sprintf_s etc etc. Plus, things seem to only move forward, so eventually you'll have to make the move. You could safely stick with 2005 if you was just doing Renegade stuff for a while, least till TT came out.
|
|
|
|
|
Logged
|
|
|
|
|
Spencer
|
 |
« Reply #6 on: March 28, 2010, 08:36:23 AM » |
|
Updated to version 1.04 1.03 was never publically released, but an intermin test version that a freind of mine tested out. 1.04 was the product of feedback from that. - Fixed a potential error with ini loader - Changed ReBot's function that handles each line of text. It now breaks up the strings into smaller pieces, and sends them to IRC in there more manageable size of 200 characters (this was done as some text lines exceed what some IRC server allow users to send on One line each time).
|
|
|
|
|
Logged
|
|
|
|
|
Spencer
|
 |
« Reply #7 on: March 31, 2010, 02:07:41 AM » |
|
A new release will be coming soon. I've started to add different modes to ReBot so that additional support for other games can be added. For example, Lineage2 mode if enabled will allow the operator to enter there telnet details into ReBot's ini file, and ReBot is then transformed from a One-way directional logging bot, to a Two-way communication device. Allowing commands to be sent to the server from the IRC channel (!L2 announce Hellow world would anounce Hello World in-game).
That isn't to say that support for generic log files will be dropped, or it can't be used if the game is not specifically supported. It just means that if the game is supported, it will have additional features enabled (like sending command back to the server).
Currently Lineage2 support is being added, but I do intend to add support for others games, too.
I'm also going to add an option to allow the bot to log in as an IRC Oper if the IRC server admin is kind enough to grant you IRC oper status.
|
|
|
|
|
Logged
|
|
|
|
|
Spencer
|
 |
« Reply #8 on: April 01, 2010, 01:08:42 AM » |
|
I worked on ReBot a little last night, and have a version running on a friends Lineage2 server to test out the Lineage mode of ReBot. All seems to be going well, with ReBot able to send command back to the Lineage2 server with no problem. I also managed to add the ability to log in as Oper if the registered nick name has been given Oper status, plus the ability to enter the channel key into ReBot's .ini file if the channel has One set. While it is being tested out though, a need has been identified... It seems that some game servers created more than One log file, and rather than have several instances of ReBot all looking at different log files, it would make more sense to allow ReBot to poll several Log files at Once, instead of just One. I will try to get this ability in ReBot out for the next release.
|
|
|
|
|
Logged
|
|
|
|
|
trooprm02
|
 |
« Reply #9 on: April 01, 2010, 12:24:49 PM » |
|
another example could be renegade...BRenBot does a good job at looking at bhslog, renlog, and ssgmlog so maybe thats something you can look to as an example 
|
|
|
|
|
Logged
|
|
|
|
|
Spencer
|
 |
« Reply #10 on: April 02, 2010, 05:06:57 AM » |
|
BrenBot is written in PERL, as where ReBot is written in C++. As ReBot already has a function to read the log file, it shouldn't be too hard to allow it to read from other files, too. What I would like to do with ReBot though is make it more user configurable.
For example, the operator may wish to allow it to read from Sever log files, so I would like to allow them to enter 7 in the ini file, then declare the path to all Seven log files (rather than have a static amount of log files that ReBot can read).
But yeah, you're right, it would make it more renegade friendly. However, the specific Renegade bots have been in development for years, and would be better suited to Renegade than ReBot. It would take allot of development to make them as useful as the current Ones available. This also would be a waste of time, as the reading of log files is only the option to use as a last resort. It's far better to have the server itself output the logs directly to IRC (something that is possible with renegade).
After Lineage2 mode is completed, I will probaly add support for CoD, perhaps...
|
|
|
|
|
Logged
|
|
|
|
|
Spencer
|
 |
« Reply #11 on: April 03, 2010, 03:27:02 PM » |
|
Updated to version 1.12 - Added support for Lineage2; can send Telnet command from IRC channel to the L2 server (only if enabled in the ini file) - Added support for polling a Second log file (was identified as a need while developing the support for Lineage2) - Fixed an error with the logging not working when the text ended at a new line. - ReBot can now join channels with keys - If Oper has been granted to ReBot, it can now log in with this - Some other options have been added to the .ini file to make ReBot more configurable.
More specific games will have support added in time. However, do not fear if your game has not been added for official support yet. It will still send the log file(s) to IRC, having official support just means there are more options for your particular game server. For now it's just Lineage 2, but more will be added with time. I am looking at perhaps Call Of Duty.
|
|
|
|
|
Logged
|
|
|
|
|
zunnie
|
 |
« Reply #12 on: April 04, 2010, 04:35:32 AM » |
|
I made a very basic script to relay the logins/logout/char switches to an pub chan. This script assumes that you are outputting the rebot logs to a ADMIN channel and have your players join another public channel... on *:text:*:#:{ if ($chan == #mp-lineage2-admin) { if (($nick == L2Bot) || ($nick == L2BotLogin)) { if (Logged in isin $1-) { msg #mp-lineage2 [9LOGIN] $gettok($6,1,40) (Account: $7) } if (Logged out isin $1-) { msg #mp-lineage2 [6SWITCH] $gettok($6,1,40) (Account: $7) } if (Disconnected isin $4) { msg #mp-lineage2 [4EXIT] $gettok($5,1,40) (Account: $6) } if ($4 === SHOUT) { msg #mp-lineage2 7 SHOUT: $5- } if ($4 === ALL) { msg #mp-lineage2 6 ALL: $5- } if (new account isin $1-) { msg #mp-lineage2 [11CREATE] $3- } if (Created new character isin $1-) { msg #mp-lineage2 [8CHARACTER] User $8 created character $gettok($7,1,40) } } } } Its simple but works  Change the channel and nickname to trigger on. Have fun.
|
|
|
|
|
Logged
|
|
|
|
|
|
|