Commit graph

9 commits

Author SHA1 Message Date
VladimirMangos
35f54d365d Replace hardcoded client(100) and server side (255) level limtation values by defines.
(cherry picked from commit 389a1784e288f11587067d3a6d4b70cce9214cb9)

Conflicts:

	src/game/Player.cpp
	src/game/World.cpp
	src/shared/Database/DBCStructure.h
2008-12-14 23:52:32 +03:00
hunuza
0f12997ef1 [6899] Pass const reference instead of value for some strings in some functions.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-12 14:17:37 +01:00
hunuza
66c98859cf [6883] Avoid DB access on deleting guild member. 2008-12-07 15:41:46 +01:00
ApoC
571221148a [6867] Optimized working with DB in Guild code. No need of parsing/saving players data fields anymore.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-30 17:31:44 +01:00
hunuza
1ad9adc467 [6865] Improve db access in guild and arena team code.
Note: Using SetUInt32ValueInDB() is still not safe, because it's executed async.
Three possible solutions:
1) remove data field
2) get rid of SetUInt32ValueInDB() calls (probably not possible)
3) make SaveValuesArrayInDB() executed directly
2008-11-30 13:19:49 +01:00
hunuza
9d8a7aea79 Reduce number of DB queries in guild related code. 2008-11-05 18:24:17 +01:00
hunuza
90828fa699 Cache highest arena team/guild ids. Some code clean up. 2008-11-05 16:58:57 +01:00
VladimirMangos
88b1974df6 Fixed warnings, unused code and typos.
Including fix  _SCallback for 3 params, triggred mode correct call for .cast back and .cast target.
Remove outdated code for support old 19421 (and ranks) implementation in client data.
2008-11-05 05:06:35 +03:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00