VladimirMangos
b8a4b6f522
[6923] Fixed opcide table miscompilation at VC in x64 release mode.
...
In 303 branch it showup as crash at most chat commands.
2008-12-20 03:55:14 +03:00
freghar
9f2e089b42
[6922] Whitespace and newline fixes
...
This should fix the GCC "no newline at end of file" warnings.
Signed-off-by: freghar <compmancz@gmail.com>
2008-12-20 01:46:21 +01:00
DiSlord
546df44169
[6921] Fixed level depend spell damage calculation (limit it to spell base - max level)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 03:01:22 +03:00
tomrus88
4c258e20a1
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
2008-12-19 17:30:26 +03:00
Wyk3d
5ba3796480
[6920] Cleaned up DatabaseImpl and added support for async queries with 3 parameters passed to the callback.
2008-12-19 15:55:38 +02:00
Wyk3d
162ca267f1
[6919] Fixed character rename at login and optimized the query.
2008-12-19 15:52:18 +02:00
GriffonHeart
11c45937b3
Implement quest completing at spell 53341, 53343 cast. Also implement item 38607 using cast.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-19 07:23:58 +03:00
DiSlord
684c386f3a
[6918] Not use enchant m_amount as spell basepoint by default (only for random enchants)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-19 03:10:25 +03:00
DiSlord
28d2d45a46
[6917] Fix field multiplier ad load Arena Info. patch from killdozer.
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-18 14:30:58 +03:00
VladimirMangos
7891238bde
Level stats for >70 and new class. Data for new class levels <55 same as class 1 for same race (mostly).
...
Also fox item_template data structure in mangos.sql (add data for new fields).
2008-12-18 05:58:01 +03:00
VladimirMangos
771f9b2375
[6916] Fixed typos in spell checking code.
2008-12-18 03:14:10 +03:00
VladimirMangos
29b37f4b6c
[6915] Fixed use uninitialized petition type variable in petition signing code.
2008-12-17 02:05:36 +03:00
DiSlord
213a10dcbd
Implement 277 SPELL_AURA_MOD_MAX_AFFECTED_TARGETS
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-17 01:52:10 +03:00
DiSlord
2c1f19d997
Implement 275 SPELL_AURA_MOD_IGNORE_SHAPESHIFT
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-17 00:46:53 +03:00
DiSlord
3604f3fa1f
Fixed last comit comments, names
2008-12-17 00:41:07 +03:00
DiSlord
668c3d4b4c
* Better implement 202 SPELL_AURA_IGNORE_COMBAT_RESULT based on SpellClassMask
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-16 23:25:27 +03:00
DiSlord
a33a7f67f7
* Implement 246 SPELL_AURA_MOD_DURATION_OF_EFFECTS_BY_DISPEL
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-16 22:43:18 +03:00
VladimirMangos
fc684dc737
Simplify check in reagent cheking code. Small code cleanups after recent commit.
2008-12-16 19:19:31 +03:00
DiSlord
f1cc9dc319
* Add some aura names and comments
...
* Implement 256 SPELL_AURA_NO_REAGENT_USE aura
* Move no reagent check to Player::CanNoReagentCast
* Add some func for get/check SpellClassMask (used in some new aura/effect)
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-16 18:24:30 +03:00
ApoC
34bef19e63
[6914] Fixed missing comma.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 13:48:11 +01:00
tomrus88
96ea56ee8f
Compile fix
2008-12-16 07:57:08 +03:00
tomrus88
71b1065c8b
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Chat.h
src/game/Player.h
src/game/World.h
src/game/debugcmds.cpp
2008-12-16 07:30:23 +03:00
ApoC
98281cc389
[6913] Fixed guild creation after adding stronger checks.
...
Fixed _return_ typo in guild charter sign code.
Merged some sql queries into one.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 05:17:31 +01:00
ApoC
d43bd7efe9
Added missing alters to db_version.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 02:20:45 +01:00
ApoC
d34842f786
Typo fix.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 02:14:48 +01:00
ApoC
8ffb28a174
Added missing changes from arena patch.
...
Renumbered texts to be continuous.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 02:03:23 +01:00
ApoC
6bd2bc4125
[6912] Removed forgotten define.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 00:46:02 +01:00
ApoC
ef903e485c
[6911] Fixed typo.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 00:32:38 +01:00
ApoC
a5331ab517
[6910] Implemented rewritten arenas. Original author w12x@getmangos.com
...
Many thanks also to:
Balrok@github.com for long time updating.
Triply@github.com for great work in rewriting process.
All who I forget to name.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 00:17:24 +01:00
ApoC
c51a6bc59e
Fixed runtime abort in WorldSession::HandleChangePlayerNameOpcodeCallBack .
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-15 14:31:31 +01:00
tomrus88
053d60a3f7
Added wotlk sql updates to mangos.sql
2008-12-15 11:25:21 +03:00
VladimirMangos
a89080730d
[6909] Correctly equip all possible amount non stackable items from custom initial items with >1 amount instead equip single and ignore other.
...
Also corrently report error at buy to equip slot not single item (impossible using normal client way)
instead silencely ingnore amount and equip single by stack price.
2008-12-15 03:12:46 +03:00
DiSlord
b2e76d4712
Merge branch '303-willcrashforsure' of git@github.com:mangos/mangos into 303
2008-12-15 02:08:00 +03:00
DiSlord
f7701b87a1
Some work vs SPELL_AURA_PERIODIC_DUMMY aura
...
* Optimisation
* Implement Warrior 61216 and ranks
* Implement Druid 22842
* Implement Hunter 53301 and ranks, 53511 and ranks
* Implement DK 45524 and related spells, 48978 and ranks
* Some comments for future
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-15 02:07:24 +03:00
tomrus88
ac4791e419
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
src/shared/Database/DBCStructure.h
2008-12-15 01:23:37 +03:00
tomrus88
344e3b02e3
whitespace removed
2008-12-15 00:37:17 +03:00
tomrus88
c875fd698f
Fixed typo in map extractor. Patch provided by andstan.
2008-12-15 00:35:05 +03:00
balrok
a62801aee9
[6908] Faster setting online=0 at startup and semilar queries.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-15 00:13:39 +03:00
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
VladimirMangos
5113af643e
Some fields comments for ChrClass and ChrRace. Also optimize code (set MAX_RACES to max_player_race+1).
...
Note: MAX_* moved out of enum. This is not nice include value _not_ belong to enum values into enum.
Maybe in C this not make sense (enum range = int anyway) but in C++ enum values checked at assigning/etc.
(cherry picked from commit f157c4e3d5e18878c7ab0dae383acb7704c3ed90)
2008-12-14 23:27:57 +03:00
bloutix
f5c4fe86e8
Correctly select GM level in case heroic class.
...
Signed-off-by: bloutix <bloutix@getmangos.com>
Move heroic class starting level to mangos.conf
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-14 23:14:17 +03:00
VladimirMangos
c798318b7b
Replace hardcoded client(100) and server side (255) level limtation values by defines.
2008-12-14 22:18:52 +03:00
VladimirMangos
09e8ea2ae6
Update effect 155 name -> SPELL_EFFECT_TITAN_GRIP
2008-12-14 22:18:00 +03:00
VladimirMangos
cb4d97ee1d
Some fields comments for ChrClass and ChrRace. Also optimize code (set MAX_RACES to max_player_race+1).
...
Note: MAX_* moved out of enum. This is not nice include value _not_ belong to enum values into enum.
Maybe in C this not make sense (enum range = int anyway) but in C++ enum values checked at assigning/etc.
2008-12-14 20:51:27 +03:00
TERRANZ
558909614a
Implement one hand wielding two-hand weapon ability (warrior talent 46917)
...
Signed-off-by: TERRANZ <TERRANZ@mangos.ru>
Small slot checking fixes and make dual wielding dependent from related ability.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-14 19:29:31 +03:00
hunuza
08a3105312
[6907] Make DB access on char rename async.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-14 00:20:38 +01:00
Wyk3d
6f8f621626
[6906] Revert "Reduced number of cells (doubled max visibility distance)."
...
This reverts a part of commit eb60f74c8f9a508fecaa66aa5b8a2fbf026e6479 that caused some performance issues.
2008-12-13 22:19:37 +02:00
tomrus88
4f55ef857a
Merge branch 'master' into 303
...
Conflicts:
src/game/MovementHandler.cpp
2008-12-13 23:16:44 +03:00
arrai
d97a8d33b9
[6905] Fixed items with both healing and energizing effects
...
Store fall information also at MSG_MOVE_FALL_LAND
2008-12-13 19:05:42 +01:00
derex
fc5e12c828
[6904] Fix possible crash by client sending several times CMSG_PLAYER_LOGIN.
2008-12-13 19:07:36 +02:00