Package marauroa.server.game.python


package marauroa.server.game.python
This package provides a helper implementation for a Python RP Rules Manager and a Python World storage. You need to extend in Python the classes:
  • PythonRP for the IRPRuleProcessor implementation.
  • PythonWorld for the RPWorld implementation.
Make sure you fill correctly server.ini by setting:
  • world=marauroa.server.game.python.PythonRPWorld
  • ruleprocessor=marauroa.server.game.python.PythonRPRuleProcessor
You are expected to define the file that contains your python script at server.ini in the field python_script For example:
  python_script=foo.py
  python_script_world=MyPythonRPWorld
  python_script_ruleprocessor=MyPythonRuleProcessor
 
  • Class Summary
    Class
    Description
    Barebone implementation of RPRuleProcessor that you can extends at Python.
    Python implementation of IRPRuleProcessor.
    Python implementation of RPWorld.
    This class is a abstract class for you to inherit in in Python.