Commit graph

7516 commits

Author SHA1 Message Date
VladimirMangos
8d02b5c7f2 Fixed sql update naming for 2008_10_27_01_npc_option.sql and 2008_10_27_02_locales_npc_option.sql. 2008-10-30 19:47:04 +03:00
tomrus88
c5dbf49ece Fixed MSG_LIST_STABLED_PETS 2008-10-30 07:14:23 +03:00
VladimirMangos
5b2bb73b18 Merge branch 'master' of git@github.com:VladimirMangos/mangos 2008-10-30 07:01:34 +03:00
VladimirMangos
0127feb5a8 Fixed RuntimeLibrary setting in VC80/framework.vcproj 2008-10-30 06:56:30 +03:00
VladimirMangos
5efb2f35c9 Merge commit 'VladimirMangos/master' 2008-10-30 06:54:16 +03:00
VladimirMangos
83f034ae5d Some command handlers renames and declaration sorting. 2008-10-30 05:14:14 +03:00
ApoC
42cf4db28b Implemented alternative GameTele location selection based on substring in case no exact match.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-29 23:06:00 +01:00
arrai
2af3c01a23 Implemented achievement inspection 2008-10-29 21:49:03 +01:00
tomrus88
a1d83ebc6f Updated fot new client build 9155 2008-10-29 23:07:41 +03:00
tomrus88
871d34b106 Infinity loop in sendopcode command 2008-10-29 23:07:38 +03:00
dythzer
569032d907 [2008_10_29_04_mangos_mangos_string.sql 2008_10_29_05_mangos_command.sql] Added new command: .npc follow - Makes the selected NPC follow you around like a pet
Signed-off-by: dythzer <micke223@gmail.com>

* Also implement .npc unfollow for cancel following.
* Help and mangos strings.
* Unrelated small fixes in mangos.sql.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-29 22:50:19 +03:00
Wyk3d
affb0722d6 * [2008_10_29_03_mangos_db_version.sql] Added a column to db_version that will be used to check if the required db updates have been installed 2008-10-29 19:22:46 +02:00
arrai
e92cc728c3 Reverted wrong commit d2785283e - the real source for not matching the flags was a mixed up index in DBCfmt.cpp
Added database integrity check for creature_equip_template
Differ between stored and pending completed achievements
2008-10-29 17:58:56 +01:00
tomrus88
cf3bbb5920 Fixed pvp flag (once again), crash fix 2008-10-29 19:18:58 +03:00
VladimirMangos
403374c6c7 Use \t instead explict tabs in genrevision string constant. 2008-10-29 19:01:01 +03:00
Wyk3d
6675f8d2a5 Changed the VC71 projects to use dynamic linking for the CRT 2008-10-29 17:33:56 +02:00
VladimirMangos
d8e29e7421 Fixed typo in mangos string in prev commit. 2008-10-29 17:14:27 +03:00
dythzer
67779b76b7 [2008_10_29_01_mangos_string.sql 2008_10_29_02_mangos_command.sql] Added new command: .waterwalk on/off - disable or enable waterwalk mode
for selected player

Signed-off-by: dythzer <micke223@gmail.com>

Add help text and mangos strings.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-29 17:02:23 +03:00
tomrus88
5a26f822ce Some achievement*.dbc research 2008-10-29 16:47:56 +03:00
Wyk3d
da04859e7c Added msvcrt / msvcrtd dependencies to VC80 mangosd.vcproj 2008-10-29 15:41:34 +02:00
tomrus88
b3c7ffd633 Merge branch 'master' of git@github.com:mangos/mangos into 303 2008-10-29 15:10:08 +03:00
tomrus88
05b8acd140 Small account data changes 2008-10-29 15:09:30 +03:00
ApoC
8bea43063e Added checking global cooldown for pet autocast spells.
Added checking global cooldown for pet spell casting triggered by master.
Optimized PetAI::UpdateAI:
 - Removed obsolete victim_guid as combat check.
 - Stop pet combat when pet die in JustDied(Unit*) method.
 - Optimized autospells selection and casting.

Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-29 15:09:30 +03:00
ApoC
ca6e456da1 Added missed part from my prev. commit.
Compile fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-29 15:09:29 +03:00
arrai
5364fc2847 Removed wrong assumed flag, use achievement points to differ between achievements and counters 2008-10-29 12:17:37 +01:00
arrai
1167c55bd9 Fixed several achievement related packets 2008-10-28 22:15:41 +01:00
ApoC
9534aece0b Added checking global cooldown for pet autocast spells.
Added checking global cooldown for pet spell casting triggered by master.
Optimized PetAI::UpdateAI:
 - Removed obsolete victim_guid as combat check.
 - Stop pet combat when pet die in JustDied(Unit*) method.
 - Optimized autospells selection and casting.

Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-28 21:31:41 +01:00
ApoC
aae37a6dce Added missed part from my prev. commit.
Compile fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-28 21:10:08 +01:00
tomrus88
8d733e8f8a Merge branch 'master' into 303 2008-10-28 23:04:02 +03:00
ApoC
61b2b3d234 Prevent adding more than 5 people into RAID subgroup.
Optimized free subgroup in raid finding.
Optimized method calls, now using const uint64& instead of value passing.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-28 20:15:24 +01:00
VladimirMangos
8322ccb136 Use same RuntimeLibrary settings for any selected VC80 build 2008-10-28 19:08:28 +03:00
VladimirMangos
454ff6e667 Add *.user to all Visual Stidio versions .gitignore 2008-10-28 17:41:15 +03:00
Seline
4db0c00181 Use .respawn only for selected creature (if any)
If no creature is selected, old behavior is used (respawn everything).

Thanks Seline for the diff.

Signed-off-by: freghar <compmancz@gmail.com>
(cherry picked from commit 6bbdffac9acb9c02a74be632b35a90f0bda3ccb0)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Some changes in creature targeting and work in case alive target. Help data updated.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-28 16:34:35 +03:00
dythzer
e98a123027 Added new command: .repairitems - repairs all items of selected player
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-28 15:34:32 +03:00
VladimirMangos
6169f57ab9 Simplify check requirement report command results to target and output command user name.
* Provided ChatHandler::GetName for player name/"console command" output dependent from chat/console command call.
* New function for check when command work result send to command target.
* Remove unrequired complexy in mangos string usage in some commands.
2008-10-28 14:55:17 +03:00
VladimirMangos
58bc947ef9 Fixed subcommands list output at console. 2008-10-28 10:14:05 +03:00
arrai
deccb566ae Further work on the achievement system
Implemented ACHIEVEMENT_CRITERIA_TYPE_BUY_BANK_SLOT
Fixed SMSG_CRITERIA_UPDATE structure
Implemented parts of ACHIEVEMENT_CRITERIA_TYPE_REACH_LEVEL - there are still some unknown additional conditions for this criteria type
Fixed sAchievementStore lookup errors caused by an invalid DBCfmt
2008-10-28 00:06:52 +01:00
tomrus88
6496f7499e Account data saving must work now 2008-10-28 01:44:27 +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
tomrus88
97bf2e7d68 Fixed windows build, account data should be saved server side now 2008-10-27 20:00:56 +03:00
VladimirMangos
74ddd38af3 Prevent crash at access to deleted social data for player.
Remove social data at logout instead ~Player that called also for temporary Player object for Player::MinimalLoadFromDB call.
2008-10-27 18:47:13 +03:00
tomrus88
f7657a0fe3 Fixed pvp flag 2008-10-27 16:59:05 +03:00
VladimirMangos
9e6390d88d Load npc_options at server startup, use cached data at creature gossip menu init.
Also new .reload table command added. Note: currently it will not affect creatures that have gossim memu created at command use moment.
2008-10-27 16:43:31 +03:00
arrai
5d2f3291c0 Added AchievementMgr 2008-10-27 13:43:44 +01:00
tomrus88
002a2fc5fc Fixed SMSG_TRANSFER_ABORT opcode 2008-10-27 09:08:25 +03:00
tomrus88
233e5eac6f Merge branch 'master' into 303
Conflicts:
	src/game/ObjectMgr.h
2008-10-27 01:27:48 +03:00
tomrus88
4bf3c3b488 Added StatsCount field to item_template 2008-10-27 01:03:11 +03:00
@
e96fedc97c Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENT.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Currently can be used in loot conditions, later possible in gossip options show.
2008-10-26 23:43:50 +03:00
ApoC
4482593653 Fixed posible crash in my prev. commit
thx. to Hanuza who point it out.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-26 21:07:02 +01:00
@
687a9bc8ce Fixed genrevision tool build at FreeBSD and maybe some other plafroms.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-26 21:12:34 +03:00