Commit Graph

58 Commits

Author SHA1 Message Date
Brendan Corcoran a47974f0df Added explicit setting of Ice EncodingVersion to 1.0 to make it compatible with Ice 3.5.x 2014-03-12 18:50:04 -04:00
Stefan Hacker 21ab4fab27 Correct long game names in source plugin 2013-06-01 23:07:08 +02:00
Stefan Hacker a8707696a0 Fix user disconnects from source plugin
- transitionGoneUser tried to remove disconnected users
  from groups on the server. Now only done for users still
  connected.
2013-04-05 14:42:39 +02:00
Stefan Hacker 2348d1a655 Invalid game regex in source.py.
- Was hidden by correct value in source.ini
2013-03-25 17:39:56 +01:00
Stefan Hacker fe8e8d7c24 Make source module python 2.6 compatible 2013-03-24 14:39:13 +01:00
Stefan Hacker b3a7219cb8 Source plugin now remembers channel names of controlled channels
- validateChannelDB and channel state changes now maintain
  mappings database
- Name mappings are used during channel creation
2013-03-24 14:39:13 +01:00
Stefan Hacker 0782eace33 Introduce constraints and name mapping to source plugin database.
- Using default values now instead of NULL to signal empty field
  because NULL values are considered distinct in the context of
  UNIQUE table constraints in sqlite
- Introduced new table for mappings from sid, game, server and team
  to channel name i preparation for new functionality
- Updated and expanded unit test
2013-03-24 14:39:13 +01:00
Stefan Hacker 28195110c0 Expand unit test coverage for source plugin.
- Added testValidateChannelDB
- Fixed channel validation not considering deleted server
2013-03-23 17:16:45 +01:00
Stefan Hacker 23ce059c98 Basic functionality and test coverage for source plugin 2013-03-23 17:16:45 +01:00
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