It is weird indeed, to think that a data type surpasses its default length (if not impossible).
However,erroneous entries on the data that my script receives, as said on my first post, are one byte longer than expected.
I am wondering, does this happen to all the pubstat users out there?
Why hasn't anyone else reported any similar problems?
Unfortunately, the problem persists and it happens on the same server (#^4bia-clan ^8LFS-Racing II). If i manually correct this entry and move on in the file reading process, other erroneous entries show up too...
It is a bit troublesome to check it every time the problem appears, but in the tests I've run (10 seperate pubstat-output samples on differrent times) it always appeared on empty hosts and on that same #^4bia-clan host...(the test samples are all today's). Note, however, that there are some other times where the whole output is correct..I couldn't narrow down the causes of the problem more than that.
(in case you didn't notice, I edited the first post and uploaded the file )
Hi,
a few months ago I started a topic about my "who's online" php script (?action=hosts) stopping to work properly without any changes being made to it and finally I found out what really happens.
The output of the pubstat script sometimes does not conform with the specifications (at least the data that reaches my host).
If you take a look at the file, (it is the output but lfsw) you can see that at the 902nd byte of the file, there is an entry regarding the #^4bia-clan ^8LFS-Racing II server.
Examining this byte to byte, I found out that this entry , having no online racers at the server, is 54 bytes long instead of 53 (32 for the name, 20 for some data and 1 for the number of racers)..
Thus, reading this data messes up the whole process of my script.
(All the previous entries are ok.)
Can someone help?
More importantly, could Victor please take a look at the situation?
Thanks
hmm, then maybe there is an issue with my host's php, as the "number of returned hosts is zero" also applies to Dygear's LFSWorldSDK..
I'm gonna research it a bit and then I'll come back
Thanks
Hello,
we have a script on our forum, which checks on LFSW if any of the team members are racing online. For like a year now, it was working perfectly.
Lately, however (iirc since the Y30 was released), the data that the script prints out after analyzing lfsw's response to the pubstat call are extremely wrong.
Were there any changes made to the response data layout?
Hi, I would like to be able to get the link of any hotlap spr of any racer through code. (e.g. get the link to the hotlap spr of Falcon at BL1 with XFG).Is there any way to implement this?
Hi, i want to extract info from an spr file. I do everything according to the spr header documentation on the lfs site and everything works perfectly.
I have one question, though.When the hotlap (the app I want to code is about hotlaps) is processed, the Racer Name value is the player's s2 id (in my case 'Falcon1').If the hotlap is about a demo user, the Racer Name is the user's screen name.
What I am trying to say is, if someone takes a demo version of LFS and makes a hotlap with 'Falcon1' as name will there be any way to tell if the hotlap was made by the original s2 licensed racer or by a demo user with that name?
Thanks
PS:I expressed it a bit strangely, if you don't understand something please post.
I want to create a link pointing to the "racers and hosts online" window of the lfsw and also to have one specific host expanded(showing all the racers in it).
How can this be done (i need the format of the link e.g. lfsworld.net/?win=host&host=<hostname>)