Changeset 112
- Timestamp:
- 10/14/07 16:24:27 (3 years ago)
- Location:
- adventure
- Files:
-
- 2 modified
-
adventuremuc.py (modified) (2 diffs)
-
world.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adventure/adventuremuc.py
r111 r112 2 2 # -*- coding: utf-8 -*- 3 3 4 from xmpp import Component, JID, NS_COMPONENT_ 14 from xmpp import Component, JID, NS_COMPONENT_ACCEPT 5 5 from sys import argv 6 6 from world import World … … 8 8 class AdventureMUC(Component): 9 9 def __init__(self, jid, password, server, port=5347): 10 self.Namespace = NS_COMPONENT_ 111 self.DBG = ' '10 self.Namespace = NS_COMPONENT_ACCEPT 11 self.DBG = 'component' 12 12 Component.__init__(self, server=server, port=port, debug=[]) 13 13 self.worlds = {} -
adventure/world.py
r107 r112 13 13 self.players = dict() 14 14 15 doc = xml_parse(filename) .documentElement15 doc = xml_parse(filename) 16 16 doc_getAttribute = doc.documentElement.getAttribute 17 17 self.node = doc.documentElement.getAttribute('node')
