Commit graph

2841 commits

Author SHA1 Message Date
VladimirMangos
45ac0c5036 [6940] Update spell_learn_spell. 2008-12-24 16:11:37 +03:00
NeatElves
1e5dad839f [6939] Fixing problems with quest_template.RewHonorableKills.
1) field not been added in time original sql update.
2) provided default value for field.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-24 07:13:27 +03:00
VladimirMangos
f42eb05a4b [6938] Better check for skipping triggred spells at .learn all_myspell command use.
This not solve all cases unexpected spell learning for class but result a lot better
including avoid known examples problematic spells learned early.
2008-12-24 06:59:34 +03:00
VladimirMangos
eeabb03e2d [6937] Implement another character level requirement for heroic character creating.
Add option to mangosd.conf for set required level for this limitation or let disable limitation.
2008-12-24 05:54:49 +03:00
VladimirMangos
e6e35f38d1 [6936] Update spell_chain table content. Most from provided data prepared by DiSlord.
Also switch to revision based numbering of sql updates.
2008-12-24 05:33:47 +03:00
VladimirMangos
904a2c40f3 [6935] Use larger buffer instead only formal size increase. 2008-12-23 23:50:32 +03:00
DiSlord
0ab8b9a036 [6934] Just update aura charge in UpdateAuraCharges() (no decrease it)
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-23 20:36:24 +03:00
arrai
513255585f [6933] Fixed resurrected players being attacked by creatures near their corpse although they were revived in a safe distance 2008-12-23 15:18:29 +01:00
VladimirMangos
7cc95eefb2 [6932] Move some old sql updates to subdir. 2008-12-23 02:04:42 +03:00
DiSlord
9024f5274f [6931] Small fix (from 3.0.3) PET_BONUS_RAP_TO_SPELLDMG for Hunter pet
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-23 02:03:56 +03:00
Wyk3d
f4ce2f6e9d [6930] Added more error output on ArenaTeam load errors. 2008-12-23 00:53:39 +02:00
DiSlord
cd6717316e [6929] Apply new formula (from 3.0.3) for block value calculation
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-23 01:41:32 +03:00
Wyk3d
ed4efc317c [6928] Corrected the handling of evade and threat for creature summoned pets. Should fix some of the setVisibility crashes. 2008-12-22 12:48:19 +03:00
hunuza
1884889f04 [6927] Send correct level in error message due to too low level to create arena team.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-22 12:47:37 +03:00
megamage
c7ba0afad4 [6926] Use buyout to buy an auction when the last bid is close to the buyout price.
Signed-off-by: megamage <megamage@getmangos.com>

Fixed cheating possibility with original patch changes.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-22 12:47:36 +03:00
begemot
128f808858 [6925] Correctly show loaded 100% for empty playercreateinfo_item.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-22 12:47:35 +03:00
balrok
d4a69e4789 [6924] Faster guild-loading.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-22 12:47:35 +03:00
VladimirMangos
6d62e595b6 [6923] Fixed opcide table miscompilation at VC in x64 release mode.
In 303 branch it showup as crash at most chat commands.
2008-12-22 12:47:34 +03:00
freghar
d75812749f [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-22 12:47:33 +03:00
DiSlord
ba868910e2 [6921] Fixed level depend spell damage calculation (limit it to spell base - max level)
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-22 12:46:53 +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
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
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
ApoC
34bef19e63 [6914] Fixed missing comma.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 13:48:11 +01: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
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
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
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
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
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
hunuza
d9de56ed2c [6903] Avoid DB access on player invite to channel. 2008-12-12 22:51:28 +01:00
Wyk3d
d8be07eabc [6902] Fixed a bug in GetScriptId related to missing script names. 2008-12-12 15:47:16 +02:00
arrai
027a3ab0bc [6901] Fixed uninitialized variables 2008-12-12 14:41:27 +01:00
VladimirMangos
e3c093a3ab [6900] Remove unneed include dependence. 2008-12-12 16:37:31 +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
VladimirMangos
d386a67d27 [6898] Prevent processing incoming packates for closed connection. 2008-12-12 02:00:47 +03:00
hunuza
ac2748a141 [6897] Avoid DB access on uninvite from group.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-11 21:37:24 +01:00
arrai
bc816b70fc [6896] Fixed fall damage after teleports 2008-12-11 17:19:32 +01:00
VladimirMangos
54207e753c [6895] Fix unexpected change backported in [6889]. Rebuild ad.exe with recent changes. 2008-12-10 19:50:33 +03:00
VladimirMangos
467090e817 [6894] Backport file name preparing code in VMapManager from 303 branch that fix also possible memory corruption. 2008-12-10 19:31:30 +03:00
VladimirMangos
477ba70782 [6893] Fixes in waypoint movement code.
Initilize variables and reset last movment timer for correct waypoints work at reset movement.
2008-12-10 18:53:57 +03:00
hunuza
2e2055c469 [6892] Some small code clean ups and optimisations.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-10 16:42:56 +01:00
arrai
9f8e51ff41 [6891] small performance fix for previous commit 2008-12-10 16:02:26 +01:00