Commit graph

97 commits

Author SHA1 Message Date
tomrus88
6f2b9a7e80 Merge commit 'origin/master' into 320 2009-09-14 16:32:59 +04:00
VladimirMangos
50d426e72c [8496] Resolve some #include cycles and unsafe code.
* Common.h  -> Threading.h ->  Errors.h -> Common.h
* Remove reduncdent #include "ByteBuffer.h" in headers
* Remove redundent #include "Auth/BigNumber.h" in headers
* Avoid multyply data copy at use some now dropped functions in BigNumber.
* Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber.
2009-09-14 05:59:57 +04:00
tomrus88
3b9875db8f Updated to 10433 client build. 2009-09-10 16:07:14 +04:00
tomrus88
4a8431f581 Merge commit 'origin/master' into 320
Conflicts:
	src/game/DBCStructure.h
	src/game/DBCfmt.h
	src/game/MiscHandler.cpp
	src/game/ObjectMgr.cpp
2009-09-04 21:16:59 +04:00
tomrus88
2a1e4949a2 Updated to 10392 client build. 2009-09-04 21:13:33 +04:00
arrai
3b1b68595b [8445] Fixed redundant calculation of v and s on every login
The SRP-6 specifications clearly say, that v and s are only to be
calculated on registering a user and changing his password; calculating
them on every login is plain waste.
2009-09-01 02:42:50 +02:00
tomrus88
9c8a0d615e Merge commit 'origin/master' into 320
Conflicts:
	src/game/WorldSession.cpp
2009-08-30 15:52:20 +04:00
VladimirMangos
8a7b77c088 [8441] Implement check DBs versions (required_* fields) at mangosd/realmd loading.
* git_id updated to generate revision_sql.h file with required_* fields strings.
* mangosd/realmd changed to include header and check this strings at startup.
* mangosd/realmd will terminated if related strings not match in DB content.
  In most cases this meaning that not all expected sql updates applied.
  Current required_* field stored in DB output in error to help find what last sql updates applied.

IMPORTNAT NOTE for mangos devs: please update used git_id before adding next commits with sql updates!
2009-08-30 15:02:10 +04:00
tomrus88
0f5380a385 Updated to latest build 10371. 2009-08-28 17:26:59 +04:00
tomrus88
af8ec3d94f Updated to latest client build 10357. 2009-08-27 01:47:49 +04:00
tomrus88
f553cf2887 Merge commit 'origin/master' into 320
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/DuelHandler.cpp
	src/game/ItemHandler.cpp
	src/game/Mail.cpp
	src/game/MiscHandler.cpp
	src/game/MovementHandler.cpp
	src/game/TaxiHandler.cpp
	src/game/WorldSession.h
	src/game/WorldSocket.cpp
2009-08-17 10:31:02 +04:00
arrai
a24f39a36f [8378] Use exceptions instead of explicit size checking for each packet
CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd
could crash due to the asserts in ByteBuffer.h. That was exploitable by
malicious players.
Furthermore, there were duplicate checks: Additionally to
CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye
on not exceeding the packet boundaries - just to crash the server for
sure in such a case.
To prevent memory leaks or other undesirable states, please read in
every handler all variables _before_ doing any concrete handling.
2009-08-16 23:50:22 +02:00
tomrus88
48a470dfc1 Merge commit 'origin/master' into 320 2009-08-15 10:16:27 +04:00
tomrus88
d9a9175c47 Updated to client build 10257. 2009-08-15 10:15:47 +04:00
VladimirMangos
7caf5b5b2f [8344] In case battleground reward items player must "receive" instead "create" item in message. 2009-08-10 15:28:05 +04:00
VladimirMangos
93ed08e886 [8343] Extand level allowed range for item use to upper values if it end at max player level.
Also add DEFAULT_MAX_LEVEL define for store current used client expection about max player level.
For example for current supported this is 80.
2009-08-10 14:22:50 +04:00
tomrus88
f07363e9e0 Merge commit 'origin/master' into 320
Conflicts:
	src/game/MovementHandler.cpp
	src/game/Player.cpp
2009-08-09 20:18:41 +04:00
VladimirMangos
7baebcd2de [8328] Fixed problem with crash at startup in result destroy anti-freeze thread runnable.
* Destroy runnable only if no references.
* Some code cleanups
2009-08-08 11:00:03 +04:00
tomrus88
d24461e300 Merge commit 'origin/master' into 320 2009-08-07 23:48:00 +04:00
VladimirMangos
0f364bf00a [8318] Deleted as expected runnable objects at related Thread deleting for avoid memory leaks. 2009-08-05 20:22:54 +04:00
tomrus88
c30cfd71f5 Updated to 10192 client build. 2009-08-01 09:22:00 +04:00
tomrus88
2e2350d800 Updated to 10179 client build. 2009-07-31 01:06:39 +04:00
tomrus88
eea0213d78 Updated to 10170 client build. 2009-07-30 08:21:54 +04:00
tomrus88
7c52111fb1 Fixed /played chat command.
(cherry picked from commit 3e49bbe692ea5f44ea2daffdfe970a7201d501f5)

Conflicts:

	src/game/MiscHandler.cpp
	src/game/SharedDefines.h
	src/game/UpdateFields.h
	src/realmd/AuthCodes.h
2009-07-29 15:14:23 +04:00
tomrus88
be8eaf4e46 Just merge commit 'origin/master' into 320
Conflicts:
	src/game/MiscHandler.cpp
2009-07-28 17:05:38 +04:00
freghar
c3d26f6fa2 [8255] Makefile.am cleanup, comments + indent
Signed-off-by: freghar <compmancz@gmail.com>
2009-07-27 03:35:53 +02:00
tomrus88
1c93b206e8 Updated to 10147 client build. 2009-07-25 13:50:28 +04:00
tomrus88
09907c8e61 Updated to 10128 client build. 2009-07-21 23:19:24 +04:00
tomrus88
3de88aef12 Updated to 10116 client build. 2009-07-17 17:01:47 +04:00
tomrus88
755c8a1a81 Updated to 10083 client build. 2009-07-11 07:46:50 +04:00
tomrus88
c9258deb5a Updated to 10072 client build. 2009-07-08 22:03:53 +04:00
tomrus88
f8740c15ef Updated to latest PTR build 10048. 2009-06-30 09:46:27 +04:00
tomrus88
7df6372458 Updated to client 3.2.0.10026, not tested. 2009-06-24 10:23:02 +04:00
VladimirMangos
634fda8475 [8067] Fixed tabs and trailing whitespaces in code. 2009-06-22 15:43:47 +04:00
tomrus88
cffbb8661b Merge commit 'origin/master' into 310
Conflicts:
	src/game/Player.cpp
	src/game/SpellAuras.cpp
2009-06-02 15:01:26 +04:00
tomrus88
4154d606cc Updated to 3.1.3.9947 client build. 2009-06-02 14:58:59 +04:00
XTZGZoReX
9166cd9ef3 [7940] Print only warnings on SSLeay check.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-01 15:52:37 +04:00
AlexDereka
dacdf4e60f [7937] Check OpenSSL lib at server start up. 2009-06-01 11:43:04 +04:00
tomrus88
42f8ce5f3e [7911] Applied coding style. 2009-05-29 19:07:28 +04:00
tomrus88
182cedd3c0 Some coding style. 2009-05-24 10:03:48 +04:00
VladimirMangos
f72a8bc6dc Merge commit 'origin/master' into 310 2009-05-23 01:55:33 +04:00
VladimirMangos
3beec18f4e [7873] Use same name for realmd DB connection in realmd code as used in mangosd/game. 2009-05-22 16:27:46 +04:00
tomrus88
f499a8cba3 Updated to latest PTR build 9901. 2009-05-14 02:14:34 +04:00
tomrus88
92401853c5 Updated to latest PTR build. 2009-05-12 01:20:12 +04:00
tomrus88
c86290fa50 Merge commit 'origin/master' into 310 2009-05-11 15:11:02 +04:00
Ambal
2aff48cc5d [7810] Moved ZThread related code on ACE framework.
Remove ZThread source code from mangos.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-11 12:14:22 +04:00
tomrus88
12bd33afc6 Removed unsupported client build. 2009-05-10 13:04:57 +04:00
tomrus88
7e938af972 Updated to latest PTR client build 9868. 2009-05-05 10:41:22 +04:00
tomrus88
b980e9ac59 Updated to 3.1.2.9855 client build, fixed quests, some work on monster movement. Not tested. 2009-05-02 19:41:00 +04:00
tomrus88
e2fdeb0e52 Updated to latest client build 3.1.1.9835 2009-04-29 01:46:18 +04:00