The online racing simulator
?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.
Looks like the same error from last week is repeating. Started around 5am.
Something seems broken again Schwitz

The "no output" error, as in post #445, started again last night and is currently ongoing.

Thanks in advance
I don't wanna be a pain but it's broken again Schwitz
Right, so I finally figured out what's the cause and that means I was able to fix this now. Or should be at least (bit hard to fully test this one).
Quote from Victor :Right, so I finally figured out what's the cause and that means I was able to fix this now. Or should be at least (bit hard to fully test this one).

Ya gonna tell us what it was!? Don't hold us all in suspense like that!
Hi all,

I have temporarily disabled the PST request (a racer's online stats) as I noticed some related database queries started to become a bit of a problem, performance wise.

I have analysed why this is happening and have found a solution. However, this requires me to make some changes to a database table with over 34 million rows in it causing long locks.

As such I will perform this maintenance later tonight, after the racer peak.

If all goes well I will enable the PST request again. Until then, such requests will return the error "pst: no valid username".

---

UPDATE - all is back to normal.
Hi,

I'm retrieving the hosts list, but I noticed that every host reports 'laps' to 0, which is incorrect.

I hope this can be fixed soon, thanks!

FGED GREDG RDFGDR GSFDG