Recent Posts

Pages: [1] 2 3 4 ... 10
1
I have restarted all instances at server.exp.simutrans com to commit 58181b37d85561c.... and DISABLE_RANDOMNESS.
However I had desync with both British pak games after 5-10 minutes. Pak sweden seems to be stable.
You are welcome to test them.

Thank you - can you see if you can capture and post the debug output from the desync that you get? That would be most helpful.
2
I tried what you suggested, but still have a train in one-staff area running in trac-circuit mode. Can you share a savegame where it is OK?
3
Pak128.Britain-Ex Bug Reports / Re: pakset mismatch with crossings
« Last post by Vladki on Yesterday at 11:57:09 PM »
I still have problem with pakset mismatch. Could someone try connecting with the pak from http://server.exp.simutrans.com to confirm?
4
I have restarted all instances at server.exp.simutrans com to commit 58181b37d85561c.... and DISABLE_RANDOMNESS.
However I had desync with both British pak games after 5-10 minutes. Pak sweden seems to be stable.
You are welcome to test them.

5
Is it not the random seed that is checked between server and client to test for a mismatch?

As to the floating point thing, this was a problem a long time ago, but all the floating point arithmetic other than in the GUI was removed circa 2011/2012 to solve this problem, and no further floating point arithmetic has been added since, so I do not think that it is this. Bernd Gabriel even wrote an elaborate class to simulate floating point arithmetic using integers to get around this.
6
The correct behaviour is to forbid the removing of the bridge under an elevated way. But when introducing elevated ways, there was consent to allow for this and other glitches, since these are anyway advanced features.
7
The random number seed is not used in simutrans at all (unless experiemtnal added some code using it). The internal random generator uses the Mersenne Twister alogrithm and is seeded with a complex seed depending on the time in ms since 1970 and some mathematical operations.

If the differences are really compiler/machine dependent, then it may be quite well the rounding of a float/double to an integer, which can give different results on different compilers and machines.
8
This is a very odd one: the problem appears to occur only when the train already in the station had already failed to reserve the whole line. If you stop the approaching train by opening its schedule window, set the other train going manually by moving it to its next item in its schedule, and, once that train has cleared the section, close the schedule window of the other train. The problem then does not appear to recur.
9
[CS]Tvorba / Re: Parametry pro simutrans-extended - strucny prehled a preklad
« Last post by Vladki on Yesterday at 11:07:54 PM »
Dovolil jsem si trochu upravit ten DAT file.
- dostupnost jsem rozsiril na 1964-1985. Sice se ty vagony dodavaly ruzne, ale prijde mi to tak logictejsi, ze cela sada vagonu stejneho typu je k dispozici najednou. Retire by pak melo byt az od chvile kdy se zacaly dodavat vagony UIC-Z
- brzdnou silu jsem zakomentoval, a misto ni uvedl brzdici vahu podle parostroje (v rezimu rychlik). Se zakomentovanou brzdici vahou ma brejlovec se 7 vagony brzdnou drahu zhruba 3/4 km (6 policek), coz mi pripada celkem primerene, tudiz bych se brzdnymi parametry zatim zbytecne nezatezoval.
-  komfort jsem zvedl na 130 (2. tr.) a 150 (1. tr), tak aby komfortni cas ve vlaku byl 2:50-4:25. Jidelak ma komfort 130, a zvysuje komfort celeho vlaku ze 130 na 150 (a prvni tridu jeste vic). Vicemene to odpovida britskym vagonum Mark II, ze stejne doby - ty maji komfort 146, ale nerozlisuji 1. a 2. tridu. Navic tipuji ze byly komfortnejsi nez vozy z NDR :)
- opravil jsem overcrowding - to je fakt jenom pocet lidi navic, ne celkovy. Dal jsem ze na chodbicku se vleze 10 lidi... No zazil jsem snad i 30, ale to uz se nejenom ze nedalo projit. To se nedalo ani nastoupit.
- komfort lehatka sem zvedl na 180 (6:48-7:37) , luzko na 200 (10:00-11:40), catering na 1-2, koukam na tu nabidku tak snad s vyjimkou teplych parku a polivky to odpovida nabidce minibaru.
- fixed_cost pro luzko/lehatko (1 osoba), a pro jidelak (3 osoby), zatim je to hodnota proste strelena od boku, balancovani snad nekdy buhvi kdy...
- Comfort vlaku se v tuto chvili prumeruje, takze nema moc smysl delat AB jako dvojdilny vagon. Udelal jsem ho jako alternativni jednokusovy s komfortem 140, overcrowding 5
- rychlost vsech na 140 km/h, zdroje se ruzni, nektere vozy byly jen na 120, jine i na 160, ale dost se to predelavalo (casto asi jenom papirove).
- nakupni a provozni ceny sem nemenil - jen sjednotil provoz 1. a 2. tridy na stejne.
- nastup kupe+jidelak 1/2 - 3 minuty, lehatko+luzko 1-6 minut.
10
I have updated the server to be compiled with the special DISABLE_RANDOMNESS preprocessor directive for testing. Any ordinary client not built with this preprocessor directive will not be able to stay in sync with the server until I revert it to normal. See here for details.
Pages: [1] 2 3 4 ... 10