summaryrefslogtreecommitdiff
path: root/src/network/network_server.cpp
AgeCommit message (Collapse)Author
2009-05-06(svn r16242) -Codechange: rework pausingrubidium
-Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-04-26(svn r16176) -Fix: forbid joining AI companies via the 'move' and 'join' ↵yexo
console commands.
2009-04-26(svn r16175) -Fix: Disable the join button in the multiplayer lobby for AI ↵yexo
companies, since joining an AI company is not possible.
2009-04-07(svn r15967) -Codechange: do not access NetworkSocketHandler::has_quit directlyrubidium
2009-04-04(svn r15947) -Codechange: replace uint32 client_ip with NetworkAddress ↵rubidium
client_address.
2009-04-03(svn r15931) -Codechange: let the host and ban lists use of SmallVector.rubidium
2009-03-25(svn r15848) -Feature: Add autoclean_novehicles setting which will, when ↵peter1138
autoclean_companies is true, remove any company with no vehicles and no active client after autoclean_novehciles-months.
2009-03-19(svn r15773) -Fix [FS#2475]: number of active clients wasn't always properlyrubidium
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-06(svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list ↵smatz
window crashed the server
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-07(svn r15395) -Fix [FS#2611] (r15377): one couldn't reset companies anymore ↵rubidium
in a 'dedicated' server.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-23(svn r15247) -Change: show a lock near the password/join button in the ↵rubidium
company window whenever the company is password protected
2009-01-23(svn r15242) -Feature: allow moving clients between companies/spectators by ↵rubidium
the server and the clients themselves (dihedral)
2009-01-21(svn r15200) -Feature: give server admins a tool to combat profanity in nick ↵rubidium
names (based on patch by dihedral)
2009-01-13(svn r15052) -Codechange: move the implementation of Send_CompanyInformation ↵rubidium
to network_server.cpp as the server's the one that sends that information
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-08(svn r14915) -Codechange: unify the receiving and sending of commands, and ↵rubidium
thus unifying most of the validity checking too.
2009-01-08(svn r14910) -Codechange: merge the command queue handling into a single ↵rubidium
location
2009-01-07(svn r14897) -Codechange: don't allow a few command flags to be sent over ↵rubidium
the network as it's bogus information anyway; e.g. the "do not send over network" flag as it will be set whenever the command is received from the server/client. -Codechange: test earlier whether the command (send from the server) is actually valid.
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2008-12-29(svn r14764) -Codechange: make the '***' chat messages like "Game paused ↵rubidium
(not enough players)" fully translateable.
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-24(svn r14733) -Fix (r14730): creating new companies didn't always work as ↵rubidium
expected.
2008-12-23(svn r14730) -Codechange: remove the need for networkclientsockets and ↵rubidium
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.
2008-12-23(svn r14727) -Codechange: replace some magic numbers with a constant.rubidium
2008-12-23(svn r14721) -Codechange: s/NetworkTCPSocketHandler/NetworkClientSocket/ as ↵rubidium
it's (way) more descriptive what it's used for.
2008-12-23(svn r14720) -Codechange: s/FOR_ALL_CLIENTS/FOR_ALL_CLIENT_SOCKETS/ as the ↵rubidium
latter describes the name more precisely.
2008-12-23(svn r14719) -Codechange: replace DEREF_CLIENT with an instance function and ↵rubidium
replace looping socket structs with info structs when the loop is only interested in the info structs (i.e. not derefing the info from sockets when one can loop info directly and the socket isn't used)
2008-12-22(svn r14717) -Change: more 'Index' -> ClientID to not confuse ClientID and ↵rubidium
ClientIndex
2008-12-22(svn r14712) -Codechange: split server and client side w.r.t. the storage of ↵rubidium
network related company information.
2008-12-22(svn r14710) -Change: simplify sending company information from the server ↵rubidium
to the client.
2008-12-22(svn r14709) -Codechange: make a clearer distinction between 'unique' client ↵rubidium
identification ids and the indices into the clients/client info arrays.
2008-11-04(svn r14564) -Fix (r14555): one more incorrect use of lastof()smatz
2008-11-03(svn r14560) -Fix [FS#2396](r14555): lengthof() can't be simply replaced by ↵smatz
lastof() in some cases (part by Aali)
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-08-31(svn r14199) -Codechange: split fileio.h into fileio_type.h and ↵rubidium
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-11(svn r14045) -Codechange: move the network's limitation to chat messages to ↵rubidium
a more logical location and give it a more consistent name.
2008-07-21(svn r13776) -Fix: some revision checking code was unintentionally disabled.rubidium
2008-07-21(svn r13775) -Codechange: enforce the validity of a NetworkAction (chat ↵glx
packet) issued by a client
2008-07-21(svn r13773) -Codechange: disable autoclean for protected/unprotected ↵rubidium
companies when the timeout is set to 0. Based on an idea by Thomas.
2008-07-19(svn r13739) -Fix (r13731): some variables would be erroneously zeroed, ↵rubidium
causing autoclean and company passwords not to work.
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13716) -Fix [FS#2144]: any player could construct new companies.rubidium
2008-07-17(svn r13714) -Fix: remove the unique_id from the message that a client has ↵rubidium
joined as it is only exposes the unique_id more than needed. Patch by dih.