Commit graph

142 commits

Author SHA1 Message Date
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
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
tomrus88
5a26f822ce Some achievement*.dbc research 2008-10-29 16:47:56 +03: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
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
ApoC
6f6a1a7608 Default behaviour of pets for creatures changed to REACT_DEFENSIVE
Fixed typo: changed m_ReactSate to m_reactState
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-26 18:24:45 +01:00
VladimirMangos
f8a94b84c3 Use 0.12.0-DEV instead 0.12.0-SVN for mark MaNGOS version in development. 2008-10-26 18:18:20 +03:00
VladimirMangos
8a16fc4117 Better revison data extraction for revison in case remote repo with branches 2008-10-26 18:03:43 +03:00
VladimirMangos
6f190fedd4 Output DB/ScriptLib versions in ".server info" command.
Required support by used scripting library.
2008-10-26 16:29:39 +03:00
VladimirMangos
24549669a9 Add lost .c_str() call at send std::string content to ".pdump write" command output. 2008-10-26 16:29:38 +03:00
arrai
ba4b9ad480 Added achievement dbc stuff, fixed linux build 2008-10-26 12:55:15 +01:00
ApoC
4658b2b38e Fixed ticket reading when using PGSQL
Optimized ticket deleting by its position
Signed-off-by: ApoC <apoc@nymfe.net>
2008-10-26 12:26:22 +01:00
tomrus88
c6aeb74917 Some research on spell target flags 2008-10-26 12:47:08 +03:00
tomrus88
ff7318e348 Updated auras enum 2008-10-26 12:14:56 +03:00
tomrus88
d403125e40 Added remaining changes 2008-10-26 10:26:01 +03:00
tomrus88
df09909ec5 Updated rest of game stuff 2008-10-26 10:25:08 +03:00
tomrus88
c2f65a01c1 Updated social stuff 2008-10-26 10:24:38 +03:00
tomrus88
d738b39a4c Updated world stuff 2008-10-26 10:24:04 +03:00
tomrus88
30142bd7cd Updated battlegrounds stuff 2008-10-26 10:22:30 +03:00
tomrus88
e6115cdd55 Updated handlers 2008-10-26 10:21:37 +03:00
tomrus88
9c8864f134 Updated objects stuff 2008-10-26 10:20:52 +03:00