Page 1 of 1

Tracks Directory? or Parsing ??

Posted: 20 Apr 2008 17:35
by 4thdesign
ooh....I like this stats thing, but....I have a problem which I am hoping someone will be able to help me with:

Image

My setting of the tracks directory is correct, so I am confused as to why its not working???

Please help or advice guys :)

Re: Tracks Directory? or Parsing ??

Posted: 20 Apr 2008 19:15
by Nini
Your tracks folder hasn't quite been set correctly ;)

Should be "C:\Program Files\DnD Networks\Onyx\lib\Nadeo\TrackmaniaServer_2008-04-16\GameData\Tracks"

Re: Tracks Directory? or Parsing ??

Posted: 20 Apr 2008 20:20
by 4thdesign
Ok....slight confusion here.

Here is my log file path:
C:\Program Files\DnD Networks\Onyx\lib\Nadeo\TrackmaniaServer_2008-04-16\Logs\GameLog.4thserver.txt

Here is my tracks directory path:
C:\Program Files\DnD Networks\Onyx\lib\Nadeo\TrackmaniaServer_2008-04-16\GameData\Tracks\Challenges\Downloaded

With these paths set as they are, i get the error as shown in my screenshot.

So....my question is this....WHY?

What have i done wrong or what am i missing here????

Re: Tracks Directory? or Parsing ??

Posted: 20 Apr 2008 20:28
by Nini
Have you tried setting the tracks directory in the stats program to C:\Program Files\DnD Networks\Onyx\lib\Nadeo\TrackmaniaServer_2008-04-16\GameData\Tracks?

Re: Tracks Directory? or Parsing ??

Posted: 20 Apr 2008 21:11
by 4thdesign
yes....have tried that...still the same. :(

Re: Tracks Directory? or Parsing ??

Posted: 21 Apr 2008 03:39
by slly
replace part of the string..

c:\program files with c:\progra~1 but the rest the same and see if that works :)

Re: Tracks Directory? or Parsing ??

Posted: 21 Apr 2008 15:44
by 4thdesign
Thanks but am still getting this error:
c:\progra~1\DnD Networks\Onyx\lib\Nadeo\TrackmaniaServer_2008-04-16\Logs\GameLog.4thserver.txt=>Error: Tracks directory not found
Any other ideas? :?

Re: Tracks Directory? or Parsing ??

Posted: 21 Apr 2008 16:08
by Assembler Maniac
4thdesign wrote:Thanks but am still getting this error:
c:\progra~1\DnD Networks\Onyx\lib\Nadeo\TrackmaniaServer_2008-04-16\Logs\GameLog.4thserver.txt=>Error: Tracks directory not found
Any other ideas? :?
Try this:
c:\progra~1\DnDNet~1\Onyx\lib\Nadeo\TrackmaniaServer_2008-04-16\Logs\GameLog.4thserver.txt

Re: Tracks Directory? or Parsing ??

Posted: 21 Apr 2008 16:39
by 4thdesign
Oh dear.....still not working :(

Anything else i can try? I really want some stats on the website.....

Re: Tracks Directory? or Parsing ??

Posted: 21 Apr 2008 16:44
by Assembler Maniac
4thdesign wrote:Oh dear.....still not working :(

Anything else i can try? I really want some stats on the website.....
Ok, back to basics:
Are the TMFServer and stats programs running on the same physical machine?
If they are, what OS?

Re: Tracks Directory? or Parsing ??

Posted: 21 Apr 2008 16:49
by 4thdesign
No.....stats program running on my own PC at home


TMF server running on a hosted dedicated server - Windows 2003 server

Re: Tracks Directory? or Parsing ??

Posted: 21 Apr 2008 17:23
by 4thdesign
Having written that down....it kinda sounds stupid !! :oops:

I cant have php running on my dedicated windows 2003 server.....therefore, i am looking for a stats system of some sort (just to display the current server and who is playing in it will be enough) to display on my website.

Running this program, I was hoping that by using the IP etc of the server, would be sufficient to pass the information via the xmlrpc port?....Is that wrong?

The locations i am using for the log file and the tracks directory are the paths on my windows 2003 server.

Can i get this to work with the setup i have or ........ is there something else out there that would enable me to do a similar thing? :thumbsup:

Re: Tracks Directory? or Parsing ??

Posted: 21 Apr 2008 17:38
by Assembler Maniac
Since the file you're trying to parse is on a totally different machine, there's no easy way to do it.

Someone else may have a suggestion, but I've never tried to do it and wouldn't have a clue where to start.

Re: Tracks Directory? or Parsing ??

Posted: 21 Apr 2008 21:57
by slly
my suggestion would be to somehow send the log file(s) from your game server to your web server and run TMOS from there. Maybe a shell script that runs the ftp get to grab the file, then fires off the tmos_parser.php :)