summaryrefslogtreecommitdiff
path: root/src/chat-server
AgeCommit message (Collapse)AuthorFilesLines
2011-04-02Some ChatHandler cleanupsThorbjørn Lindeijer4-121/+21
* Removed a lot of pointless documentation that was mainly repeating the function name and otherwise just filling up space. * Synced a few method names to the names of the messages that they were handling. * Removed an unimplemented method (sendPartyMemberInfo) Reviewed-by: Jared Adams
2011-03-31Fixing account server crash when leaving guildStefan Dombrowski1-1/+3
This resolves http://bugs.manasource.org/view.php?id=323
2011-03-20Moved defines.h and manaserv_protocol.h into 'common'Thorbjørn Lindeijer6-7/+8
Just seems a bit more organized to me.
2011-03-17Micro-optimizations related to std::stringThorbjørn Lindeijer4-13/+10
* Rely on the fact that a std::string is empty by default * Use std::string::empty() rather than comparing to "" * Construct with std::string() rather than from "" Reviewed-by: Bertram
2011-03-12Removed a bunch of silly documentationThorbjørn Lindeijer4-17/+0
A C++ developer should be able to recognize a constructor and a destructor by just looking at it, so let's stop writing down the obvious. :)
2011-01-03Added missing using namespace clauses. Cmake's fault, I guess. ;)Yohann Ferreira3-0/+6
Trivial.
2011-01-03Namespaced the manaserv protocol to ease the porting of the enums.Yohann Ferreira2-0/+3
Trivial.
2010-12-29protocol.h -> manaserv_protocol.h to avoid conflicts with mysql files.Yohann Ferreira5-5/+5
Resolves: Mana-Mantis #278.
2010-12-08Fix many compiler warnings.Freeyorp1-2/+2
Reviewed-by: Bertram
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira17-55/+54
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
2010-11-03Renamed write{Byte,Short,Long} to writeInt{8,16,32}Thorbjørn Lindeijer3-80/+77
Mainly for consistency with the client, and the general consensus was that these numbered versions were clearer.
2010-10-17Synchronise defaults between configuration file and source.Freeyorp1-1/+1
Reviewed-by: Bertram
2010-06-06More const correctness and small code cleanupsThorbjørn Lindeijer8-62/+46
2010-06-06Made methods of GuildManager const where appropriateThorbjørn Lindeijer2-42/+18
Also removed some pointless null pointer checks.
2010-06-06Made methods of the Guild class const where appropriateThorbjørn Lindeijer3-37/+24
2010-05-21Fixes based on cppcheck errors report.Yohann Ferreira1-2/+2
Reviewed-by: Jaxad0127
2010-02-07Update Copyright date for Manaserv.Bertram17-17/+17
2010-01-18Reverted the accountserver-affecting changes of commits a9a87aea and ↵Philipp Sehmisch1-2/+1
dfc6875e - doesn't work out the way I planned.
2010-01-17Removed last traces of hardcoded access levels form game-server, begun with ↵Philipp Sehmisch1-1/+2
using the permission manager in the account-server.
2009-12-06Renamed DALStorage to StorageThorbjørn Lindeijer5-5/+5
The only reason it was a DALStorage was because it used to implement the Storage interface, but that interface got removed a long time ago.
2009-12-06Moved DALStorage documentation into source fileThorbjørn Lindeijer1-5/+5
Some methods were documented twice. Stuff moved to source file since this keeps the header more readable, and makes it easier to keep the documentation up to date with the implementation. Also, my IDE jumps to the definition when navigating. Removed two methods that were without an implementation.
2009-12-06Fixed name of the project in copyright headersThorbjørn Lindeijer17-145/+132
Also updated the headers to refer to the GPL by URL instead of suggesting to contact the FSF by snail mail, as per the latest GPL usage instructions.
2009-12-06Removed "TMW" and "TMWSERV" from header guardsThorbjørn Lindeijer8-16/+16
2009-12-06A host of code style changesThorbjørn Lindeijer2-20/+13
Removed pointless void in method parameter lists, fixed methods and variables that started with upper case, removed pointless 'const' for stuff passed by value, made some getters const, etc.
2009-10-09Synced the protocol file with client in protocol.h, letting other defines in ↵Bertram5-4/+5
defines.h, and removing some overheading along the way.
2009-05-24More code style fixesBjørn Lindeijer1-55/+30
2009-05-24Made it possible to specify the host to listen onBjørn Lindeijer2-4/+3
Needed when the server has multiple network interfaces and the one you want to use isn't the default one for localhost. The host to listen on can be set in config file with 'net_listenHost'.
2009-05-24Fixed a few code style issuesBjørn Lindeijer7-61/+58
Also renamed Guild::totalMembers to Guild::memberCount
2009-04-26Standardize on the position of the const keywordBjørn Lindeijer1-1/+1
Same as for the client.
2009-04-23Added listing all online usersDavid Athay2-0/+26
2009-04-23Break from while loops when found.David Athay1-5/+3
2009-04-23Reworked party invites, now sends rejections and checks the invites are validDavid Athay4-15/+99
2009-03-10Fixes for some compile warningsBjørn Lindeijer1-2/+4
Mostly comparisons between signed and unsigned integers
2009-03-06Added transactional history to game server.David Athay1-1/+1
2009-03-05Added transactions for chat events.David Athay2-3/+80
2009-02-24Made a lot of hard-coded values configuration optionsPhilipp Sehmisch2-5/+7
2009-01-27Changed guild member permissions. Restricted players to owning only 1 guild.David Athay7-49/+143
2008-12-18Fix bug with removing players from guildDavid Athay1-7/+5
2008-11-29Updated Makefile.am and added missing includeBjørn Lindeijer1-0/+2
2008-11-27Fixed bug found by b_lindeijerDavid Athay1-2/+3
2008-11-25Separated out the handlers for guild and partyDavid Athay4-500/+578
2008-11-24Fix crash where player is removed before hes left the partyDavid Athay1-3/+5
2008-11-24Stop players inviting themselves to partyDavid Athay1-0/+4
2008-11-24Change leader if leader leaves guild.David Athay1-0/+7
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer15-30/+1
2008-11-11Removed some DOS newlines from mixed filesBjørn Lindeijer1-23/+23
2008-11-04Forgot to save the files before committing, sorry.David Athay1-4/+4
2008-11-04Added notifiying party members when a player joins or leaves the party.David Athay2-0/+56
2008-11-03Added tables and statements to store and retrieve letters. Attachments not ↵Andreas Habel2-4/+27
functional as long as items not stored as individual items.
2008-10-21Fixed some compile warnings.Bjørn Lindeijer1-1/+1