[bf1942] ConsoleSendCommand event

Martin Steiger martin at steigi.com
Sun Jun 26 13:16:53 EDT 2005


> In endofround.py, they have
> host.registerHandler('ConsoleSendCommand', onSendCommand)
>
> onSendCommand has a debug print in it which never gets fired no matter
> what you type into the server console. Anyone shed any light on what
> you need to do to fire it off?

Afaik, prints in the python scripts are "real debug prints", means, you
never see them (since you have no console when you started the game)... If
you redirect the output to a logfile instead of STDOUR or STDERR, you
should be fine... See the BF2-Wiki, section "BF2 debugging"...





More information about the Bf1942 mailing list