[bf1942] How to Start Fragalyzer?

ThLord thlord at gmx.de
Tue Jun 28 16:32:28 EDT 2005


Hi Evan,

Tnx for this, it works.

-rw----r--    1 xxx    xxx          101 Jun 28 22:29 _050628_2229_faLog.txt



Evan Bills schrieb:

>Here is a howto I found on it:
>
>------------------------------------------------------------------
>Enabling the fragalizer is fairly easy, as it's python code.
>
>just create a folder in mods/bf2/ named 'Logs'
>then open the fragalizer_log.py in python/bf2/stats then modify the following
>
>
>(on line 22):
>
>Code:
>
>def init():
>    host.registerHandler('ConsoleSendCommand', onSendCommand)
>
>to:
>Code:
>
>def init():
>    enable()
>    host.registerHandler('ConsoleSendCommand', onSendCommand)
>
>
>if you run linux like me you have to change another line to remove the
>dir formatting, (on line 49):
>Code:
>
>fileName = fileName.replace('/', '\\')
>
>place an '#' in front of it ('#' is a comment sign in python, what it
>does it ignores the line from parsing)
>
>the line should read:
>Code:
>
>#fileName = fileName.replace('/', '\\')
>
>
>That's it now you have logging.
>------------------------------------------------------------------
>
>Not sure how it works or anything, but the screenshots on: 
>http://wolfgaming.net/vb/showthread.php?t=14703  look kickass!
>
>(hope DICE/EA wont mind this)
>On 6/24/05, Forrest Thiessen <thiessen at alum.mit.edu> wrote:
>  
>
>>I tried this on the bfprog list yesterday; this list has a wider
>>readership, so I'm hoping someone here knows the answer?
>>
>>Has anyone figured out how to activate the "Fragalyzer" module?
>>
>>There's a comment in the file Battlefield 2
>>Server/python/bf2/stats/fragalyzer_log.py that says to type the
>>command:
>>  pythonHost.sendCommand falog 1
>>to turn it on. . . but when I try typing that command, I get:
>>  Error: Unauthorized method!
>>
>>If I put the command in ServerSettings.con instead, then I no
>>longer get an error, but the module still doesn't activate.
>>
>>Anybody have this figured out?
>>
>>--Forrest
>>
>>
>>
>>    
>>
>
>
>  
>




More information about the Bf1942 mailing list