The online racing simulator
#1 - CyBex
Quote from Victor :?action=hosts

RULES ulong (4 bytes)
rules bits :
..
..
MIDRACEJOIN 32
MUSTPIT 64

Sometimes i get 128 (the 7. bit) in the Rules and i didnt found anything here or some updates...

Quote :
NROFRACERS byte[1]
RACERNAMES char[24 * NROFRACERS]

Sometimes i get more Racer then the Number in NROFRACERS.. I check the my Buffer for a valid version-string and sometimes i must skip 48 or 72 bytes for the next valid server. then i look in the hexdump and found 3 racers...

SKIP:0; LFS S1 0.5V; tr:211; M:15; RACER:10; E:240; CARS:3; RULES:0; LAPS:8; QUALMINS:0; C1:3; C2:0; C3:0; C4:0; spare1:0; spare2:0; db:r,mustpit 0 r,private 0 r,qualify 0 r,can_vote 0 r,midracejoin 1 r,modified 0 r,can_sel 0;
firstblock:
0x0000 | 5e 37 53 54 43 43 20 31 | 61 20 5e 31 4e 65 77 20 | ^7STCC 1 | a ^1New
0x0010 | 26 20 42 72 6f 6e 7a 65 | 00 00 00 00 00 00 00 00 | & Bronze | @@@@@@@@
0x0020 | 01 05 56 00 02 01 01 0f | 03 00 00 00 20 00 00 00 | AEV@BAAO | C@@@ @@@
0x0030 | 08 00 00 00 0a 5f 2d 41 | 4c 55 43 41 52 44 2d 5f | H@@@J_-A | LUCARD-_
racer:
0x0000 | 5f 2d 41 4c 55 43 41 52 | 44 2d 5f 00 00 00 00 00 | _-ALUCAR | D-_@@@@@
0x0010 | 00 00 00 00 00 00 00 00 | 46 43 52 30 31 00 00 00 | @@@@@@@@ | FCR01@@@
0x0020 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x0030 | 73 74 72 61 74 79 00 00 | 00 00 00 00 00 00 00 00 | straty@@ | @@@@@@@@
0x0040 | 00 00 00 00 00 00 00 00 | 6e 31 32 74 75 72 62 6f | @@@@@@@@ | n12turbo
0x0050 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x0060 | 73 70 69 64 65 72 2d 6d | 61 6e 00 00 00 00 00 00 | spider-m | an@@@@@@
0x0070 | 00 00 00 00 00 00 00 00 | 35 37 41 54 45 00 00 00 | @@@@@@@@ | 57ATE@@@
0x0080 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x0090 | 52 61 6e 64 6f 6d 46 65 | 6c 6c 61 00 00 00 00 00 | RandomFe | lla@@@@@
0x00a0 | 00 00 00 00 00 00 00 00 | 47 6f 6e 67 74 00 00 00 | @@@@@@@@ | Gongt@@@
0x00b0 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x00c0 | 54 6f 70 6b 65 69 6c 65 | 72 00 00 00 00 00 00 00 | Topkeile | r@@@@@@@
0x00d0 | 00 00 00 00 00 00 00 00 | 41 49 52 53 45 52 52 41 | @@@@@@@@ | AIRSERRA
0x00e0 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x00f0 | 4a 62 31 31 00 00 00 00 | 00 00 00 00 00 00 00 00 | Jb11@@@@ | @@@@@@@@
0x0100 | 00 00 00 00 00 00 00 00 | 4d 75 4e 6b 45 72 00 00 | @@@@@@@@ | MuNkEr@@
0x0110 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x0120 | 4d 69 6b 61 73 73 73 73 | 73 00 00 00 00 00 00 00 | Mikassss | s@@@@@@@
0x0130 | 00 00 00 00 00 00 00 00 | 5e 37 53 54 43 43 20 31 | @@@@@@@@ | ^7STCC 1
0x0140 | 62 20 5e 31 4e 65 77 20 | 26 20 42 72 6f 6e 7a 65 | b ^1New | & Bronze
h(24/24):STCC 1b New & Bronze;
skip! SKIP:72 bytes; LFS S2 0.5V; tr:000; M:23; RACER:4; E:96; CARS:256; RULES:0; LAPS:4; QUALMINS:0; ...

Possible that other scripts doesnt check for a valid Version string and use the 11. Racer for the next server...

Regards CyBex
Quote from CyBex :Sometimes i get 128 (the 7. bit) in the Rules and i didnt found anything here or some updates...

Sometimes i get more Racer then the Number in NROFRACERS.. I check the my Buffer for a valid version-string and sometimes i must skip 48 or 72 bytes for the next valid server. then i look in the hexdump and found 3 racers...

SKIP:0; LFS S1 0.5V; tr:211; M:15; RACER:10; E:240; CARS:3; RULES:0; LAPS:8; QUALMINS:0; C1:3; C2:0; C3:0; C4:0; spare1:0; spare2:0; db:r,mustpit 0 r,private 0 r,qualify 0 r,can_vote 0 r,midracejoin 1 r,modified 0 r,can_sel 0;
firstblock:
0x0000 | 5e 37 53 54 43 43 20 31 | 61 20 5e 31 4e 65 77 20 | ^7STCC 1 | a ^1New
0x0010 | 26 20 42 72 6f 6e 7a 65 | 00 00 00 00 00 00 00 00 | & Bronze | @@@@@@@@
0x0020 | 01 05 56 00 02 01 01 0f | 03 00 00 00 20 00 00 00 | AEV@BAAO | C@@@ @@@
0x0030 | 08 00 00 00 0a 5f 2d 41 | 4c 55 43 41 52 44 2d 5f | H@@@J_-A | LUCARD-_
racer:
0x0000 | 5f 2d 41 4c 55 43 41 52 | 44 2d 5f 00 00 00 00 00 | _-ALUCAR | D-_@@@@@
0x0010 | 00 00 00 00 00 00 00 00 | 46 43 52 30 31 00 00 00 | @@@@@@@@ | FCR01@@@
0x0020 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x0030 | 73 74 72 61 74 79 00 00 | 00 00 00 00 00 00 00 00 | straty@@ | @@@@@@@@
0x0040 | 00 00 00 00 00 00 00 00 | 6e 31 32 74 75 72 62 6f | @@@@@@@@ | n12turbo
0x0050 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x0060 | 73 70 69 64 65 72 2d 6d | 61 6e 00 00 00 00 00 00 | spider-m | an@@@@@@
0x0070 | 00 00 00 00 00 00 00 00 | 35 37 41 54 45 00 00 00 | @@@@@@@@ | 57ATE@@@
0x0080 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x0090 | 52 61 6e 64 6f 6d 46 65 | 6c 6c 61 00 00 00 00 00 | RandomFe | lla@@@@@
0x00a0 | 00 00 00 00 00 00 00 00 | 47 6f 6e 67 74 00 00 00 | @@@@@@@@ | Gongt@@@
0x00b0 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x00c0 | 54 6f 70 6b 65 69 6c 65 | 72 00 00 00 00 00 00 00 | Topkeile | r@@@@@@@
0x00d0 | 00 00 00 00 00 00 00 00 | 41 49 52 53 45 52 52 41 | @@@@@@@@ | AIRSERRA
0x00e0 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x00f0 | 4a 62 31 31 00 00 00 00 | 00 00 00 00 00 00 00 00 | Jb11@@@@ | @@@@@@@@
0x0100 | 00 00 00 00 00 00 00 00 | 4d 75 4e 6b 45 72 00 00 | @@@@@@@@ | MuNkEr@@
0x0110 | 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | @@@@@@@@ | @@@@@@@@
0x0120 | 4d 69 6b 61 73 73 73 73 | 73 00 00 00 00 00 00 00 | Mikassss | s@@@@@@@
0x0130 | 00 00 00 00 00 00 00 00 | 5e 37 53 54 43 43 20 31 | @@@@@@@@ | ^7STCC 1
0x0140 | 62 20 5e 31 4e 65 77 20 | 26 20 42 72 6f 6e 7a 65 | b ^1New | & Bronze
h(24/24):STCC 1b New & Bronze;
skip! SKIP:72 bytes; LFS S2 0.5V; tr:000; M:23; RACER:4; E:96; CARS:256; RULES:0; LAPS:4; QUALMINS:0; ...

Possible that other scripts doesnt check for a valid Version string and use the 11. Racer for the next server...

Regards CyBex

All I can say about that at the moment is that it's very strange. In my code i create the NROFRACERS and the whole 'string' of racers at the same time. Every time I append a racer, I increase NROFRACERS by 1, so I don't really see how that could've gone wrong.
So I don't know atm.
I'm not having any issues with hosts on the LFS World SDK.
#4 - CyBex
Quote from Victor :All I can say about that at the moment is that it's very strange. In my code i create the NROFRACERS and the whole 'string' of racers at the same time. Every time I append a racer, I increase NROFRACERS by 1, so I don't really see how that could've gone wrong.
So I don't know atm.

No problem, only want to share my results in last days of coding.. You can see youself that the NORACER is 0x0a (10) and you see 13 Racers in the Block.. It happen only 1 or 2 times in 20 trys...

EDIT: I dont use the SDK, my script isnt written in php.. Its written in Tcl for more multiplatform use.
i've added my own tmlt checker on the script that parses that same data for the forum here. If there's something odd, i'll know about it soon enough.
Quote from CyBex :I dont use the SDK, my script isnt written in php.. Its written in Tcl for more multiplatform use.

Eh, PHP is multi-platform.

PHP do not distribute UNIX/Linux binaries. Most Linux distributions come with PHP these days, so if you do not want to compile your own, go to your distribution's download site. Binaries available on external servers:
no errors here so far after 7 hours (7h * 60min = 420 tries).

CyBex, I'd start re-checking your code if I were you. Noone else appears to have any problem
This bit of SQL voodoo queries my DB which holds (at present 3447) host records retrieved in the last 24 hours to try and find ones where the NORACERS is different to the actual racer count. There are that many because the table is simply appended to everytime a host changes.


mysql> SELECT strippedHostName
-> FROM (
-> SELECT
-> strippedHostName,
-> players,
-> LENGTH(REPLACE(racers, ',', '')) AS replaced,
-> LENGTH(racers) AS original,
-> IF(LENGTH(racers) != 0, 1, 0) AS hasPlayers FROM as2f)
-> AS racerTbl
-> WHERE
-> hasPlayers = 1
-> AND (original - replaced) + 1 != players;
Empty set (0.01 sec)

And here is the result if I invert the last check


mysql> SELECT strippedHostName
-> FROM (
-> SELECT
-> strippedHostName,
-> players,
-> LENGTH(REPLACE(racers, ',', '')) AS replaced,
-> LENGTH(racers) AS original,
-> IF(LENGTH(racers) != 0, 1, 0) AS hasPlayers FROM as2f)
-> AS racerTbl
-> WHERE
-> hasPlayers = 1
-> AND (original - replaced) + 1 = players;
+-------------------------------+
| strippedHostName |
+-------------------------------+
| (=VR=)-VITEX-RACING |
| bigbry's drag |
| Billy |
| GSA-XGN OzBee-R |
| GSA-XGN XRT |
| Internode LFS #1 |
| Ka-Tet |
| LFS Norge |
| Wine doch nicht |
| XyOn-Servers.com | LFS S1Test |
| =[ZG]=Racing Team 2 |
| (FM) OvaL JuNkIeS ! |
| 6TraxGTRLeague.tk |
| F3 Euro series |
| [TC] CityDriving USA |
| [CD] ConeDodgersRacing1 |
| ^JÉÏedline ^JÉÏacing 2 |
| ^JÉÏedline ^JÉÏacing |
| Caribbean Cruise 1 by CLC |
| TeW Team Weizen #4 |
| [MPR] S2 Race Server 2 |
| [TW] The Wags |
| iiNetAutoX[Drift] |
| ProRacingRoom#1 |
| STCC 1a New & Bronze |
| STCC 2 Public Silver & Gold |
| STCC 3b Event 2 Silver & Up |
| TEAMD1 Drift Server #2 |
| (=VR=)-VITEX-RACING |
| cz-závody |
| geo |
| Internode LFS #1 |
| LFS Norge |
| TEAM LiNe |
| testtest |
| tom´s Fun server |
| =[ZG]=Racing Team 2 |
| FPR | Publicserver#2 |
| KY_OVALek |
| MecaHost-[FB] Team |
| (FM) OvaL JuNkIeS ! |
| F3 Euro series |
| [TC] CityDriving USA |
| [CD] ConeDodgersRacing1 |
| ^JÉÏedline ^JÉÏacing 2 |
| ^JÉÏedline ^JÉÏacing |
| di.racing Publicserver |
| Caribbean Cruise 1 by CLC |
| CURURU GT |
| TeW Team Weizen #4 |
| [MPR] S2 Race Server 2 |
| burnoutcrew.net #3 |
| burnoutcrew.net #CL |
| cP Clownpaint.com #2 |
| FRH FUN TIME(jump) |
| [WHRT] S2 Server |
| iiNetAutoX[Drift] |
| GromNet & Serbian Racing Team |
| n!faculty PUB |
| ProRacingRoom#1 |
| STCC 1a New & Bronze |
| STCC 1b New & Bronze |
| STCC 2 Public Silver & Gold |
| [SKH]FairPlay #1 |
| (=VR=)-VITEX-RACING |
| cz-závody |
| Drive It Like You Stole It |
| geo |
| Internode LFS #1 |
| LFS Norge |
| Serveur R - Race |
| TEAM LiNe |
| testtest |
| tom´s Fun server |
| =[ZG]=Racing Team 2 |
| FPR | Publicserver#2 |
| KY_OVALek |
| MecaHost-[FB] Team |
| (FM) OvaL JuNkIeS ! |
| F3 Euro series |
| liveforspeed.HU S2 B |
| Tenwierdufos Jump Server |
| [TC] CityDriving Jamaica |
| [TC] CityDriving USA |
| [CD] ConeDodgersRacing1 |
| ^JÉÏedline ^JÉÏacing 2 |
| ^JÉÏedline ^JÉÏacing |
| di.racing Publicserver |
| Caribbean Cruise 1 by CLC |
| CURURU GT |
| TeW Team Weizen #4 |
| [MPR] S2 Race Server 2 |
| burnoutcrew.net #2 |
| burnoutcrew.net #3 |
| burnoutcrew.net #CL |
| cP Clownpaint.com #2 |
| CZECH FUN SERVER |
| RR|Stock Cup |
| [WHRT] S2 Server |
| iiNetAutoX[Drift] |
| GromNet & Serbian Racing Team |
| n!faculty PUB |
| ProRacingRoom#1 |
| STCC 1a New & Bronze |
| STCC 1b New & Bronze |
| STCC 2 Public Silver & Gold |
| [SKH]FairPlay #1 |
| ^JÁÑ Public Drift |
| (=VR=)-VITEX-RACING |
| cz-závody |
| Drive It Like You Stole It |
| geo |
| Internode LFS #1 |
| LFS Norge |
| TEAM LiNe |
| testtest |
| tom´s Fun server |
| =[ZG]=Racing Team 2 |
| KY_OVALek |
| MecaHost-[FB] Team |
| (FM) OvaL JuNkIeS ! |
| F3 Euro series |
| FIB Racing-practice |
| liveforspeed.HU S2 B |
| [TC] CityDriving Jamaica |
| [TC] CityDriving USA |
| [CD] ConeDodgersRacing1 |
| ^JÉÏedline ^JÉÏacing 2 |
| ^JÉÏedline ^JÉÏacing |
| di.racing Publicserver |
| Caribbean Cruise 1 by CLC |
| CURURU GT |
| TeW Team Weizen #4 |
| [MPR] S2 Race Server 2 |
| burnoutcrew.net #3 |
| cP Clownpaint.com #2 |
| CZECH FUN SERVER |
| [WHRT] S2 Server |
| iiNetAutoX[Drift] |
| GromNet & Serbian Racing Team |
| n!faculty PUB |
| ProRacingRoom#1 |
| STCC 1a New & Bronze |
| STCC 1b New & Bronze |
| STCC 2 Public Silver & Gold |
| STCC 3b Event 2 Silver & Up |
| [SKH]FairPlay #1 |
| [ISR] S2 Server |
| (=VR=)-VITEX-RACING |
| aaa |
| bigbry's drag |
| cz-závody |
| geo |
| koprivnica |
| LFS Norge |
| TEAM LiNe |
| testtest |
| tom´s Fun server |
| =[ZG]=Racing Team 2 |
| HOR Heroes of Racing |
| (FM) OvaL JuNkIeS ! |
| CDT-DRIFTING-Cz |
| FIB Racing-practice |
| liveforspeed.HU S2 B |
| [TC] City Driving UK |
| [TC] CityDriving Jamaica |
| [TC] CityDriving USA |
| [CD] ConeDodgersRacing1 |
| ^JÉÏedline ^JÉÏacing 2 |
| ^JÉÏedline ^JÉÏacing |
| :: Bremskiller.de Intern |
| Caribbean Cruise 1 by CLC |
| CURURU GT |
| TeW Team Weizen #4 |
| [MPR] S2 Race Server 2 |
| burnoutcrew.net #3 |
| cP Clownpaint.com #2 |
| CZECH FUN SERVER |
| [WHRT] S2 Server |
| iiNetAutoX[Drift] |
| GromNet & Serbian Racing Team |
| n!faculty PUB |
| ProRacingRoom#1 |
| SimRacingPL-Polska Liga LFS |
| STCC 1a New & Bronze |
| STCC 1b New & Bronze |
| STCC 2 Public Silver & Gold |
| STCC 3b Event 2 Silver & Up |
| Zone30 Training |
| [SKH]FairPlay #1 |
| (=VR=)-VITEX-RACING |
| aaa |
| cz-závody |
| geo |
| LFS Norge |
| pure drag no messin |
| TEAM LiNe |
| testtest |
| tom´s Fun server |
| HOR Heroes of Racing |
| (FM) OvaL JuNkIeS ! |
| CDT-DRIFTING-Cz |
| FIB Racing-practice |
| liveforspeed.HU S2 B |
| [TC] City Driving UK |
| [TC] CityDriving Jamaica |
| [TC] CityDriving USA |
| [CD] ConeDodgersRacing1 |
| ^JÉÏedline ^JÉÏacing 2 |
| ^JÉÏedline ^JÉÏacing |
| Caribbean Cruise 1 by CLC |
| CURURU GT |
| TeW Team Weizen #4 |
| [MPR] S2 Race Server 2 |
| #LiveForSpeed UOL-2 LFSBR s2# |
| burnoutcrew.net #3 |
| cP Clownpaint.com #2 |
| [WHRT] S2 Server |
| iiNetAutoX[Drift] |
| GromNet & Serbian Racing Team |
| n!faculty PUB |
| ProRacingRoom#1 |
| SimRacingPL-Polska Liga LFS |
| STCC 1a New & Bronze |
| STCC 1b New & Bronze |
| STCC 2 Public Silver & Gold |
| STCC 3b Event 2 Silver & Up |
| Zone30 Training |
| [SKH]FairPlay #1 |
| [ISR] S2 Server |
| (=VR=)-VITEX-RACING |
| 2FT LFSLA.NET CEROLAG.COM |
| Benny |
| cz-závody |
| geo |
| LFS Norge |
| LFS Norge Drifting |
| Swain - Drift2 |
| TEAM LiNe |
| testtest |
| tom´s Fun server |
| =[ZG]=Racing Team 2 |
| MecaHost-[FB] Team |
| (FM) OvaL JuNkIeS ! |
| =BTU= Motorsports |
| liveforspeed.HU S2 B |
| [TC] City Driving UK |
| [TC] CityDriving Jamaica |
| [TC] CityDriving USA |
| [KiT]FOX Racing server |
| [CD] ConeDodgersRacing1 |
| ^JÉÏedline ^JÉÏacing 2 |
| bioXar^vRacing #2 |
| Venus Clean Racers |
| Caribbean Cruise 1 by CLC |
| CURURU GT |
| dSk|Motodrom |
| Strandstuermer.com @ LFS |
| TeW Team Weizen #4 |
| [MPR] S2 Race Server 2 |
| burnoutcrew.net #3 |
| cP Clownpaint.com #2 |
| Racing by #4u.GaminG |
| [WHRT] S2 Server |
| iiNetAutoX[Drift] |
| >>>>ORC Bangers<<<< |
| ANTIK Drift Challenge |
| GromNet & Serbian Racing Team |
| liveforspeed.se Drift |
| n!faculty PUB |
| ProRacingRoom#1 |
| STCC 1a New & Bronze |
| STCC 1b New & Bronze |
| STCC 2 Public Silver & Gold |
| STCC 3b Event 2 Silver & Up |
| [SKH]FairPlay #1 |
| (=VR=)-VITEX-RACING |
| 2FT LFSLA.NET CEROLAG.COM |
| cz-závody |
| geo |
| Internode LFS #1 |
| LFS Norge |
| LFS Norge Drifting |
| Swain - Drift2 |
| TEAM LiNe |
| testtest |
| =[ZG]=Racing Team 2 |
| MecaHost-[FB] Team |
| (FM) OvaL JuNkIeS ! |
| =BTU= Motorsports |
| liveforspeed.HU S2 B |
| [TC] City Driving UK |
| [TC] CityDriving Jamaica |
| [TC] CityDriving USA |
| [CD] ConeDodgersRacing1 |
| ^JÉÏedline ^JÉÏacing 2 |
| bioXar^vRacing #2 |
| Venus Clean Racers |
| Caribbean Cruise 1 by CLC |
| CURURU GT |
| dSk|Motodrom |
| Strandstuermer.com @ LFS |
| TeW Team Weizen #4 |
| [MPR] S2 Race Server 2 |
| burnoutcrew.net #3 |
| cP Clownpaint.com #2 |
| Racing by #4u.GaminG |
| [WHRT] S2 Server |
| iiNetAutoX[Drift] |
| >>>>ORC Bangers<<<< |
| ANTIK Drift Challenge |
| ANTIK FOX Racing |
| GromNet & Serbian Racing Team |
| liveforspeed.se Drift |
| n!faculty PUB |
| ProRacingRoom#1 |
| STCC 1a New & Bronze |
| STCC 1b New & Bronze |
| STCC 2 Public Silver & Gold |
| STCC 3b Event 2 Silver & Up |
| [SKH]FairPlay #1 |
+-------------------------------+
321 rows in set (0.01 sec)

As Vic said, check your code.
#9 - CyBex
Quote from Dygear :Eh, PHP is multi-platform.

But a platform isnt allways an OS.. I use it everytime on the same OS but different contexts.. My script is running on http-enviroment, in an irc-/eggdrop-enviroment and on shell..
I have no idea, why everyone wants to push my to php, i use this script language since more then 5 years and i have written scripts before php was popular for grand prix legends.. :-)

EDIT: Victor, i start to write a logfile how often i get this error and do more checks, but then the error must be external in my http package or something (i have only the idea, that the http package replace the newline char from CR to LF, that would explain why 0x0a is on the places where 0x0d should be.. I try to check this..).. i dont change anything in the data that i get on "?action=hosts".. i use the first 53 bytes and calculate the pointer for how long is the next block for racers / the next host...
Quote from CyBex :EDIT: Victor, i start to write a logfile how often i get this error and do more checks, but then the error must be external in my http package or something (i have only the idea, that the http package replace the newline char from CR to LF, that would explain why 0x0a is on the places where 0x0d should be.. I try to check this..).. i dont change anything in the data that i get on "?action=hosts".. i use the first 53 bytes and calculate the pointer for how long is the next block for racers / the next host...

Should be easy enough to check if that character is indeed replaced, by looking at other values in the entire block of data that pubstat returns. If you check in the evening when there are many people only and many occupied hosts, there should be more hosts with 0x0d people online - these should then also appear wrong in your script. And if you catch an error when it happens (you see it happen), you can manually check the racers on the host at lfs world.

But that there's a layer between the network and your script that changes something in the data makes the most sense to me atm. Worth checking that. Maybe you can run a simple data comparer where you grab the data with another programming / scripting language simulateously with the tcl version.

(i split off this topic, to keep the main thread tidy)
If it is an LR/CF issue, try setting a binary flag in the transfer mode. I won't pretend to know even the faintest about Tcl but I know that PHP on Windows can have similar issues if you don't tell the fopen call that the data should be treated as binary.
Quote from Anarchi-H :If it is an LR/CF issue, try setting a binary flag in the transfer mode. I won't pretend to know even the faintest about Tcl but I know that PHP on Windows can have similar issues if you don't tell the fopen call that the data should be treated as binary.

Yep that helps.. But my server died yesterday

Now i'm busy to recover data...

Thanks all for your help...

FGED GREDG RDFGDR GSFDG