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.