summaryrefslogtreecommitdiff
path: root/src/client.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-01-02Removed obsolete files. Added a generic trigger system.Guillaume Melquiond1-707/+0
2006-12-29Physically split the server into one tmwserv-acount program (account +Guillaume Melquiond1-2/+2
chat + database) and multiple tmwserv-game programs (selected with respect to the maps). Cleaned the repository by moving server-specific source files into dedicated directories.
2006-08-25Applied patch by Rogier, addressing TODOs in MessageOut and NetComputer.Bjørn Lindeijer1-1/+1
2006-08-14Removed Packet class and the UNKNOWN gender.Bjørn Lindeijer1-4/+2
2006-08-14Changed protocol so that server information are sent on character selection.Guillaume Melquiond1-93/+54
2006-08-10Removed ConnectionHandler::forceDisconnect method and implemented part of theBjørn Lindeijer1-1/+1
NetComputer::disconnect method instead. Makes NetComputer::getPeer unnecessary.
2006-08-06Implemented crude handling of being movements.Guillaume Melquiond1-2/+16
2006-08-01Some messing about towards making cleaner code.Bjørn Lindeijer1-8/+2
2006-07-31Fixed registering for the test client (send version as integer) and correctedBjørn Lindeijer1-4/+2
the off by one packed size.
2006-07-27Modified client version to be an int.Eugenio Favalli1-3/+3
2006-07-26Send some character's infos after a successful login, removed a useless ↵Eugenio Favalli1-2/+7
byte, added Code::Blocks project file.
2006-06-17Started handling beings on maps.Guillaume Melquiond1-0/+26
2006-06-11Sanitized message packets and errors to take server split into account.Guillaume Melquiond1-120/+89
2006-05-23Split server into three logical servers: an account server, a chat Guillaume Melquiond1-34/+62
server, and a game server.
2006-05-14Prevent account from being created when an error is detected.Guillaume Melquiond1-4/+13
Improve support of chat messages in client.
2006-05-14Applied another patch by Guillaume Melquiond which fixed a number of issuesBjørn Lindeijer1-7/+6
with the message implementation (client side should also be checked).
2006-05-13Applied patch by Guillaume Melquiond which adds ENet check and adds timer.cpp/hBjørn Lindeijer1-2/+2
to the Makefile.am. Also fixed some compilation warnings.
2006-04-28Merged enet_switch changes r2268:2309 into the trunk.Eugenio Favalli1-568/+596
2006-03-06Cleaned up unnecessary header dependencies and fixed some indentations.Björn Steinbrink1-2/+3
2006-01-24Chat Channeling Commit part 4. Renamed the slang filter into StringFilter ↵Yohann Ferreira1-2/+2
and moved some code to it. Added the missing protocol values, and implemented registering/registering of channels; More to come about it.
2006-01-21Corrected a mistake. and made a simple way to avoid crashing sql queries. ↵Yohann Ferreira1-0/+3
Need to see how we could improve it.
2006-01-21Very little corrections.Yohann Ferreira1-5/+14
2006-01-14Sever returns infos about position of the selected character (map name, ↵Eugenio Favalli1-2/+7
coordinates).
2006-01-13Made minimum client version and default map id configurable, set/getMapId ↵Eugenio Favalli1-12/+5
are now preferred.
2006-01-12Fixed default map definition for a new created character, enabled loading of ↵Eugenio Favalli1-0/+3
map when a character is on it, fixed inconsistency in getter/setter for map id.
2006-01-08Added customization of created character. (That makes previously created db ↵Yohann Ferreira1-14/+64
invalid.) Made list of map indexed by map id, instead of map name. This will prevent unsyncing of player's current map when changing a map name. Remember you have now to add a map filename into db before being able to load it. (Default map id is 1, not ZERO, as zero is the not found return value.
2006-01-05Added a standard version check.Yohann Ferreira1-1/+45
2006-01-04Added default behaviour to protocol. Added a client login limitation check. ↵Yohann Ferreira1-7/+39
Some cleanups.
2006-01-04Implemented server response handling to the test client. Fixed a bug that ↵Yohann Ferreira1-53/+365
made the Email change not possible. Changed some protocol value to have a litte neater client code. Added FreeBSD fix idea from icy to server code.
2005-12-12Use setCharacter() and unsetcharacter() to deal with addBeing() and ↵Yohann Ferreira1-5/+13
removeBeing() in the world (which are buggy). Add check when character's name already exists. Added Character list packet support.
2005-12-11Added logout and character deletion support. Changed the response code as ↵Yohann Ferreira1-11/+28
trying to login when already logged in.
2005-12-11Added unregistering, checking on character's name and email length support. ↵Yohann Ferreira1-11/+23
Also made some little tweaks. I'll start to think about a --verbose mode after adding logout and character deletion support.
2005-11-15Updated bindings, game state class and more (see ChangeLog).Aaron Marks1-0/+11
2005-11-13Nothing of much significance, mainly checking whether I can commit.Bjørn Lindeijer1-4/+6
2005-11-10Updates to Being, test client, game handler and small update to state update.Aaron Marks1-20/+48
2005-10-23Grammar Corrections, and a little bit of work on getting the name of the Db.Yohann Ferreira1-4/+4
2005-07-24Added character selection.Aaron Marks1-1/+11
2005-07-19Added character creation.Aaron Marks1-0/+13
2005-07-19a simple menu to choose optionsEugenio Favalli1-49/+83
2005-07-17Added server->client communications.Aaron Marks1-5/+17
Updated MessageHandler's to use short for message type.
2005-07-16Removed a lot of tabs used for indenting (please don't do that...), redidBjørn Lindeijer1-2/+2
MessageOut a bit so that it uses SDL_net, writes strings correctly and doesn't rely on Packet to be expandable. Also specified message IDs explicitly.
2005-07-16Added chat message handler placeholder (still not fully functional).Aaron Marks1-8/+16
Updated PostgreSQL SQL support - although there is still problem with primary key being initialized to null. Updated message enumeration.
2005-07-16Fixed problem with memory expanding in Packet.Aaron Marks1-2/+21
Server now handles register requests.
2005-07-13Implemented MessageOut.Aaron Marks1-0/+11
Rewrote MessageIn::readString - it was overly complex and didn't operate correctly. Update test client so it sends a login message.
2005-05-07Committed client to be used for testing.Bjørn Lindeijer1-0/+41