NoFantasy
b780e2dd80
[8646] Add basic support for QUEST_FLAGS_PARTY_ACCEPT (2).
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-10-14 19:19:49 +02:00
NoFantasy
38aac1a77a
[8533] Not remove timed quest and correctly fail when time runs out.
...
Add function to remove timed quest instead of direct access to set.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-09-25 16:02:53 +02: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
NoFantasy
2f3aa9bd71
[8087] Cleanup code.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-29 02:21:17 +04:00
tomrus88
a57bf5a78b
Applied coding style.
2009-05-29 19:23:28 +04:00
tomrus88
e454cb693d
Merge branch 'master' into 310
...
Conflicts:
src/game/GameObject.h
src/game/MiscHandler.cpp
src/game/Player.cpp
src/game/QueryHandler.cpp
src/game/QuestHandler.cpp
src/game/SkillHandler.cpp
src/game/SpellAuras.cpp
src/game/SpellEffects.cpp
src/game/Unit.cpp
src/game/WorldSession.h
2009-05-29 19:15:43 +04:00
tomrus88
42f8ce5f3e
[7911] Applied coding style.
2009-05-29 19:07:28 +04:00
tomrus88
2f15546120
Merge commit 'origin/master' into 310
2009-05-25 21:57:59 +04:00
SeT
0b020154d9
[7894] Avoid show quest sign for trainer under cursor if trianer have unavailable quest.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-25 06:48:06 +04:00
tomrus88
5e26a2a152
Just a few renames.
2009-05-09 16:01:31 +04:00
tomrus88
6821c24268
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-06 09:40:35 +04:00
daveh
6c74fc95df
[7774] Fix pet quest giver doesn't update status.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-05 14:32:27 +04:00
DonTomika
f60df52dfc
[7773] Implement some statistics only achievement criteria
...
* ACHIEVEMENT_CRITERIA_TYPE_QUEST_ABANDONED
* ACHIEVEMENT_CRITERIA_TYPE_FLIGHT_PATHS_TAKEN
* ACHIEVEMENT_CRITERIA_TYPE_ACCEPTED_SUMMONINGS
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-05 14:27:41 +04:00
tomrus88
e75e66063e
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/UpdateData.cpp
2009-05-05 10:44:12 +04:00
megamage
ebafe6a7b9
[7755] Allow mini-pet has been questgivers or gossip holders.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-04 12:07:04 +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
zhenya
8144f30199
[7730] Some optimizantion and code style.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-04-29 01:05:21 +04:00
VladimirMangos
fc0e1ecdf1
[7690] Move GetCreature/GetGameobject to class Map.
...
* This let get objects at map without reference to player or another object.
* Simplify future implementation for per-map storage for like objects
2009-04-20 19:08:13 +04:00
VladimirMangos
f4adf83cd7
[7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange.
2009-04-19 22:54:40 +04:00
VladimirMangos
64158d61b3
[7345] Use in most cases dynamic quest level as expected (player level for quests witl level 0)
...
Original patch provided by NoFantasy.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-27 01:25:20 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
VladimirMangos
ee505ec9da
[7015] Implement support -1 in item_template.stackable and item_template.maxcount fields.
...
Also disable incorrect used vanity pets/currences/quest items special slotes. All items in its will be send by mail to characters at re-login.
Fixed code for item stacks operations with size > 255.
2009-01-03 19:19:53 +03:00
tomrus88
1c1bc92d54
Compile fix
2008-11-03 15:24:27 +03:00
VladimirMangos
166007525e
More fixes for wrong format arg/value pairs.
2008-11-03 01:48:16 +03:00
GriffonHeart
94e29ce6a8
[2008_10_27_01_npc_option.sql,2008_10_27_02_locales_npc_option.sql] Implement npc_option localization support, also store in DB BoxText/BoxMoney/Coded.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-27 22:20:25 +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