InitialStepsWithMarauroa: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin |
imported>MiguelAngelBlanchLardin |
||
| Line 149: | Line 149: | ||
''NOTE'': On Linux use : instead of ; to define the classpath. |
''NOTE'': On Linux use : instead of ; to define the classpath. |
||
''NOTE'': You may change what it is logged by default, so you need to edit the <game.ini> configuration file and modify the options |
|||
* server_logs_allowed |
|||
* server_logs_rejected |
|||
Allowed is a semicolon(;) separated list of strings that defines what is allowed to be logged only if it starts with any of the strings allowed contains. If allows contains a * it will log everything. For example: |
|||
<pre> |
|||
server_logs_allowed=Stendhal |
|||
</pre> |
|||
It will log everything whose location begins with Stendhal. In Marauroa every log has a location that generated the logged event and a level of that event, as well as a extra description of the event. For Example: |
|||
<pre> |
|||
2005-04-15 22:20:02.843 (7) > StendhalRPZone::populate |
|||
2005-04-15 22:20:02.859 (7) D StendhalRPZone::populate Adding SIGN: RPObject with Attributes of Class(sign): [text=Talk to Nishiya to buy a sheep!.|He will offer you a nice price.][zoneid=village][type=sign][y=27.0][x=26.0][id=1] and RPSlots |
|||
2005-04-15 22:20:02.859 (7) D StendhalRPZone::populate Adding NPC seller: RPObject with Attributes of Class(sellernpc): [zoneid=village][dx=0][type=sellernpc][y=28.0][dy=0][name=Nishiya][id=2][x=29.0] and RPSlots |
|||
</pre> |
|||
On a similar way works Rejected that is a semicolon(;) separated list of strings that simply reject for being logged everything that starts by any of the strings rejected contains. For example: |
|||
<pre> |
|||
server_logs_rejected=StendhalRPRuleProcessor::endTurn;StendhalRPRuleProcessor::beginTurn |
|||
</pre> |
|||
Make sure that you have the MySQL running too. Marauroa will build all the needed table structure for itself. |
Make sure that you have the MySQL running too. Marauroa will build all the needed table structure for itself. |
||