Bug #1490

Updated by sfb almost 3 years ago

When you issue a _createNamedItemInBag_ command when your EGS is running in debug mode it encounters a full stop with the following logging:

<pre>
2012/09/12 17:29:20 213.166.170.12/EGS-138 WRN b715a6d0 log_item_gen.cpp 1221 : /home/mattr/sandbox/ryzom/code/ryzom/server/src/entities_game_service/game_item_manager/game_item.cpp(1210) : Missing log context for log 'Item'
2012/09/12 17:29:20 213.166.170.12/EGS-138 AST b715a6d0 log_item_gen.cpp 1221 : STOP
</pre>

It looks like this fires normally but when in debug mode the STOP macro hits DEBUG_STOP which actually halts the EGS. The issue is that the 'Item' types in _game_item.cpp_ have no context declared in the source file or even defined in the _log_item_gen.h/cpp_ files in _server_share_. I think the solution is to add this to the top of the _game_item.cpp_ file:

<pre>
TLogNoContext_Item noContext;
</pre>

Back