Bigos Pack - Hard Srver Pack (r18781)

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Bigos Pack - Hard Srver Pack(r18257)

Post by planetmaker »

bigos wrote: I will remove "Patch: Grass growth on unused tracks"
IIRC, when I once updated that patch it was a multiplayer safe client-side patch... back then.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Bigos Pack - Hard Srver Pack(r18257)

Post by petert »

planetmaker wrote:IIRC, when I once updated that patch it was a multiplayer safe client-side patch... back then.
How is that a safe client-side patch? Wouldn't the other players need the GRF also?
finesse
Engineer
Engineer
Posts: 24
Joined: 07 Aug 2007 21:10

Re: Bigos Pack - Hard Srver Pack(r18288)

Post by finesse »

Great pack, it'll be awesome once you can get the others back in. Any chance of a daylength patch aswell?

I tried to join your server last night but noticed you were running r18309, so I compiled from source but your server still said version missmatch so I think I must need a newer diff too.

I played r18288 with my mate on the lan, and apart from 3 or so messages about his client being slow, we didn't get any desyncs which was great, it was going strong for several hours.
Image
Currently running: Bigos Patch Pack (forum link) with custom GRF pack.
win32 binary: bigos_pack_1.2.rar | patch file: 12.patch | GRF's: finessegrfv3.rar
konrad2201pl
Engineer
Engineer
Posts: 2
Joined: 25 Nov 2009 18:27

Re: Bigos Pack - Hard Srver Pack(r18288)

Post by konrad2201pl »

This multiplayer work very stable on r18309 without new grfs.

447 trains, 104 road vechicles on 1024x512 map.

No desyncs yet.

Tested on:

1. Amd x2 4800+, 4Gb ram, 6Mbit internet, --- 7-30% CPU use----
2. Notebook Toshiba r100, intel 1Ghz, 700Mb ram, 6Mbit internet --- 45%-90% (during moving on map) Cpu use---
2B. same notobook, when enable full detail, animation 100% CPU, but still no desyncs:P
User avatar
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bigos Pack - Hard Srver Pack(r18288)

Post by bigos »

finesse wrote:Great pack, it'll be awesome once you can get the others back in. Any chance of a daylength patch aswell?

I tried to join your server last night but noticed you were running r18309, so I compiled from source but your server still said version missmatch so I think I must need a newer diff too.

I played r18288 with my mate on the lan, and apart from 3 or so messages about his client being slow, we didn't get any desyncs which was great, it was going strong for several hours.
We still testing separated patches. Unfortunately there is not many people to test it so we can't do it as fast as we can. In a week (I hope) we will handle this desync problems and I will bring back all excluded patches. The r18309 is in 1 of my posts above but its clear trunk - no patches. Soon Hackalittlebit help me to remove those desyncs but for now its mess.
About day length patch I will see but not now. Have to make game working again first.
User avatar
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bigos Pack - Hard Srver Pack(r18288)

Post by bigos »

After firsts tests seems to all patches are harmless separately... now we will try combine them. It will take time because I don't have to much time for it.
User avatar
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bigos Pack - Hard Srver Pack(r18288)

Post by bigos »

Today we try all my patches without repair patch. If someone want to help (just play on server) then were are files... this version (its not new pack version) will stay on server till we get some results.
Attachments
no_repair.rar
server test files (win 32)
(2.73 MiB) Downloaded 210 times
finesse
Engineer
Engineer
Posts: 24
Joined: 07 Aug 2007 21:10

Re: Bigos Pack - Hard Srver Pack(r18288)

Post by finesse »

Bigos, that game we were playing gives me desyncs now when I try to join.. internets really slow ATM though so i'll keep trying.
Image
Currently running: Bigos Patch Pack (forum link) with custom GRF pack.
win32 binary: bigos_pack_1.2.rar | patch file: 12.patch | GRF's: finessegrfv3.rar
User avatar
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by bigos »

Test has ended... There is no problems with code. Problem is with cpu usage. So many patches cause that slower computers just desync. For single player game there is no problems at all. Only for multiplayer game you have to have fast computer with a lot of memory. So I made new version of pack. All excluded patches are back without cargo dist patch ( have few bugs ). Merged with trunk (r18410) Files in first post.

If anyone can help me rewrite IMC patch so it will be count only by server and result will be sent to clients then it can reduce desyncs on server... would be grateful for any help or tips how to do it.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by Rubidium »

bigos wrote:Problem is with cpu usage. So many patches cause that slower computers just desync.
Desyncs are NOT caused by slow CPUs desyncs can ONLY occur when the game state at the server and client differ at a given tick in the game. If the client is slow it will check the game state slightly later than the server.
If clients get kicked because they are slow they aren't desynced. They are just kicked with an "connection lost" error and NOT a "desync error"/"synchronisation failed".
User avatar
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by bigos »

Rubidium wrote:
bigos wrote:Problem is with cpu usage. So many patches cause that slower computers just desync.
Desyncs are NOT caused by slow CPUs desyncs can ONLY occur when the game state at the server and client differ at a given tick in the game. If the client is slow it will check the game state slightly later than the server.
If clients get kicked because they are slow they aren't desynced. They are just kicked with an "connection lost" error and NOT a "desync error"/"synchronisation failed".
Then why slow computers (like Pentium 3 ) have desyncs and better one (like core 2 duo) don't have such problems?

Will be grate if you help with writing this 1 function ( counting tracks and fee for them) to be executed only by server - it will reduce desyncs for sure. I can take care about rest but need some example how to do it.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by Rubidium »

bigos wrote:Then why slow computers (like Pentium 3 ) have desyncs and better one (like core 2 duo) don't have such problems?
Because they misreport being kicked off/connection lost as desyncs?
User avatar
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by bigos »

Rubidium wrote:
bigos wrote:Then why slow computers (like Pentium 3 ) have desyncs and better one (like core 2 duo) don't have such problems?
Because they misreport being kicked off/connection lost as desyncs?
Maybe... but I don't have where to test server on better connection that I have so those are only speculations. And I'm not sure its conection problem because Konrad connected from same IP (both cable LAN) with two computers old laptop and new PC... and laptop got all the time desyncs and PC didn't.
User avatar
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by bigos »

finesse made server base on my pack :) At last we have normal server for tests :D
finesse
Engineer
Engineer
Posts: 24
Joined: 07 Aug 2007 21:10

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by finesse »

bigos wrote:finesse made server base on my pack :) At last we have normal server for tests :D
It's called 'BIGOS Server #2' at the moment, it's running but I still need to setup some scripts etc.

Server IP/PORT: 66.249.5.148:7979
Image
Currently running: Bigos Patch Pack (forum link) with custom GRF pack.
win32 binary: bigos_pack_1.2.rar | patch file: 12.patch | GRF's: finessegrfv3.rar
User avatar
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by bigos »

Test version of pack (with only few patches) for multiplayer desync tests. (r18467M)
Attachments
bigos_pack_test.rar
Binaries (win32)
(3.1 MiB) Downloaded 230 times
test.patch
patch file
(111.35 KiB) Downloaded 244 times
Last edited by bigos on 12 Dec 2009 18:34, edited 1 time in total.
petert
Tycoon
Tycoon
Posts: 3008
Joined: 02 Apr 2009 22:43
Location: Massachusetts, USA

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by petert »

May I ask why you've taken out the server info from your signature?
User avatar
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by bigos »

petert wrote:May I ask why you've taken out the server info from your signature?
My server is off. Now we are playing on finesses server.
User avatar
bigos
Traffic Manager
Traffic Manager
Posts: 181
Joined: 13 Sep 2009 21:15
Location: Poland
Contact:

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by bigos »

I see server is almost empty all day long :( I can't play because don't have free time. Hope there will be more people who would like to play on server so finesse will not waste money for nothing. If someone have problems with joining server say here. We are still on pack for test from post above.
finesse
Engineer
Engineer
Posts: 24
Joined: 07 Aug 2007 21:10

Re: Bigos Pack - Hard Srver Pack(r18410)

Post by finesse »

Oh, not wasting money but thanks anyway.. a new game will start in the next few days and will have some different GRFs to spice things up - ill post the pack here once it's ready and online.

In the mean time your test patch and GRFs are still online.
Image
Currently running: Bigos Patch Pack (forum link) with custom GRF pack.
win32 binary: bigos_pack_1.2.rar | patch file: 12.patch | GRF's: finessegrfv3.rar
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Ricard and 12 guests