Big Christmas present from OpenTTD

Hello folks,

just yesterday I’ve been browsing through the change logs of OpenTTD and stumbled over some remarkable changes Rubidium commited just then. The network code underwent heavy changes – and now a game may have up to 255 clients!

(svn r14730) -Codechange: remove the need for networkclientsockets and networkclientinfo structs to be in a contiguous piece of memory and put them in a pool.
-Note: 255 should really be enough for now… making it any more means network protocol bumps.

and another commit just today:

(svn r14735) -Codechange: remove a bit of bit-waste in the map array (without changing the map array) and make the CompanyIDs contiguous.
-Note: 15 should be enough for now… making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.

which allows now up to 15 companies instead of the usual eight 🙂 .

With the next available nightly our servers will, of course, feature as many clients – and we’ll no longer have the problem that the server might be too full when starting a new game 🙂

A big thanks from #openttdcoop to all devs of OpenTTD for the great work.
merry Christmas

3 comments so far

  1. Osai December 24, 2008 13:34

    Merry Christmas everyone… this is awesome!!

  2. Mucht December 25, 2008 14:52

    Merry Christmans!

    I must admit, I am somewhat surprised! We have waited for these changes since years!

  3. Lord December 26, 2008 10:24

    YAYz. Now I can fit ingame too [1] 😀

    [1] – And even my ego fits in [2]
    [2] – Unless, ofcourse PlanetBaker’s ego is not there 😀

    Actually, this a very nice thing 😛

Leave a comment

Please be polite and on topic. Your email-address will never be published.