The online racing simulator
How to retrieve LFS World stats?
(447 posts, started , go to first unread)
Quote from dawesdust_12 :\u*** format is the standard (and correct AFAIK) way to encode Unicode characters in JSON and Javascript.

Ok, but those strings we get are not unicode. They have still same byte-to-byte values as encoded inside LFS, but those bytes get represented with unicode escapes.
can you guys help me cant understand this
yes we can
?action=WR has something to improve.

The use of numbers instead of track names seams unreasoned. What will happen when we get 11 tracks in the game?

With commonly used BL1[R] system this problem goes away (atleast we can have 4294967296 tracks instead of just 10 Smile ). The drawback is that it will make the response 619 bytes bigger (but with time, as new tracks get released, the letter-system will actually become smaller, if you have to add another digit for other tracks for the old system).

But the most important gain is that clients wouldn't have to dive into their applications' implementations whenever there is new track out there. This is pretty big.
Quote from vitaly_m :What will happen when we get 11 tracks in the game?

Ehhh this just happened and it got an extra number? 700=RO1 and 7100=RO11?
Quote from cargame.nl :Ehhh this just happened and it got an extra number? 700=RO1 and 7100=RO11?

Yes, the current format scales even worse than I thought!
I have a small Question.
How i can Display the Online Status and the Current/Max Users of a Server?

With www.lfsworld.net/pubstat/get_stat2.php?version=1.5&idk=<myIDkey>&action=host&hostname=^0p^7Rac^1i^7ng ^0S3 i get "no output"
Oh ok but now my Browser want to Download the get_stat2.php

Edit:
The Problem is solved. Now all works!
Hm yeah I guess you should be able to get your own stats, even if you've chosen to hide them from others.

Give it another go please. Should be fixed.
Thanks, works! Smile
guys, i need serious help not for free
i need to include this stats, and put it to standings table on wordpress site. If anyone can help me - please contact me Smile
ad2. depends on looking side but yeah, is terrible is some cases.

ad1. if you're good, can u help manage some work on site ?
PubStats hosts not working in mates@track NG
Hi there!

1)
I got a strange behavior when using my tool mates@track NG. Someone told me that the server list can not be loaded. I tried it manually by using the browser which worked fine. But inside the tool it isn't working anymore. It seems that it stops working after the hacking attack (around end of March 2018 and beginning of April 2018). Are there some significant changes?

I tried v 1.3 and 1.5. The tool wasn't change at all. It just stopped working when trying to receive the hosts list.

2)
What are the codes for RO tracks?
Are those right (copy & paste from config file)
[700]
Name=ISSC
[701]
Name=ISSC rev.
[710]
Name=National
[711]
Name=National rev.
[720]
Name=Oval
[721]
Name=Oval rev.
[730]
Name=ISSC Long
[731]
Name=ISSC Long rev.
[740]
Name=Lake
[741]
Name=Lake rev.
[750]
Name=Handling
[751]
Name=Handling rev.
[760]
Name=International
[761]
Name=International rev.
[770]
Name=Historic
[771]
Name=Historic rev.
[780]
Name=Historic Short
[781]
Name=Historic Short rev.
[790]
Name=International Long
[791]
Name=International Long rev.
[7100]
Name=Sportscar
[7101]
Name=Sportscar rev.

Cheers,
Holger
S3 dont have reverse
Oh...I see. With S3 I suppose you mean Rockingham. But the numbering is correct?

And what about the data structure of the result of the host query (default format)
Everything was working with 1.3 and 1.5 before the hacking problem. Has something changed?
I Believe numbering is correct at least the normal tracks (not reversed).

For airio has changed nothing all still working.
It seems like after the master server's outage from yesterday, the API only returns the text "no output" Schwitz

Edit: Only seems to be the case querying for "hosts", others work.
Fixed. Thanks for the report.
Looks like the same error from last week is repeating. Started around 5am.

How to retrieve LFS World stats?
(447 posts, started )
FGED GREDG RDFGDR GSFDG