An IRC NS2 bot to interface with NS2 game servers with Python.

antd00dantd00d Join Date: 2013-03-04 Member: 183665Members
edited April 2014 in Modding
Hey NS2 fans.

I hope this the approriate forum since it is created for NS2 game server. My developer and NS2 friend, Chainey, made an IRC bot that interfaces with NS2 game servers and their administrators. However, it is a little outdated (still works with the latest public build) and he has no time to update and fix so he released it to the public for people to fork and share. Go to https://github.com/jeremyblow/NS2 ... PLEASE DO NOT CONTACT HIM WITH SUPPORT AND ISSUES. Please read the provided sources, documents, fork on your own, code, and share with everyone!

Examples of commands of a NS2 bot in IRC with a ns2.ross154.net game server (Debian):
...
[04:05pm] <Ant> `help
04:05PM <Roberto> about, add_reserved_slot, addbot, admins, autobalance, ban,
bans,
04:05PM <Roberto> callback_prefix, changemap, chat_notify, cheats,
commander_notify,
04:05PM <Roberto> cyclemap, data_path, death_notify, eject, frame_rate,
geoip,
04:05PM <Roberto> geoip_file, help, history_filename, in_game_commands,
in_game_prefix,
04:05PM <Roberto> joins_quits_notify, kick, last, last_update, logging, map,
04:05PM <Roberto> map_available_notify, map_change_notify, maps, mod_notify,
mods,
04:05PM <Roberto> motd, motd_delay, password, ping, player_history,
player_list,
04:05PM <Roberto> players, players_online, poll_interval, polling, port,
psay,
04:05PM <Roberto> randomall, removebot, reservations, reset, rrall, say,
seen,
04:05PM <Roberto> send_motd, server, server_name, slay, summary, switchteam,
tsay,
04:05PM <Roberto> unban, uptime, username. Type help <command> for more info.
...
[04:09pm] <Ant> `
04:09PM <Roberto> summary: Ross154: Hot n00b on n00b action! 0 players
(M0/A0/RR0) on ns2_refinery
[04:09pm] <Ant> `seen AntDudette
04:09PM <Roberto> AntDudette was last seen quitting at 2014-04-05 11:51.
...

Enjoy and have fun. NS2 rocks. :)

Comments

  • SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts
    So this basically does what webadmin already can, but in a non-graphical way?
  • antd00dantd00d Join Date: 2013-03-04 Member: 183665Members
    edited April 2014
    SamusDroid: Yes, you are correct. Some of us still prefer the old fashion IRC. This is just another method. Who needs graphics to admin? ;)

    Chainey said "it's a library, so you can use it with IRC, or your custom app or whatever". So, you can use it whatever method.
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    Do this mean people can admin servers without opening web-admin and lagging all the players out?

    If so, this is sorely needed!! :D
  • antd00dantd00d Join Date: 2013-03-04 Member: 183665Members
    Soul_Rider wrote: »
    Do this mean people can admin servers without opening web-admin and lagging all the players out?

    If so, this is sorely needed!! :D
    Haha, I guess you could. Or just (down/up)load something on that pipe. ;)
Sign In or Register to comment.