Repository navigation
Multiplayer test build a07d65a4 patients from the nearest edge, Shift+N
Pre-releaseTest build of CorsixTH with network multiplayer for Windows 64-bit, Linux and macOS, from the branch mp/team-hospitals at a07d65a: Argus's ideas (patients come from the edge nearest their hospital, a held litter bomb beeps no more than one on the floor, Shift+N back to your own hospital), a level loading crash fixed, and MOUNT EVEREST's walls.
Windows: download CorsixTH-Multiplayer-test-a07d65a4-win64.zip, unzip it, start CorsixTH.exe. SHA-256: 973af788d9f90ffe293f2dec107c31dcad288608ebdf3f8aeaa7acbd8b2a7fd8
Linux (x86_64, Linux Mint 22, Ubuntu 24.04 or newer): CorsixTH-Multiplayer-a07d65a4-linux-x86_64.tar.gz. Unpack it and start CorsixTH-Multiplayer/CorsixTH-Multiplayer.sh. SHA-256: 0423758d83f39123879e3e3ff1b4fa3bdc46125fb0a13fc147e7a62207e20740
macOS (Apple Silicon M1 or later, macOS 26 or newer): CorsixTH-Multiplayer-a07d65a4-macos-arm64.zip. Unzip it and move CorsixTH.app to Applications (replace the old one). The app is not notarized by Apple, so the first time macOS refuses to open it: open System Settings > Privacy & Security, scroll down to the note about CorsixTH and click Open Anyway (once). Settings and saves are in the hidden folder ~/.config/CorsixTH. SHA-256: b398b2ee461c7adceea9924d2f76ec69de2863a4ca39cdee9ef0b056ed9e3cc8
All three play together. You need your own Theme Hospital data (GOG, EA or CD; the full game, not the demo); it is not included. On a server with a referee (eu1 and eu2) any edition works.
Play: main menu, Multiplayer, EU2: test builds (eu2.bachelor-tech.com:47800 runs this build) and your name. Full guide: PLAYING.md. How it all works, with diagrams: HOW-IT-WORKS.md.
New since 8141203
- Patients come from the edge nearest their hospital (Argus: they walked across the whole map, past the other hospitals). Everybody coming to a hospital (patients, VIPs, the health inspector, epidemic patients) and everybody leaving it now uses one of the map's edge points with the shortest walk to its reception desks: the nearest one and up to two more that are not much further. Over all the multiplayer maps the walk from the edge is less than half as long on average (134 tiles before, 57 now), so patients reach your desk sooner. Single player is unchanged.
- A litter bomb in your hands beeps as often as one on the floor (Argus: it rang like crazy while the mouse was over a hospital). The bomb under the mouse, held or being planted, beeped on every frame of the screen: three times as often as on the floor at Normal speed, more at the slower speeds, and on in a paused game. Now it keeps the game's time, like the one on the floor.
- Shift+N takes the view straight back to your own hospital (Argus). N still shows the next hospital each time, and now goes on from yours. Both keys can be changed in the hotkey window (General In-Game Keys: Own Hospital (MP)).
- A level could fail to load with "Error while loading level: ... hospital.lua:2499: attempt to index a nil value" once research came to a diagnosis the level knows but whose machine it has switched off. Fixed; we found no level shipped with the game that has such a diagnosis, but a custom level can.
- MOUNT EVEREST: a building's south and east walls now belong to the plot inside them. A plot nobody has bought shows as grass, but those two walls stayed standing alone in the grass next to the bought plots (Jan's screenshot). Plots there are up to a sixth bigger, so they cost a little more.
- This build does not play with older ones (8141203 and before): everybody in a game needs it.
In 8141203 (assistants, auctions, steadier repairs)
- Assistants: a bot that helps in your own hospital and takes no place (Argus: on a map for four, a bot sharing your hospital took one of the four places, so only two hospitals had a person). In a new game's room, the Assistants column beside the places has + Add assistant beside your own line; the host can add one for anybody. One each. It joins your hospital (your colour and team, it moves with you) and does what a bot sharing a person's hospital does: it builds (unless the host switches Allied bots build off), hires and looks after staff, pays bonuses and shares research. A click on it sends it away; the host's right click picks how good it is. It leaves the room with you; in a game it plays on in your hospital if you leave, and no other bot comes for your place. The game's 8 players count assistants too, so with 8 people there is no room for one.
- The winner of an auction pays for the plot (Argus: matroftt won plot 13 twice and got it neither time, so Argus auctioned it three times). A bid was checked against your money when you made it but paid only when the auction ended: borrowing $5,000 with + to bid and paying it back with - at once left the winner unable to pay. Now, while you lead an auction, you cannot pay back the loan your bid needs; a winner short of money when the auction ends borrows the rest from the bank (in steps of $5,000, if the bank lends it all) and is told; and if it still cannot be paid, everybody is told who could not pay the bid.
- Desync repairs that stick: a game repaired on its own (the others agreeing) that goes out of sync again soon after is now repaired together with everybody, so all go on from the same game (one bot's game in a long MOUNT EVEREST test was repaired on its own 145 times, going out of sync again each time). A room waiting for people to leave its area now goes on after a repair exactly as before it.
- The bots learn each game once (on the server, already on eu2): a game saved many times (Argus's, continued from a save again and again) counted as many games.
- This build does not play with older ones (a31c09a and before): everybody in a game needs it. eu1 runs the stable build 49f4441.
In a31c09a
- MOUNT EVEREST, a new level for six (level 8, right after CUTTHROAT; TEAM TOWN is now level 9 and CROSSROADS 10). A 256 by 256 town for six around Jan's own town square: three districts north of it and three south, each with its start hospital and smaller plots for sale round it, 68 plots in all (Matroftt's advice: smaller plots). Climbing seasons bring 90 to 110 extra patients to every hospital each April and October, an earthquake comes every quarter for four years, and the university sends only consultants at first, then a mix, then only juniors in the second and third year. $70,000 to start; to win: reputation 650, $150,000 in the bank, value +$170,000, 450 cured, cure rate 50%. In all 22 languages.
- Chat in the room before the game: the room window shows the last lines (5 with up to 6 places, fewer with more places or a small screen); type in the box under them and press Enter. Everybody in the room reads everything. Long lines wrap; scroll back with the scrollbar or the mouse wheel.
- The room's map: the Map button next to the room's mode shows the level's map as the game would start now, each hospital in its colour, with who plays it.
- The town map shows big maps whole: a 256 by 256 map filled only two thirds of the town map; now every map fills it, and the level's name stays readable.
- Room outlines: another player's blue outline shows only on their own hospital's land, and never covers or erases your own drawing (Matroftt dragged one over the whole map, and nobody could see where they built).
- A bot standing in for a player who left plays at hard for a year when the hospital is in bad shape: the lowest of all hospitals on its way to the level's goals, or 15 points below the others' average, at a month end. Then normal again; a person taking the place ends it at once. The adviser tells everybody.
- Bots (most of this was already on eu2): 3 surgeons for each operating theatre (Argus), a spare nurse once two rooms need one, doctors no room needs let go; sharing your hospital, a bot gives your allies research once a month without asking you, leaves litter bombs on your floor to you, builds no research room once everything is researched, and does not rebuild a room you took away for a year unless you ask for it.
- A litter bomb going off in a hospital's hands now finds a corridor spot with room for all its litter (one found a nook with room for 2 pieces of 15).
- This build does not play with older ones (49f4441 and before): everybody in a game needs it.
In 49f4441 (Jan's games against bots)
- Whoever bought a litter bomb hears where it went off. A rival who finds a bomb can throw it on, and the bots do: two of Jan's bombs in Bertie's hospital went from bot to bot and went off, one in Bertie's hands and one at Clive's, while Jan had only heard that they were found. Now the buyer is told too: "Your litter bomb has gone off in the hospital of X."
- Bots leave a nearly spent bomb where it lies (less than 75 hours of fuse). A bot throws a bomb the day after it picks it up, so such a bomb used to go off in its own hands.
- Bots let go doctors no room needs. Bertie had 24 doctors for 19 places, many standing about in the corridors (students back from training, and a hiring rule that allowed one more doctor for every 12 patients). A bot now keeps one doctor more than its rooms need, and one more for every 8 places, for those on a break. From the 4th month, once a week, while it has more, it lets one go: a junior first, then the least skilled. Specialists stay for the rooms that need them.
- A bot short of floor keeps its plant and radiator. With no floor or land left, a bot takes a room in to make space, and Clive's research room ended up bare. A room now goes down to one size above its smallest, so the plant and radiator still fit, and a normal or hard bot's research room stays big enough for three desks.
- This build does not play with older ones (b0dd581 and before): everybody in a game needs it.
In b0dd581: bot levels without cheating (the community's wish)
- Easy: as before: no advice from the language model, its plain rules, nothing extra.
- Normal: now plays as hard bots did (rooms and corridors as the expert players build them, bigger research, extinguishers in machine rooms, its dirty tricks sooner and its litter bombs hidden), with the language model's advice, and gets nothing extra in the game: it does not cheat (it had $2,000 a month the others did not see).
- Hard: plays the same and cheats: $3,000 and 3 reputation a month the others do not see, its hospital's value counts a fifth more towards the goals, only every second death counts, and it bids higher at auctions.
- A new bot is a normal one (it was a hard one). Right click a bot in the room to pick another level.
- This build does not play with older ones (e79df71 and before): everybody in a game needs it.
In e79df71 (Argus's games against bots)
- Litter bombs are placed like a bench or a plant: the bomb's picture stands on the tile under the mouse, the floor is marked blue where it can go and red where not, and putting it down makes the sound of an object placed. (It used to ride on the cursor.)
- Litter bombs are cheaper: $1,000, $2,000 or $3,000 (were $3,000, $7,000, $12,000). They are only a mess, so we want to see them often.
- Bots' dirty tricks by level: an easy bot plays its first trick in months 10 to 12, then one every 90 to 150 days, and its litter bombs are the small ones; a hard bot starts in months 4 to 6, then every 45 to 90 days, and hides its bombs on a quiet corridor away from the reception desk. A litter bomb is twice as likely as the other tricks.
- Bots play tricks only with money to spare: never while they owe the bank, nor when they could not then pay for what they need most (an urgent room, a reception desk).
- Hard bots get less help: $3,000 and 3 reputation a month (were $8,000 and 5). After a year against hard bots Argus had $20,000 and they $70,000 each.
- Tidier bot corridors: radiators no longer stand flush together (3 tiles apart at least), plants 2 apart, and nothing piles up around benches or drinks machines in the middle of the floor. A bench that cannot stand against a wall faces the door and joins a row of benches.
- Bots learn corridors from experts: each night, besides room layouts, they now learn where the experts put benches, radiators and drinks machines by a room's door (and how far apart their radiators stand); a hard bot puts its own there first. From Argus's games: benches beside the door along the room's wall and in a row across the corridor facing it.
- "Waiting on to answer the fax...": with your own fax closed but not answered, the waiting box named nobody. Now your fax opens again until you answer it, and the box only names other players.
- This build does not play with older ones (d4e2e4a and before): everybody in a game needs it.
In d4e2e4a: litter bomb fixes (Argus's first games with it)
- The screen no longer freezes while the bomb is on your cursor, when planting one or holding one you picked up. On a Mac or a scaled screen the mouse position comes in fractions of a pixel, and drawing the bomb there failed on every frame (the game went on underneath; Esc closed the window).
- Games saved with an earlier build can plant litter bombs now: the window failed to open, because such a save did not know the bomb.
- Whoever planted a bomb is told when a rival finds it and picks it up (it used to just vanish). A bomb cannot be thrown into a hospital that has not opened yet, so a bot that picks one up with nowhere to throw it holds it until it goes off in its own hospital.
- This build does not play with older ones (a48a072 and before): everybody in a game needs it.
In a48a072: the litter bomb (from the original game's network play)
- A ninth dirty trick in MULTIPLAYER > DIRTY TRICKS: L1 $3,000, L2 $7,000, L3 $12,000. For testing, every level can be bought from the start of the game (level 7, Cutthroat, still waits until June).
- Plant it yourself: the second click on a level puts the bomb on your cursor (the window jumps the view to that rival; Next rival looks at the next one). Click a corridor in a rival's hospital to plant it there; you pay only then. A spot that cannot take it says why. Right-click puts it away, unpaid.
- The fuse burns for 16 game days (about 45 seconds at Normal speed), in the original's own art: a small black bomb whose fuse gets shorter. Then it throws litter about: 15 pieces (L1), 25 further out (L2) or 40 all over the place (L3), and the people right next to it get a little unhappier. At most 2 bombs tick in one hospital.
- The rival hears the announcer's "Litterbomb warning!" and the adviser's "Litter bomb alert!", and the fuse hisses near the bomb, but nothing points to it. A click on the bomb picks it up. It cannot be put away and its fuse burns on: a window (it cannot be closed) waits for a click on a corridor in another rival's hospital, or the sender's, to throw it there. Hold it too long and it goes off in your own hospital.
- Bots plant theirs next to a rival's reception desk. They find one on their own floor after 1-3 days (hard), 3-8 (normal) or 8-18 (easy, often too late), pick it up and throw it at the leader.
- In all 22 languages.
- This build does not play with older ones (e61364e and before): everybody in a game needs it.
In e61364e (Argus's games on eu2 and his Mac)
- macOS: the win video after "Back to the lobby" froze on the casebook, and any key then closed the game. Two things: the movie player wrote past the end of its sound buffer once a video's sound had run out, which broke the next stop (a crash on the Mac); and on "Back to the lobby" the video's letter had no words, so it just waited. The letter now carries the fax's words, and stopping a video after its end no longer crashes. Team names on the letter read "ARGUS and BOT BERTIE" (the letter's typewriter has no "+").
- The adviser speaks only about your own hospital: "Your queues are too long" and "send a doctor" came from other hospitals' rooms. The health inspector's arrival is announced only to the hospital he inspects.
- Race faxes: a hospital whose team has taken its place gets no new patients (the others race on); the place fax and the out-of-the-race fax now say so. The winning video is not shown again on "Back to the lobby" after a game was loaded.
- "Please all leave the game" came up when the server's referee died while saving: no game could be saved while a patient went down the "gates to hell". Fixed.
- Chat: a long line scrolls (the start goes off to the left) instead of being cut off; the line starts from the left and the cursor stays inside the box.
- Bots: no junior doctors at work (a GP's office is checked weekly; from the 4th month every junior at work is replaced, but trainees), and from the 4th month nurses, handymen and receptionists at 75% skill or below are replaced by better ones.
- From upstream CorsixTH: the Steam folder of Theme Hospital is found by itself, very old saves load again, and two announcer lines have English subtitles.
- This build does not play with older ones (118b10d and before): everybody in a game needs it.
In 118b10d (Jan's game with 7 bots, Argus)
- The town map asks first: a click on a plot you can buy says "Do you really want to start an auction for this plot? Bidding starts at $X." or "Do you really want to buy this plot for $X?". The line under the map now just says "This plot goes to auction if you click on it" (it named the other bidders, a long list with many players). In all 22 languages.
- Question boxes keep their text clear of the frame on both sides (a full line touched the right edge).
- Selling a plot back: a plot with one of the map's entrances on it could never be sold ("nobody may be on it"), because patients coming in always had a walk across it. Now only somebody on the plot, about to step onto it or walking to a spot on it stops the sale.
- Bots:
- Benches by a crowded door: a spot with patients standing on it no longer rules it out (they step aside), and the bot looks a little further from the door.
- Drinks machines where patients are thirsty and no machine is within reach, up to one per 12 patients (Agnes had 3 for 44 patients).
- More handymen (one for every 4 rooms, more for litter and machines, at most 8): one for every 4 machines mostly repairs, the others mostly clean.
- Fire extinguishers go into rooms with a costly machine (X-ray, scanner, operating theatre, ...), where they can stop a worn-out machine exploding: 1 to 3 for a hard bot, 1 for a normal one. None in the corridors any more.
- Training room: at most 3 students at once (Argus: with more they learn very slowly).
- Worn machines are replaced before they explode, and a room with no floor left no longer holds up everything else.
- Rooms in use are kept: every visit now counts as use, and toilets are always kept; bots took down toilets, theatres and clinics as "unused" and then had no space for them.
- No loan for a room that does not fit: a bot borrowed again and again for an X-ray room and a scanner that found no floor.
- Tested with four hard and four easy bots in 2 v 2 races over three game years: no desyncs.
- This build does not play with older ones (4daeabd and before): everybody in a game needs it.
In 4daeabd (Argus and Jan on the land auctions)
- The auction clock only counts down. It starts at 15 seconds and goes down one second at a time. A bid gives it 10 seconds back only when less than 10 are left; it never jumps down (a bot's bid at 13 seconds used to cut it to 10).
- The result stays 4 seconds (who won the plot and for how much), long enough to read; it closed after about one second before. The cross still closes it at once.
- The town map shows which plots go to auction: gold stripes and a small gavel on every plot you could buy where another player (or bot) could bid too. Point at a plot and the line at the bottom says "Goes to auction: NAME can bid too" or "No auction: you buy it straight away". In all 22 languages.
- Bigger sell and hand-over buttons on the town map: the red cross and the blue arrow on your own plots are the size of the gavel now, and all three sit inside the plot's top right corner (they could stick out past the plot's edge).
- This build does not play with older ones (976730b and before): everybody in a game needs it.
In 976730b (Argus: who you trade with was named in one place, the button to change it was in another)
- Trade window: the top row is Previous, the player's name on their own colour (framed) with "your ally" or "your rival" (and "a bot"), and Next. The old "Next player" button is gone.
- Every button names the player: "Send $1000 to ULI", "Ask ULI for $7000", "Offer the selected staff to ULI", "Give ULI 10 of your reputation points". Where a long name or a long language would not fit, the button keeps its short text.
- In all 22 languages; checked in English, German and Russian at normal and double size.
- This build does not play with older ones (ba57ec9 and before): everybody in a game needs it.
In ba57ec9
- Asking an ally for money is in the trade window now, under sending it: Request $X with its own slider ($1,000 to $50,000). The other player still pays or declines in a fax. The bank manager's "Ask a player" button is gone.
- Land auctions: 15 seconds to the first bid (time to read the screen), then 10 seconds after each bid (was 8). The leading bidder's yellow frame is thicker. The town map button on the auction screen is gone; its small map shows the plots well enough.
- Bots buy the plot nearest their land, not the cheapest anywhere on their side (Clive bought one across the map). A room that does not fit three times in a month gets land even when the free floor is there in bits.
- Bots keep corridors wider: a room's spot counts against it for every tile of a one tile wide gap it would leave (Agnes reached her rooms on the left through one narrow passage).
- More benches: up to 8 by a room's door and 10 by a reception desk, as the queue needs (were 4 and 6); with no spot by a wall free, a bench goes in facing any way rather than not at all.
- Fewer radiators and plants: a radiator in the corridor only where the heat map is cold, and none within 5 tiles of another; plants also 5 tiles apart. A room gets one radiator, more only where it is cold (Clive had 84 radiators and 40 plants).
- More reception desks: a desk and a receptionist for every 40 patients in the hospital (up to 3), and one more while more than 8 queue.
In 92e65a9
- Bots buy land again when they run out of floor. A room patients were waiting for (an operating theatre, say) came before the land it needed: Bertie tried its theatre, ward and psychiatry room in turn for a month, "no space" each time, and meanwhile bought no land, no benches and no doctor. Now a room with no floor waits for the land, the land is bought first, and benches and staff go on meanwhile.
- No more "That could not be done (nothing to take over)" when a person takes a bot's place in a running game. The game's own tidying up for a player who left no longer reports to anybody.
- "NAME has left: their hospital does not count for the team's goals" now names the player who left, not the hospital (a hospital keeps its first name after a takeover, so it said "BOT CLIVE has left" when Claude left).
In 6bb6ee7
- "A player has joined the game." The announcer now says it aloud when a person takes a place in a running game, in the same voice as "A player has left the game", with a rising chime. The adviser's line "NAME has joined the game." shows as before.
- Windows: bots of every level put a window on every wall tile of a room that can take one (the game refuses only the door's tiles and walls the building or another room already has).
In 830ddf2 (Jan's game with three hard bots)
- Land auctions: with a person bidding, the bots now take turns, each a moment after the last bid, so all of them can bid against you; each drops out at its own limit. (Before, they settled it among themselves in an instant and only the strongest seemed to bid.)
- Sending money: the trade window has a slider for the amount and one button that says how much; it asks "Do you really want to send $X to NAME?" before anything is sent. No more one-click $1,000, $5,000 and $20,000 buttons.
- A person joins a running game: the adviser says "NAME has joined the game." (or "is back in the game"), as when a player leaves.
- Hard bots learn from the best players: a server can name expert players; their games are saved and every morning the hard bots learn from them: room sizes, where each item stands, and on a map and place an expert played, their whole hospital. Easy and normal bots build as before. (On eu2 the experts are Argus.)
- Bots open like people: a GP's office, then a pharmacy and a general diagnosis, before toilets and a staff room; the first reception desk by the entrance patients come in by (not by the helipad).
- Rooms patients wait for come first: a treatment room diagnosed patients are waiting for (an operating theatre, say) is built soon, with a loan if needed, before radiators and benches.
- Research rooms: at least two desks and two researchers; a hard bot three of each, and its research 70% on cures and 27% on diagnosis for two years or until every cure machine is found.
- Benches: sooner where patients stand, and for a hard bot by every door; in rows with their backs to the walls, facing the corridor. A sink always against a wall.
- Land: a bot buys a plot for its hospital's value only with no loan and money to spare; and asks its team for a specialist only if its own hiring list still has none the next day.
- A bot's level is the one the room's owner set (a bot changed to easy no longer asks the language model, one changed to normal no longer builds like the experts).
In dce51a0 (found in a three-player check on eu2)
- Out of sync with three or more players (people or bots): when one game drifts, only that player gets the referee's game and the others play on. That repair did not work: a loaded game kept its money as 50000.0 instead of 50000, so the repaired player looked out of sync again at once, and everybody waited about a minute. Saves now keep every number exactly as it was.
- The players whose game was fine got the box "out of sync, please restart" and their game paused. The server now tells them that another player is being repaired, and they just play on.
- After such a repair the server's referee stopped checking the game; it now carries on.
In c5546f3 (Jan's look at the level menu)
- A new bot is a hard one unless the host picks another level. A right click on a bot in the room opens a small framed menu that says just Easy, Normal and Hard, with the bot's level now shown pressed in. Easy: no help from the language model, no hidden money. Normal: $2,000 a month the others do not see. Hard: $8,000 and 5 reputation a month, its hospital's value counts a fifth more towards the goals, only every second death counts, and it bids higher at auctions. All of it stops once a person plays that hospital.
- Every bot says its level: "Bot Agnes (hard bot)" in the room, in the list of places of a running game, and in the Players window ("hard bot" as its status). In all 22 languages, measured so every line fits; the host's hint after a bot's name is shorter where it did not ("click: remove" in English).
- The menu to remove a player from the room looks the same, and neither menu writes its choice into the line any more.
Since the stable build a03adfd (from 163ae5d, 93eb83f, f048bb3, c5546f3 and dce51a0)
- Join a game that is already running: take a place a bot plays or one whose player has left. A player who leaves gets a stand-in bot after 20 seconds, under their own name.
- A dropped connection: join the same room under the same name and you get your place back at once. The server notices a dead connection after 20 seconds; a game whose last player dropped waits 5 minutes, one left on purpose closes at once.
- Easy, normal and hard bots (above); bots build a second ward or diagnosis room only while patients wait for the first.
- Land auctions: a short, big top line, a countdown next to the gavel, plot numbers and borders on the small map, "Winning bidder" under the leader, the town map during an auction, and the auction in front of the town map when it starts. A plot can be handed to an ally while people walk across it.
- Players window: a Team column, "Rep", a Ping column for bigger numbers. Empty rooms close; lines in the room list fit their row; "away - bot" for a player a bot stands in for.
- Argus's fixes: shirt colours in the queue window, vaccination sound only for the player who marks the patient, the research and staff prices kept when you switch players, no two evil handymen at once.