click
766475ea4f
Core/Guild: Fix guildbank tab loading after recent changes (returned value of a COUNT() is always BIGINT)
2012-03-29 14:41:55 +02:00
click
b5fb1b5b64
Core: Fix a minor mistake from previous mistake and adjust some more field-types
2012-03-29 07:10:21 +02:00
click
be947eed76
Core: Fix fieldtype-errors in Guild-code - should now allow loading guildtabs etc correctly
2012-03-29 04:45:10 +02:00
Gyx
72cdcbfced
Core/Game: Code style.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-28 19:11:50 +08:00
MrSmite
887470ebdb
Guild bank - Allow deposit / withdraw money without tabs
...
closes 5637
2012-03-16 16:10:39 -04:00
Spp
f495e0efe4
Warning fixes and some random cleanup here and there
2012-03-07 14:09:18 +01:00
leak
ced346076b
Merge pull request #4567 from Kiperr/master
...
Happy new year!
2011-12-31 16:13:28 -08:00
leak
cdbeb42e0f
Core/DBLayer: Refactor prepared statement defines to new format (char db)
2012-01-01 01:09:38 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
kaelima
11fb0beaf0
Core/Misc: Fixed some duplicate checks for player typeid in Unit::Kill and Spell::EffectSummonDeadPet. Also some random cleanup
2011-12-10 13:48:41 +01: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
be12603150
Configuration/ConfigMgr: converted from singleton to namespace with free functions.
2011-09-28 13:00:43 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp-
327fe7c247
Core: Define helper functions to know if an account is Player, Moderator, GM, Admin or Console
2011-09-08 15:11:55 +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-
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
f16df538ee
Core: More codestyle cleanups
2011-06-12 01:47:45 +02:00
leak
ea06dcf418
Core/ObjectMgr: Refactor guild related functions into dedicated class
2011-05-04 10:08:09 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
01a79947d5
More cleanup after last commit spree
2011-04-29 19:59:40 +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
a82654debd
Core/ObjectMgr: Refactor sItemStorage
2011-04-28 22:42:33 +02:00
Azazel
e49b5b44d6
Core/Cleanup: remove C-style cast to (Bag*):
...
* add ToBag() methods for Item class;
* add GetBagByPos() method for Player class.
2011-03-18 15:58:08 +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
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +01:00
leak
dd751242fc
Core/Spells: Better solution for exploit check (Thanks to manuel)
...
Readd lost changes from char db type cleanup
2011-01-20 03:06:51 +01:00
leak
c59ea4726e
SQL: Characters db storage type cleanup No. 6
2011-01-20 01:02:24 +01:00
leak
a486eb0c2f
SQL: Characters db storage type cleanup No. 5
2011-01-20 00:08:45 +01:00
leak
a7df9ddff1
SQL: Characters db storage type cleanup No. 4
2011-01-19 22:46:21 +01:00
Machiavelli
deed0d0781
Core/General: Fix some comment style. //* to // *. Fixes certain code display errors on nano. Thanks to Aokromes for pointing out.
2011-01-16 12:23:17 +01:00
Machiavelli
fa8e5047a6
Core/Guilds: Fix a possible client crash in MSG_GUILD_BANK_LOG_QUERY
2011-01-10 20:57:58 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +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
Shauren
7b4e1c6387
Core/ObjectMgr: Static members are no longer accessed through singleton
...
--HG--
branch : trunk
2010-12-22 20:23:47 +01:00
azazel
b39b8fdd0d
DB Schema/Characters: removed columns auctionhouse.item_template, character_inventory.item_template, guild_bank_item.item_entry and mail_items.item_template and created item_instance.itemEntry column instead of them.
...
As a side effect moved related queries to prepared statements.
As one more side effect fixed not shown and lost mail items in returned expired mail (patch by Quriq14).
--HG--
branch : trunk
2010-12-15 14:08:12 +06: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
Machiavelli
d75eaf8e83
Core/Guild: More signed/unsigned comparison fixes. Should fix guild log loading.
...
--HG--
branch : trunk
2010-12-13 16:58:59 +01:00
Machiavelli
1a4fe4baca
Core/Guilds: Fix logic in bank withdrawal method (unsigned comparison with signed value). Should fix certain guild bank related bugs.
...
--HG--
branch : trunk
2010-12-13 16:42:09 +01:00
Machiavelli
976225a9dd
Core/DBLayer: Implement global ExecuteOrAppend methods to DatabaseWorkerPool for executing queries in a diverse context (transaction or non transaction) - instead of local to Guild.cpp
...
--HG--
branch : trunk
2010-12-13 16:27:14 +01:00
click
5f4b97fcf7
Core/Guild: Fix guildbank withdrawal limit (non-guildmaster character will not be able to withdraw more than withdraw-limit) - thanks to Azz
...
Fixes issue 4720
--HG--
branch : trunk
2010-11-11 22:59:06 +01:00
Spp
739f336618
Core: Fix warnings
...
--HG--
branch : trunk
2010-10-25 11:25:42 +02:00
linencloth
168a085723
Core/Guilds: Fix a crash
...
--HG--
branch : trunk
2010-10-21 17:15:13 +02: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
Shauren
324de6fb4c
Core: Added some anti-WPE filter checks to prevent putting non-empty bags into other bags/gbank/mail/auction, original patch from mythcore
...
Core: Changed inventory saving - will no longer abort operation at single item fail
Closes issue #1994 .
--HG--
branch : trunk
2010-10-09 17:36:53 +02:00
click
f0c4241ea4
Remove the accidental additions of CRLF-crap from the header updates
...
--HG--
branch : trunk
2010-10-07 15:35:36 +02:00