summaryrefslogtreecommitdiff
path: root/src/chat-server/chathandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-09-29Don't log private chat messages.Yohann Ferreira1-8/+0
This is against privacy rules of most servers anyway. Resolves: Mana-Mantis #392.
2011-06-19Making party invite functionalStefan Dombrowski1-6/+2
* An invite expires after 60 seconds. * For protection of the server memory each player can invite a maximum of 10 characters within the 60 second timeframe. Reviewed-by: Bjorn
2011-05-30Routing party invite through the map serverStefan Dombrowski1-4/+0
The player sends party invites to the game server. If the invitee is within the visual range of the inviter, the game server forwards the invite to the chat server. Reviewed-by: Bjorn, Jaxad0127
2011-04-02Some ChatHandler cleanupsThorbjørn Lindeijer1-5/+5
* 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-20Moved defines.h and manaserv_protocol.h into 'common'Thorbjørn Lindeijer1-1/+1
Just seems a bit more organized to me.
2011-03-17Micro-optimizations related to std::stringThorbjørn Lindeijer1-2/+0
* 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-01-03Namespaced the manaserv protocol to ease the porting of the enums.Yohann Ferreira1-0/+2
Trivial.
2010-12-29protocol.h -> manaserv_protocol.h to avoid conflicts with mysql files.Yohann Ferreira1-1/+1
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 Ferreira1-12/+12
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 Lindeijer1-34/+31
Mainly for consistency with the client, and the general consensus was that these numbered versions were clearer.
2010-06-06More const correctness and small code cleanupsThorbjørn Lindeijer1-35/+21
2010-05-21Fixes based on cppcheck errors report.Yohann Ferreira1-2/+2
Reviewed-by: Jaxad0127
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
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 Lindeijer1-1/+1
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-06Fixed name of the project in copyright headersThorbjørn Lindeijer1-7/+6
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-10-09Synced the protocol file with client in protocol.h, letting other defines in ↵Bertram1-1/+1
defines.h, and removing some overheading along the way.
2009-05-24Made it possible to specify the host to listen onBjørn Lindeijer1-2/+2
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 Lindeijer1-4/+4
Also renamed Guild::totalMembers to Guild::memberCount
2009-04-23Added listing all online usersDavid Athay1-0/+21
2009-04-23Reworked party invites, now sends rejections and checks the invites are validDavid Athay1-0/+5
2009-03-06Added transactional history to game server.David Athay1-1/+1
2009-03-05Added transactions for chat events.David Athay1-2/+78
2009-01-27Changed guild member permissions. Restricted players to owning only 1 guild.David Athay1-0/+3
2008-11-25Separated out the handlers for guild and partyDavid Athay1-499/+1
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-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
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 Athay1-0/+38
2008-10-15Added communicating change of direction to clients.David Athay1-6/+20
2008-08-18Changed guilds to use character id.David Athay1-31/+46
2008-08-18Misc fixes with guildDavid Athay1-2/+4
2008-08-13Added permission levels to guilds, and operator permissions to channels.David Athay1-0/+102
2008-07-22Add permissions to guild membersDavid Athay1-17/+16
2008-07-07get rid of channel registeringRoderic Morris1-74/+11
2008-07-07Added party support between account and game servers.David Athay1-4/+22
2008-06-26fix compile error, and improve guild related methodsRoderic Morris1-1/+1
2008-06-25handle topic changing and guild eventsRoderic Morris1-21/+52
2008-06-10update chat packet defs, get rid of unused functionsRoderic Morris1-66/+0
2008-06-03stop storing channels in the db, send channel announcementsRoderic Morris1-15/+12
2008-05-23Use guildmanager to add users to guilds so its stored in the db.David Athay1-2/+2
2008-05-22Fixed compilation with GCC 4.3 (patch by rodge).Bjørn Lindeijer1-0/+1
2008-05-14Added channel registration check to ensure that channel name is not in useDavid Athay1-1/+3
2008-04-28Added sending who accepted invite on invite response to clientDavid Athay1-0/+1
2008-04-22Added more support for partiesDavid Athay1-10/+97
2008-04-18Remove channel when leader quits guild.David Athay1-0/+7
2008-04-18Fixed guilds not being removed when leader quits.David Athay1-7/+2