PDA

View Full Version : LFSW tRaCkEr


DU-racer
25th February 2008, 19:37
Please racers can somebody told me how can i put tracker on my website.I dont now anything about tracker can somebody help me put tracker on my site

vane
3rd April 2008, 00:22
what do you mean by tracker?

haelje
3rd April 2008, 10:01
i hope to present a package for the community which should easy allow to put a tracker (using the HoTTracker) and some other lfsw-stats on a homepage. we are using it now at our homepage, i do some adoption-work for OWRL and after that i need to clean up some things and then posting it ;)
a lot of people will need some kind of tracker, because lfs-tracker.de will be closed and i did some work to extend the HoTTracker by additional data not cached by it.
if you wanna take a try with tracking, i suggest you to use the HoTTracker (http://hot.german-gamers-club.de/Files/HoTTracker.zip)

DU-racer
12th April 2008, 21:31
i hope to present a package for the community which should easy allow to put a tracker (using the HoTTracker) and some other lfsw-stats on a homepage. we are using it now at our homepage, i do some adoption-work for OWRL and after that i need to clean up some things and then posting it ;)
a lot of people will need some kind of tracker, because lfs-tracker.de will be closed and i did some work to extend the HoTTracker by additional data not cached by it.
if you wanna take a try with tracking, i suggest you to use the HoTTracker (http://hot.german-gamers-club.de/Files/HoTTracker.zip)

can you explain how can i use him

haelje
13th April 2008, 22:07
did u red the manual, there is a very good pdf included, which covers all important aspects of the configuration. i also can try to help with further questions ;)

DU-racer
14th April 2008, 11:29
did u red the manual, there is a very good pdf included, which covers all important aspects of the configuration. i also can try to help with further questions ;)

yes i read but my English is not perfect can you make it and put here how can i see

haelje
14th April 2008, 16:59
mhhh ... dont understand what u wanna know ;) we use it on our team-homepage atm: http://1stbfa.raygina.de/tracker.html

DU-racer
14th April 2008, 19:00
mhhh ... dont understand what u wanna know ;) we use it on our team-homepage atm: http://1stbfa.raygina.de/tracker.html
thanks but now how can i put on left side to chose what track and what car

DU-racer
4th May 2008, 18:39
Is it possible make online tracker in HTML

fireb0llch
3rd June 2008, 16:43
Hi there, Ive got one question: This Hottracker does not include the FBM & the new South City track.

How can I add / replace it?

haelje
3rd June 2008, 19:10
i did an extension of the HoTTracker, which includes that and some other stuff. the problem is: it is still under development and i didn't do any documentation of the extended part and the extended db-tables. but you can take a look at the svn-snapshot and can. if any problems, ask me ;)

svn-repository: http://svn.raygina.de/repos/haelje/PHP/LFSWStats/

hopyfully i will offer that well documented to the community as package, which extends the good old HoTTracker-package. you can take a look in the corrosponding files of the original package end then you should see the part you must extend for FBM and SO6 (it's in /includes/options.php at the end of the file)

fireb0llch
5th June 2008, 15:50
Thank you very much! ;)

DU-racer
5th June 2008, 18:50
IS it possible make tracker only in HTML

haelje
5th June 2008, 22:51
you mean without using php or a other language ? i think this would not really be possible, because you only can recieve the data from lfsworld in a kind which is not really usable directly, because you get data and not html-formed outputs. so u need to use something like php, java or other programming languages.

DU-racer
8th June 2008, 18:49
How can i make tracker with HTML and JAVA

the_angry_angel
8th June 2008, 21:51
I think you might be confusing javascript and java. However, on the off chance you did actually mean Java, you need to write some Java to query LFSW via the pubstats. This thread (http://www.lfsforum.net/showthread.php?t=14480) details the various formats that LFSW pubstats can output. You then write java to parse this.

It cannot be done in pure javascript without some server side stuff behind it. Either someone will need to write one for you and host it, or you'll need to get access to a host where you can run server side scripting. Or you'll have to rely on the buttons provided by the LFS team, which show whether or not a user is online, and can be integrated straight into a static HTML based page.

However, if you don't understand HTML, even the basics of it, you're going to struggle and I'd suggest getting someone to help you.

Dygear
9th June 2008, 00:50
JavaScript can't parse binary data?
Wait, that's not the issue, it's that JavaScript can't query another site outside of it's domain.

the_angry_angel
9th June 2008, 08:44
Wait, that's not the issue, it's that JavaScript can't query another site outside of it's domain.Thank you for expanding on that for me Dygear.

Dygear
10th June 2008, 03:02
Thank you for expanding on that for me Dygear.

Yeah, I added that because I forgot it myself.

Krammeh
11th June 2008, 20:34
You could always create a PHP file called LFSWParse.php (output from the required request called by javascript via a _GET variable :P, and then get the javascript to parse that.

the_angry_angel
11th June 2008, 20:35
It cannot be done in pure javascript without some server side stuff behind it.Ahem :)

Krammeh
11th June 2008, 21:53
Ahem :)

I really should stop scan reading things :D

the_angry_angel
11th June 2008, 22:21
I really should stop scan reading things :DHehe, I keep doing the same thing today.. It must the weather ;)

haelje
25th June 2008, 09:02
for interested people: i started a trac-project-page for the tracker-extension i did with the HoTTracker-package. it's far away from a release (documentation of the install procedure is the most important part before going to a alpha version), but if anyone is interested to help developing that, take a look ;) if someone wants to be in the developer-group, just PM or mail me.

http://liveforspeed.codemacher.de/trac/LFSWFramework/

soucy
15th August 2008, 17:23
Hey,

I'm trying to set up the HoTTracker. After all i've done the update performs but no data is written into the mysql db :/

The log says:

Starting update at August 15, 2008, 7:31 pm.
Fetching all WRs.
Fetching all PBs from racer 'soucy'.
Fetching all HLs from racer 'soucy'.
Update finished at August 15, 2008, 7:32 pm.
Total time needed was 29 seconds.

But still no data written into my mysql db and no pb's visible on the tracker.

Any thoughts where the problem may be?

soucy

haelje
17th August 2008, 18:29
if you took the original package, the first problem could be, that there are no write-rights for the webserver in the directory /data and the files inside. the tracker writes back data to that directory.

but if you say, that there is no content in the db ... mhhh ... atm i've no idea :shrug:

[EDIT] ah, the biggest problem could be, that you need to adapt the lfsworld-request to the new protocol-version. i think the original package uses version 1.2. of pubstat, but atm there is 1.4 the current version. so the content changes and i dont know, if the tracker with the old version works correct, because of changes.

soucy
18th August 2008, 09:53
No write-rights can't be the problem. I'm currently testing the HoTTracker on my computer with XAMPP. And it is also able to modify the lastupdate.dat file so i think that can't be the problem.

Because i havn't worked with LFS Pubstats yet, is it very difficult to adapt the version 1.2 to the new version 1.4?

And which files are affected? Only the lfsworld.php ?

Best regards,
soucy

Dygear
18th August 2008, 11:49
If it's based on PHP, just hook into the LFSWorld SDK.

haelje
18th August 2008, 12:20
If it's based on PHP, just hook into the LFSWorld SDK.
this is the plan with the version i try to develop from the HoTTracker. i did the adjustments to work with the new pubstat-version, but i'm not finished with documentation, so it's easy usable. in a further version all direct accesses to pubstat from the HoTTracker-base should be substituted to LFSWorldSDK, which is a very good package :thumb: the time is rare atm, but in a upper post there is the link to the track of the project and you can checkout the current trunk-version with svn and give it a try. you also can you the trac to do bug reports and so on, so perhaps we should start to use it ;)

Dygear
18th August 2008, 14:16
Ok, I'll give support where I can. If you need any help with anything just shoot me a PM and I'll see what I can do.

Deejayyaj
21st August 2008, 06:06
@ haelje (http://www.lfsforum.net/member.php?u=110396):
I have a question...
Where do i put the ID-Key?
is it in this line of lfsworld.php?

209 // ID-Key is needed since pubstats 1.3
210 if ($this->id_key == "") return false;

haelje
21st August 2008, 06:38
@ haelje (http://www.lfsforum.net/member.php?u=110396):
I have a question...
Where do i put the ID-Key?
is it in this line of lfsworld.php?
take a look to the /includes/options.php-file, there are the variables you need to define.

Deejayyaj
21st August 2008, 07:06
Ok I saw it now after reading the PDF...

But what i get after uploading it to a server host... the site goes like this. (see attachments pls.)

I got PHP error:

(Warning: fopen(/home/a2941323/public_html/data/timestamp.dat) [function.fopen]: failed to open stream: Permission denied in /home/a2941323/public_html/includes/lfsworld.php on line 200)

am I doin this right?

One more question: Do i need to start the home page as Index.php or is it ok to use a simple Index.html and dynamically attach the tracker index.php into Index.html?

haelje
21st August 2008, 09:30
to the last question: i think that should work. important is, that the execution of the php-scripts works correctly, so i think you can also embedd it into a html.

the fopen-error look like you didn't set the variable @ define(URL,""); correctly. there you should enter the full base-url, starting with http:// to access the file on your server.

sid6.8
22nd August 2008, 10:46
Ok I saw it now after reading the PDF...

But what i get after uploading it to a server host... the site goes like this. (see attachments pls.)

I got PHP error:

(Warning: fopen(/home/a2941323/public_html/data/timestamp.dat) [function.fopen]: failed to open stream: Permission denied in /home/a2941323/public_html/includes/lfsworld.php on line 200)




I´ve recieve this message too. I've ported the Tracker to another webspace and everything is fine. It looks like that your Webhoster didnt support fopen include from external sites. I'm not sure, but u should have to contakt your Webhoster, they should edit your php.ini file...
Let me know, what happend, plz.



I've a question too...
Everything is fine with the Tracker on our Site, but is it possibel to display the splits from lfswold in the tracker?
In lfsworld the splittme is visible. I've edited the options.php with my ID_Key.
THX for your answer!

haelje
22nd August 2008, 11:09
it's not possible without changes with the original HoTTracker because it uses pubstat 1.2 and the splits for pb's is in pubstat 1.4. so you need to edit the parts (the db-structures need to be adopted too), or you give the new package a try, but without help atm it's hardly possible. i'll try to finish the install-scripts this month. you can download the current working-version here: http://liveforspeed.codemacher.de/trac/LFSWFramework/changeset/4/trunk?old_path=%2F&format=zip

sid6.8
22nd August 2008, 14:13
ok!
2nd question:
The Memberstaus displays a German and an English Table... I want to display only the German one... What i have to do?

haelje
23rd August 2008, 10:37
ok!
2nd question:
The Memberstaus displays a German and an English Table... I want to display only the German one... What i have to do?
atm i dont know, what you mean with the english and the german tables, perhaps you can post a screenshot ?

HorsePower
23rd August 2008, 12:08
Wow, nice to see that my HoT Tracker is still alive (somehow). :)

Unfortunately I really did nothing with it the last year(s). And I really don't have the time to support it anymore.

I would really be glad if someone could create a similar "tool" maybe based on the LFS World SDK. I didn't use the SDK because I just wanted to play around with LFS World a little bit. I guess the SDK was also not really known to me back then.

Today, I would use of course.

Anyway, if someone out there creates a user-friendly, easy-to-install, PHP-based Team Tracker, I would appreciate that (and maybe also use it myself).


Maybe the HoT Tracker is still good as an example for learning. :)

EDIT: @haelje: I now remember we shared PN's. Thank you for further developing and supporting the old tracker. (I took a quick look at the one at your teams website). If you manage to create an install script for a new version of the tracker, I would like to give it a shot on our new homepage.

sid6.8
25th August 2008, 11:53
atm i dont know, what you mean with the english and the german tables, perhaps you can post a screenshot ?

Here is the screenshot. Plz have a look.

http://ollisupertyp.ol.ohost.de/share/lfs/Unbenannt.JPG

Another Question ;)
Why the Tracker didnt update automaticly?
I must always force a manuell updaten via trackercontrol... I am not premium, but my is insert into the options.php...

haelje
26th August 2008, 17:27
i tried to push it to the alpha-state, but the time was rare this weekend (or the work too much, it's a point of view ;) ). i cleaned up a lot and did a avery important step to hold the users and teams in the db. i also extended the readme's and install-guide, but i'm not completly ready yet. if you wanna take a deeper look, visit the project homepage, there you find descriptions where and how to download the pre-alpha.
please report the bugs in the ticket-system, it's easier to handle for me and the tracking of problems works better imo.

http://liveforspeed.codemacher.de/trac/LFSWFramework/

EDIT: all the update issues are not checked completely, so in some combinations the update goes wrong.

haelje
25th September 2008, 17:53
this week there was some more work in specializing the tracker for the owrl. so if you are interested, take a look here (http://www.owrl.de/lfswstats/owrl.php)

sid6.8
29th September 2008, 10:47
Sr, for this question, but how can i dl the files for a test on my webserver...?

haelje
29th September 2008, 14:31
there are 2 ways you can do it:
1. you use some svn-client (http://tortoisesvn.net/downloads) and then you use the following url to check-out the project: https://liveforspeed.codemacher.de/svn/LFSWFramework/
2. or you go to the homepage (http://liveforspeed.codemacher.de/trac/LFSWFramework/browser/trunk) there is a link to download all as zip archive. i think the most important info you also find on the beginning of the install-guide on the page.

but atm i dont know exactly, if the "normal" version will run, i did a lot of changes according the owrl and did not check all side-effects on the current standard tracker. the goal is to port the last changes to the standard tracker, so it also uses the new features.