Commit Graph

49 Commits

Author SHA1 Message Date
Stefan Hacker
108bcda5f0 Source plugin now applies ACLs to created channels 2013-03-23 17:16:45 +01:00
Stefan Hacker
bd73f2d9d6 Source plugin now handles groups 2013-03-23 17:16:45 +01:00
Stefan Hacker
5ef6b5f6df Remove outdated sketches.txt and add run instructions to README 2013-03-23 17:16:45 +01:00
Stefan Hacker
e02206b022 Source plugin ini diverged from py defaults. 2013-03-23 17:16:44 +01:00
Stefan Hacker
0efae58454 Source plugin didn't handle users moving on them own correctly 2013-03-23 17:16:44 +01:00
Stefan Hacker
e09ba4fb93 Add capability to delete unused channels to source plugin 2013-03-23 17:16:44 +01:00
Stefan Hacker
deb9aba022 Add a README 2013-03-23 17:16:44 +01:00
Stefan Hacker
4b61aa2fec Add source module to mumo
The source module is inspired by the bf2 module and is supposed to allow on-the-fly context/identity based player management for source engine based games. Currently supported games are TF2, DOD:S, CStrike:Source and HL2DM.

This commit adds the basic structure with unit tests for many of the components. For now only dynamic channel creation and player movement is implemented.

Left todo are dynamic ACL/Group management, unused channel deletion, server channel re-use and, most importantly, actual testing beyond the small unit test coverage.
2013-03-23 17:16:44 +01:00
Stefan Hacker
0ac8b542a9 Make non-module folders also look like modules to improve handling in PyDev 2013-03-23 17:16:44 +01:00
Stefan Hacker
911a904131 Sink log output in unit tests 2013-03-23 17:16:44 +01:00
Stefan Hacker
74674509cd Use RawConfigParser so we can load python style template syntax from configs 2013-03-23 17:16:44 +01:00
Stefan Hacker
4a42e01f36 Add ability to check for config keys using 'in' 2013-03-23 17:16:44 +01:00
Stefan Hacker
1aac7ac6df Improve mumo behavior with platforms in which Ice.getSliceDir behaves unexpected 2013-03-23 17:16:31 +01:00
Stefan Hacker
7c21c98824 Enable mumo to retrieve slice file from server on startup and make that the default behavior 2012-10-31 06:43:59 +01:00
Michael Olson
fff76b5cc3 Example init script for mumo 2012-08-25 18:25:31 -07:00
Michael Olson
288a652d49 Implement pid file for --daemon 2012-08-25 18:08:37 -07:00
Stefan Hacker
c888717eb8 Fix misleading error message 2011-04-16 05:25:59 +02:00
Stefan Hacker
9119356227 Extend seen module to be aware of online users and make response behavior more natural 2011-04-09 04:53:57 +02:00
Stefan Hacker
ab27fb960a Add new text message callback stub to mumo and modules. Add seen module to query for last time a given user was active. 2011-04-09 03:53:11 +02:00
Stefan Hacker
ec4ab3da80 Revert broken move on unlink insurance in bf2 module 2011-04-07 04:07:41 +02:00
David Bittencourt
0b4a312072 Updated mbf2man tool to create channels with better names. 2011-04-06 17:20:19 -03:00
Stefan Hacker
e2e7dfad4e bf2 module: Add '--linkteams' parameter to mbf2man tool that makes linking team channels option. Convert all squad names from Nato alphabet to 'first', 'second', 'third',... squad.
Note: This change has not yet been tested in any way and might not even execute
2011-03-30 18:02:51 +02:00
Stefan Hacker
0fcb261ec4 Add easy way of negating ipport_filter regex to bf2 module 2011-01-06 02:32:35 +01:00
Stefan Hacker
e48e90e037 Extend documentation in default bf2.ini 2010-12-31 17:46:10 +01:00
Stefan Hacker
9c4e28c261 Adjust some more ACLs in bf2 module 2010-12-31 17:04:59 +01:00
Stefan Hacker
60081ec154 Update bf2.py script for a more viable ACL structure 2010-12-31 15:05:18 +01:00
Stefan Hacker
852549c44c Update config module to provide dict like access 2010-12-31 15:04:34 +01:00
Stefan Hacker
8cd1d39fe7 Add some legacy hacks for Ice 3.2 to bf2.py. It seems like it will never get the whole context stuff since it seems to truncate it at the first \0 it finds. 2010-12-27 19:20:53 +01:00
Stefan Hacker
79cae2a2d5 Replace several strings left over in reused sourcecode and warn when using unimplemented context callbacks 2010-12-27 17:35:45 +01:00
Stefan Hacker
54eaba49d8 Fix refactoring error 2010-12-27 17:31:19 +01:00
Stefan Hacker
4753c96777 Try to make bf2.py python 2.5 compatible 2010-12-27 17:17:12 +01:00
Stefan Hacker
e8d8b7d3dc Fix typo in mbf2man.py 2010-12-27 17:06:28 +01:00
Stefan Hacker
6cb5bfd2b7 Try updating mbf2man to work with ice 3.2 2010-12-27 17:03:42 +01:00
Stefan Hacker
793fb121fe Try to make mumo compatible to python 2.5 and Ice 3.2 as found on debian lenny 2010-12-27 16:39:48 +01:00
Stefan Hacker
b25b446f84 Modify idlemove module to be able to chain thresholds for moving and add source channel filters 2010-12-27 02:42:23 +01:00
Stefan Hacker
bf006394da Update bf2 modules to use xml instead of xml. Improve structure a bit. Improve log output. Fix some issues. 2010-12-24 15:37:55 +01:00
Stefan Hacker
f21126ffdb Fix server specific session state saving in bf2 module 2010-12-24 14:07:50 +01:00
Stefan Hacker
6ed695b5c5 Add missing section to mumo.ini and set a default for the Treename in mbf2man.py 2010-12-24 02:04:06 +01:00
Stefan Hacker
dcc436b2d3 Fix a few bugs in bf2 module and add mbf2man.py for easy creation of channel/acl structures for the bf2 module 2010-12-24 00:55:56 +01:00
Stefan Hacker
9cd4991e63 Modify bf2 module to be able to assign group memberships relative to a game specific channel 2010-12-23 09:07:12 +01:00
Stefan Hacker
90bd40faed Add utmost uberhakish bf2.py module for some testing. Needs lots and lots of cleanup later ;-) 2010-12-23 07:58:16 +01:00
Stefan Hacker
76dea5d80c Add idlemove module for moving/muting/deafening idle players. 2010-12-20 20:19:44 +01:00
Stefan Hacker
a71cf75a83 Added onjoin module for moving players on join as the first mumo plugin. Numerous fixes/changes in the underlying stuff. Moved sample configuration files from modules-enabled to modules-available. 2010-12-20 20:19:09 +01:00
Stefan Hacker
41e1e75211 Add commaSeperatedIntegers/commaSeperatedStrings validator functions to configuration. Rename testsuite collection test.py to testsuite.py to prevent name collision with test module test.py 2010-12-20 14:20:44 +01:00
Stefan Hacker
4e3aaea8d5 Expand config module for arbitrary section reading 2010-12-20 02:46:04 +01:00
Stefan Hacker
ad862225fa Add mumo.py with Ice connectivity. For now no context support. 2010-12-20 01:11:55 +01:00
Stefan Hacker
38f7c57d60 Make mumo_manager.py usable. Extend test coverage (still very patchy) 2010-12-18 03:18:46 +01:00
Stefan Hacker
e35452d8b3 Make MumoManager testable. Add first basic tests to test case. MumoManager is not yet completed. 2010-12-03 06:50:00 +01:00
Stefan Hacker
30738329e1 Nearly finished basic mumo application. config, worker and mumo_module have test coverage. mumo_manager is not yet covered and most likely not right yet. 2010-11-20 03:36:50 +01:00