Commit graph

292 commits

Author SHA1 Message Date
NoFantasy
f73b778cde [9309] Implement DB storage for new quest_template field 'RewXPId'.
Values 0-8, used to display XP reward in client log.
Please note that calculation of quest XP has changed, and formula must be corrected accordingly.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-05 14:29:27 +01:00
Foks
ca2efb713c [9305] Fix load quest locales, after implement CompletedText in 9291, v2.0
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-04 23:57:06 +03:00
VladimirMangos
d7d4c2da9f [9303] Restore skip one from startup (by DBC data) but not existed items. 2010-02-04 22:03:33 +03:00
NoFantasy
dd2239eea9 [9302] Fix load quest locales, after implement CompletedText in 9291
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-04 18:27:03 +01:00
NoFantasy
2718884192 [9300] A few more error message corrections/clarifications.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-04 12:08:33 +01:00
NoFantasy
39a61f213e [9299] Upgrade a few error messages from engrish v.1 to engrish v.2 :)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-04 00:46:25 +01:00
NoFantasy
a0a4f7a719 [9291] Implement DB storage for new quest field, CompletedText
Text will display in quest objectives window when quest is completed.
Also add locales storage

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-03 14:04:47 +01:00
VladimirMangos
66c8c75914 [9284] Realy fixed crash source added in [9228] now. 2010-02-02 14:52:52 +03:00
VladimirMangos
abce7740f8 [9233] Restore build at *nix after [9228]
Partly undo changes.

Thanks to DasBlub and Lightguard for testing.
2010-01-22 00:34:47 +03:00
zhenya
4178d5bb6a [9228] Speedup groups store and other code work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-21 17:43:27 +03:00
Lightguard
0088d1300c [9216] Fixed hunter pet XP requirements.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also move calculation to function. And avoid use operator[] for access to per-area base xp table data.
2010-01-20 05:05:23 +03:00
VladimirMangos
d59c394370 [9192] Fixed typo in error output for lock id gameobject template data check. 2010-01-16 20:58:19 +03:00
XTZGZoReX
ee26f74796 [9176] Add commented check for unit_class == 0.
In fact creature unit class must not be 0, but some creatures (like triggers) have this.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-14 21:00:41 +03:00
TOM_RUS
7985fe3d0f [9143] Typos
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-11 01:26:24 +03:00
VladimirMangos
6769171a1d [9142] Move start outfit items check to server loading.
Also drop one not needed now hack.
2010-01-11 01:18:08 +03:00
VladimirMangos
dc643371c8 [9136] Merge branch '330' - Switch to support client version 3.3.0A
You need extract new dbc.

Also recommended extract new map/vmaps.

And apply ofc sql updates that including character convertion.

Special thanks to TOM_RUS for continue work at next client versions support :)
2010-01-10 07:29:44 +03:00
VladimirMangos
1da5166c3c [9132] Fixed crash at loading from player_classlevelstats level 0 data.
Added check that prevent loading data for unexpected level 0.
2010-01-09 21:12:52 +03:00
VladimirMangos
e15f548bed Merge branch 'master' into 330 2010-01-08 16:03:27 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
VladimirMangos
aaa5cba89c [9116] Lost break/return in CONDITION_LEVEL cases. 2010-01-07 16:57:40 +03:00
NoFantasy
effe02fb25 [9111] Implement ConditionType CONDITION_LEVEL for PlayerCondition
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-05 01:59:14 +01:00
DasBlub
ebb063beb9 [9107] Fix most of the gcc warnings
* use UI64FMTD instead of "%u" for uint64 output
* on most *NIX systems, I64FMT is "%016lX" and not "%016llX"
* also fix typo: renamed GridMap::loadHeihgtData to GridMap::loadHeightData

Note: there are still many warnings from the 3rd party libraries g3dlite and ACE. Those warnings won't be fixed with that commit.
Also, a few warnings from MaNGOS are left, they'll be fixed later.

Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>
2010-01-03 15:30:22 +01:00
Hiram
253ad70197 Fixed build at branch.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also fix some lines related to internal quest flags mask.
2010-01-01 17:01:48 +03:00
tomrus88
90d76c61fa Merge remote branch 'origin/master' into 330 2009-12-19 21:04:49 +03:00
VladimirMangos
b95e3046c0 [9022] Fixed small typo in creature_template.difficulty_entry_N checks. 2009-12-19 01:30:06 +03:00
tomrus88
58892c5025 Merge remote branch 'origin/master' into 330 2009-12-18 00:11:59 +03:00
tomrus88
7d285c5ed4 Removed useless code. Mail loading triggered at login by client anyway. 2009-12-18 00:10:48 +03:00
tomrus88
57126880cf Guild bank hopefully fixed. 2009-12-17 18:57:35 +03:00
VladimirMangos
27f37ba4dc [9014] Fixed unexpected error output for "unused" db_script_string.
When it reallt used in `gossip_scripts`.
2009-12-17 16:54:02 +03:00
tomrus88
c745c5072f Merge remote branch 'origin/master' into 330 2009-12-16 02:45:05 +03:00
NoFantasy
4f5ed57fc2 [8976] Implement CONDITION_RACE_CLASS
Condition has independent value1 (race mask) and value2 (class mask) fields and can be used with one or both.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-12 17:53:27 +01:00
tomrus88
7c6cae1af7 Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/ObjectMgr.h
2009-12-11 21:50:24 +03:00
NoFantasy
fb6712f3a3 [8970] Implement CONDITION_AREA_FLAG
Value1 is for "include flag", Value2 for "not include flag"

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-11 18:37:57 +01:00
NoFantasy
d3b19f8aa4 [8955] Check gossip_menu_option table for GOSSIP_OPTION_NONE and output error if exist
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-09 12:52:17 +01:00
Qowyn
d604b0a120 [8951] Fixed loading locales_gossip_menu_option.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-08 22:15:04 +03:00
NoFantasy
5d2189b7b7 [8929] Implement gossip scripts to be used with gossip_menu_option.action_script_id
Note that script is implemented for GOSSIP_OPTION_GOSSIP only (as not expected needed for other gossip options).
Also add a few more startup checks for LoadGossipMenuItems with check for basic errors in fields
2009-12-06 19:46:39 +01:00
NoFantasy
ec0043ac64 [8928] Rename internal names for gossipLocale and also correct reload gossip tables
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-06 11:55:53 +01:00
NoFantasy
090c8b8854 [8923] Restructure gossip menus and make it possible to build selections by database
As result, gossip for GO is now possible. Moved related data structures and remove useless from code.
Please note that after some time, table npc_gossip will be fully removed (use menuId in _template in relation to gossip_menu as replacement).
Special thanks to GriffonHeart for help with research, discussions and ideas of code and thanks to Vladimir for helpful input.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-06 02:27:26 +01:00
tomrus88
d76b728a99 - Quest POI fix. 2009-12-03 19:22:12 +03:00
tomrus88
72b9dc318e Merge remote branch 'origin/master' into 330 2009-11-19 16:22:58 +03:00
VladimirMangos
fe1fae46ee [8830] Restore build at *nix. Make MAKE_PAIR* users includes explicit.
Comment for recently added field also.
2009-11-18 23:57:20 +03:00
VladimirMangos
37ba6623bb [8828] Independent instance reset time for different difficulties.
* Store reset time for map/difficulty pairs.
* Use DBC data for reset time and max players instead `instance_template` fields (dropped)
  for each existed map/difficulty pair.
* Fix some "heroic" related checks in spells/etc.
2009-11-18 10:08:41 +03:00
tomrus88
b09ee8e571 - Implemented quest POI's. May be not perfect, but it works :P 2009-11-14 19:56:01 +03:00
VladimirMangos
4ac1bcc37a [8807] Better check playercreateinfo_action data at server startup. 2009-11-11 18:11:02 +03:00
balrok
cdd9fe7290 [8802] check spellexistance at playercreateinfo_spells loading 2009-11-11 12:54:39 +01:00
XTZGZoReX
3c1aef871a [8794] Also rename gameeventmgr to sGameEventMgr.
Hopefully last singleton rename. :)
2009-11-08 19:39:55 +01:00
XTZGZoReX
b3f3ffa885 [8793] Don't do operations through singleton if already in singleton context.
* Also, some minor things:
   - Remove duplicate sWorldLog define.
   - Add sRealmList macro for RealmList::Instance().
   - Use sLog macro in scripting log functions.
2009-11-08 19:32:59 +01:00
XTZGZoReX
0734adb746 [8789] Rename several singleton macros to use more consistent names.
* objmgr -> sObjectMgr
 * spellmgr -> sSpellMgr
 * WaypointMgr -> sWaypointMgr
 * poolhandler -> sPoolMgr
 * objaccessor -> sObjectAccessor
 * mapmgr -> sMapMgr
 * sInstanceSaveManager -> sInstanceSaveMgr
 * ticketmgr -> sTicketMgr
 * CreatureEAI_Mgr -> sEventAIMgr
 * auctionmgr -> sAuctionMgr
 * achievementmgr -> sAchievementMgr
2009-11-08 12:11:34 +01:00
NoFantasy
539072fcbd [8788] Clarify error log message for db_script_string
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-11-08 11:57:03 +01:00
XTZGZoReX
dc725ad6b8 [8785] Use macro instead of explicit call to singleton Instance().
* For: ObjectAccessor, MapManager.
2009-11-08 03:54:41 +01:00