horn
b0803d7e37
Core/PacketIO: Enabled CMSG_GUILD_LEAVE, MSG_TABARDVENDOR_ACTIVATE and some petitions releated opcodes
2012-08-03 16:49:27 +02:00
Shauren
e732b96419
Core/Guilds: Added level to guild class and moved sending motd after player is added to world
2012-07-19 16:07:37 +02:00
Shauren
06a4ade88a
Core/Achievements: Implemented guild achievements
2012-07-09 11:08:33 +02:00
kaelima
99086ac8a8
Core/Protocol: Refix MSG_GUILD_PERMISSIONS after a misstake in my last commit
2012-01-18 19:01:22 +01:00
Nay
9c26ce8da5
Merge branch 'master' into 4.x
...
Conflicts:
src/server/game/Achievements/AchievementMgr.cpp
src/server/game/Achievements/AchievementMgr.h
src/server/game/Entities/Corpse/Corpse.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Quests/QuestDef.cpp
src/server/shared/Database/Implementation/CharacterDatabase.cpp
src/server/shared/Database/Implementation/CharacterDatabase.h
2012-01-07 17:13:42 +00:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
Nay
090bb5a45e
Core/Guild: Fix and enable SMSG_GUILD_QUERY_RESPONSE
...
- Update GuildEvents for 4.x (by Spp)
2011-12-22 19:53:47 +00:00
Nay
869a8644e5
Core/Guild: Fix and enable CMSG_GUILD_QUERY
2011-12-22 03:49:36 +00:00
megamage
c8251bc619
Remove some "_" from private methods as required by TC standards. Thanks to Shauren for pointing out.
2011-10-13 17:01:55 -04:00
Bootz
96d7a1e970
REPO: code-style clean-up
...
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp-
aa85553bfd
Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
...
- "const uint64" and "uint64 const" --> uint64
- Add some info in LFGDungeonEntry
- Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +02:00
Spp
e7327e7e94
Core: Fix compile without PCH and fix some warnings
2011-08-03 11:23:08 +02:00
Spp-
acd0fc79f6
Core: Pass by const reference for simple objects replaced with pass by value
2011-08-01 14:23:27 +02:00
Spp-
b2a84d9f1e
Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons)
2011-07-27 12:14:27 +02:00
click
da03bbbdab
Core: Yet more cleanups in codestyle...
2011-06-12 02:06:07 +02:00
click
c77aa6e846
Core: And some more cleanups...
2011-06-12 02:00:43 +02:00
Azazel
6fb2bf4224
Core: use enum InventoryResult as return type for functions working with player items.
...
Original patch by TOM_RUS.
2011-04-29 16:48:15 +06:00
leak
b6074f90da
Core: Cleaned up leftovers from loading functions streamlining
2011-03-10 22:22:29 +01:00
Shauren
e5347a3bda
Core: Fixed warnings:
...
C4100: 'variable' : unreferenced formal parameter
C4701: potentially uninitialized local variable
C4389: '!=' : signed/unsigned mismatch
C4245: 'argument' : conversion from 'X' to 'Y', signed/unsigned mismatch
2011-03-08 16:42:00 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
click
2642894342
Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
...
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.
--HG--
branch : trunk
2010-12-13 22:37:56 +01:00
azazel
c0faed2251
Core/Guilds: guild code was completely refactored and rewritten.
...
* OOP desing and implementation;
* all the queries are moved to prepared statements;
* guild loading is optimized;
* all the possible interaction with guild's data is done inside the guild class;
* added more hooks to GuildScript class;
WARNING: Make sure you backup your characters database before applying this change (just in case).
Known problems with guilds:
* when new member is added to the guild, MOTD is not displayed for him in guild tab of social window;
* if you add item with random property to guild bank visual representation of item below it becomes wrong (it displays wrong stack number);
* packets order differs from official: currently guild bank packet traffic is twice as more than on offy.
--HG--
branch : trunk
2010-10-17 19:54:13 +06:00
click
613b81f36f
REALLY fix the CRLF-crap...
...
--HG--
branch : trunk
2010-10-07 15:54:07 +02:00
click
8ea4b32fab
Update copyright headers (following the same standard in all files = good)
...
--HG--
branch : trunk
2010-10-07 12:41:56 +02:00
linencloth
33babfa2d2
Core: Optimize guild loading
...
--HG--
branch : trunk
2010-09-18 21:24:05 +02:00
linencloth
d8a854d6e0
Core: Cleanup locale handling.
...
It also fixes the recent problem of strange strings.
--HG--
branch : trunk
2010-09-17 07:04:29 +02:00
Shocker
de9ed810ef
Core/Guilds: Fix Guild bank event log for big stacks, fixes issue 3996, thanks maketheking for pointing out the problem
...
--HG--
branch : trunk
2010-09-13 22:41:32 +03:00
Machiavelli
a41e99223e
Core/DBLayer:
...
* Rename QueryResult class to ResultSet
* Rename QueryResult_AutoPtr to QueryResult
* Declare ACE refcounted auto pointer for PreparedResultSet class
--HG--
branch : trunk
2010-09-11 21:10:54 +02:00
Machiavelli
9f5708f4f5
Wrap guild_bank_item save queries in transactions.
...
Fixes a potential dataloss issue
--HG--
branch : trunk
2010-08-30 19:19:47 +02:00
Spp
9e4357c9ad
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-24 14:44:56 +02:00
Machiavelli
8cfc3782e3
Fix linux build (with PCH enabled, mind you)
...
--HG--
branch : trunk
2010-08-21 03:44:02 +02:00
Machiavelli
994186f267
DB Layer:
...
- Make SQL Transactions actual objects used in code. (Thanks to Derex for the idea)
* Uncommitted transactions will be automatically rolled back and cleaned up using ACE_Refcounted_Auto_Ptr, so no need to call Rollback() in the code.
* Prevents recursive transactions and makes developers aware of transactions going on.
* Gets rid of unneccesary overhead iterating over a concurrent map.
- Some cleanups in affected code, including better usage of transaction control in AH / mail related code to prevent data loss.
*** Experimental, use at own risk, recommended to backup your DBs. ***
--HG--
branch : trunk
2010-08-21 03:19:25 +02:00
silinoron
8d0a058411
Add a GuildScript class with a handful of hooks.
...
--HG--
branch : trunk
2010-08-14 12:17:05 -07:00
azazel
9bd2619425
Fixed memory leaks at guild unload/disband (author: porteyoplait)
...
--HG--
branch : trunk
2010-08-13 17:39:43 +06:00
Brian
22d75dabda
* Send the proper number of accounts in a guild in the SMSG_GUILD_INFO packet
...
* Patch by Toinan67
--HG--
branch : trunk
2010-07-28 17:19:39 -06:00
Rat
75b80d9f5b
rearranged core files
...
--HG--
branch : trunk
2010-06-05 23:40:08 +02:00