[bf1942] How to Start Fragalyzer?

Atomm Nihilo - Gamers Radio atomm at gamersradio.com
Tue Jun 28 19:57:46 EDT 2005


Will the tools DICE showed be available to us to analyze the data? Is
anyone working on a web based solution to analyze this data?

Thanks,

-- 
Atomm Nihilo
Head Lunatic
GamersRadio.com

> Thanks; you can certainly "short circuit" the code to force Fragalyzer
> to run, but the real question is, how are you supposed to do it?
> 
> You're supposed to be able to give the command
>      pythonHost.sendCommand falog 1
> but I haven't heard of anyone getting this to work.  This
> "pythonHost.sendCommand" looks like something that would be really
> useful--if only we could get it to work correctly.
> 
> --Forrest (aka "Woody")
> 
> 
> 
> >
> > 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