comparison orpg/networking/mplay_server.py @ 114:bd6ca89e4cbb alpha

Traipse Alpha 'OpenRPG' {091011-00} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of the user. Update Summary: Adds Bookmarks (Alpha) with cool Smiley Star and Plus Symbol images! Changes made to the map for increased portability. SnowDog has changes planned in Core, though. Added an initial push to the BCG. Not much to see, just shows off how it is re-writing Main code. Fix to remote admin commands Minor fix to texted based server, works in /System/ folder Some Core changes to gametree to correctly disply Pretty Print, thanks David! Fix to Splitter Nodes not being created. Added images to Plugin Control panel for Autostart feature Fix to massive amounts of images loading; from Core {091011} 00: fix to gsclient so with_statement imports Added 'boot' command to remote admin Prep work in Pass tool for remote admin rankings and different passwords, ei, Server, Admin, Moderator, etc.
author sirebral
date Sun, 11 Oct 2009 16:38:54 -0500
parents 5eac6e0308df
children 9314d63c0941
comparison
equal deleted inserted replaced
113:f91b70c46908 114:bd6ca89e4cbb
2333 elif cmd == "ban": 2333 elif cmd == "ban":
2334 id = xml_dom.getAttribute("bid") 2334 id = xml_dom.getAttribute("bid")
2335 msg = "<msg to='" + id + "' from='0' group_id='" + gid + "'> Banned!" 2335 msg = "<msg to='" + id + "' from='0' group_id='" + gid + "'> Banned!"
2336 self.players[pid].outbox.put(msg) 2336 self.players[pid].outbox.put(msg)
2337 self.admin_ban(id, "") 2337 self.admin_ban(id, "")
2338 ### Alpha ### and untested
2339 elif cmd == "boot":
2340 id = xml_dom.getAttribute("bid")
2341 msg = "<msg to='" + id + "' from='0' group_id='" + gid + "'> Booted!"
2342 self.players[pid].outbox.put(msg)
2343 self.admin_kick(id, "")
2344 #############
2338 elif cmd == "unban": 2345 elif cmd == "unban":
2339 ip = xml_dom.getAttribute("ip") 2346 ip = xml_dom.getAttribute("ip")
2340 self.admin_unban(ip) 2347 self.admin_unban(ip)
2341 msg = "<msg to='" + pid + "' from='0' group_id='" + gid + "'> Unbaned: " + str(ip) 2348 msg = "<msg to='" + pid + "' from='0' group_id='" + gid + "'> Unbaned: " + str(ip)
2342 self.players[pid].outbox.put(msg) 2349 self.players[pid].outbox.put(msg)