summaryrefslogtreecommitdiff
path: root/src/chat-server/guildmanager.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-08-19Apply C++11 fixitsThorbjørn Lindeijer1-11/+7
modernize-loop-convert modernize-deprecated-headers
2022-08-19Apply C++11 fixitsThorbjørn Lindeijer1-9/+9
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2013-05-02Fixed a bunch of cppcheck warningsErik Schilling1-3/+2
2012-04-19Fixed guild supportErik Schilling1-31/+32
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.
2012-02-27Fixed compilation again + some more code cleanupErik Schilling1-9/+9
I did some cleanup but i had a wrong path set inside qtcreator. So i recompiled old versions and it all worked fine. But when i recompiled from console i got a whole bunch of errors. Sorry for pushing broken commits. Reviewed-by: bjorn.
2012-02-26Renamed some iterators + fixed one TODO (stored guilds in a map)Erik Schilling1-41/+22
Reviewed-by: bjorn.
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 Lindeijer1-2/+2
Just seems a bit more organized to me.
2011-01-03Added missing using namespace clauses. Cmake's fault, I guess. ;)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-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-5/+5
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
2010-06-06Made methods of GuildManager const where appropriateThorbjørn Lindeijer1-30/+13
Also removed some pointless null pointer checks.
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-15/+15
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-0/+1
defines.h, and removing some overheading along the way.
2009-05-24Fixed a few code style issuesBjørn Lindeijer1-4/+4
Also renamed Guild::totalMembers to Guild::memberCount
2009-03-05Added transactions for chat events.David Athay1-1/+2
2009-01-27Changed guild member permissions. Restricted players to owning only 1 guild.David Athay1-6/+48
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
2008-08-18Changed guilds to use character id.David Athay1-17/+17
2008-08-13Added permission levels to guilds, and operator permissions to channels.David Athay1-0/+19
2008-07-22Save guild member permissions to dbDavid Athay1-3/+8
2008-06-26fix compile error, and improve guild related methodsRoderic Morris1-2/+2
2008-06-25handle topic changing and guild eventsRoderic Morris1-16/+21
2008-05-23Use guildmanager to add users to guilds so its stored in the db.David Athay1-10/+7
2008-04-20Fixed some compiler errors/warnings.Bjørn Lindeijer1-1/+1
2008-03-06Fixed telling clients what guilds they are in after they reconnectDavid Athay1-0/+26
2008-03-05Fixed guild creation.David Athay1-2/+2
2008-02-28Work in Progress commit of guilds.David Athay1-0/+124