summaryrefslogtreecommitdiff
path: root/src/chat-server/guildhandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-04-19Fixed guild supportErik Schilling1-106/+131
List of things fixed: - fixed having multiple guild support everywhere - implemented kick code (untested due to missing kick possiblity in client) - fixed giving owner rights to next member when owner leaves guild - fixed potentional segmention fault when trying to access deleted guild after all members left - fixed saving right changes to database - made searching for guilds faster a bit (at least when having many guilds) TODO: + Fix conflict between guild and normal channels + Fix being able to leave guild channel without leaving guild itself + Add kick possiblity to client Reviewed-by: bjorn.
2011-04-02Some ChatHandler cleanupsThorbjørn Lindeijer1-7/+4
* 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/+2
Just seems a bit more organized to me.
2011-03-17Micro-optimizations related to std::stringThorbjørn Lindeijer1-2/+2
* 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/+1
Trivial.
2010-12-29protocol.h -> manaserv_protocol.h to avoid conflicts with mysql files.Yohann Ferreira1-1/+1
Resolves: Mana-Mantis #278.
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-39/+39
Mainly for consistency with the client, and the general consensus was that these numbered versions were clearer.
2010-06-06Made methods of the Guild class const where appropriateThorbjørn Lindeijer1-9/+3
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
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-24Fixed a few code style issuesBjørn Lindeijer1-28/+24
Also renamed Guild::totalMembers to Guild::memberCount
2009-01-27Changed guild member permissions. Restricted players to owning only 1 guild.David Athay1-14/+51
2008-12-18Fix bug with removing players from guildDavid Athay1-7/+5
2008-11-25Separated out the handlers for guild and partyDavid Athay1-0/+371