Commit graph

7311 commits

Author SHA1 Message Date
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
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
tomrus88
579fc917bb Updated item stuff 2008-10-26 10:18:58 +03:00
tomrus88
78a41233aa Updatefields for 3.0.x 2008-10-26 10:18:21 +03:00
tomrus88
0186b88b52 Updated realmd stuff 2008-10-26 10:17:20 +03:00
tomrus88
629da9de32 Updated spells stuff 2008-10-26 10:15:52 +03:00
tomrus88
f7049657c9 Updated scripts 2008-10-26 10:15:16 +03:00
tomrus88
434f1ec87b Updated scripts 2008-10-26 10:14:55 +03:00
tomrus88
e08d8642f4 Updated DBC files structure 2008-10-26 10:13:07 +03:00
tomrus88
9ad0318c09 Disabled vld 2008-10-26 10:12:09 +03:00
tomrus88
612b22dc87 Added calendar placeholder 2008-10-26 10:08:43 +03:00
VladimirMangos
85319c4a15 Revert wrong 06ed6af86c36869f2781bf328802214f23e3f369 and restore RA login work. Sorry :/ 2008-10-25 16:27:30 +04:00
VladimirMangos
643f6af8c7 Rename gensvnrevision and related files and references to genrevision/etc.
Also svn_revision.h renmaed to revision.h and defines in to it also renamed. MaNGOS code updated.
Other projects using this genrevison tool need to be updated in similar way.
2008-10-25 15:35:25 +04:00
VladimirMangos
0874856e34 Implement git support in gensvnrevision tool and related changes in code.
gvnrevision still support svn version generation and have addition options now (see sources).
gensvnrevision/svn_revision.h and other svn reference will fixed later.
Now version strings include commit date/time that can be used in git case for fast find git commit without using git hash most time.
In chat ".server info" output git hash can be copied by shift-click in chat and then copied to cliboard if need.
2008-10-25 14:34:47 +04:00
foxbox
a0ab11bb17 Fixed: restore RA login work.
Provided correect number login query args.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-25 11:37:35 +04:00
VladimirMangos
f187226451 Correctly limit use some flask types to zones.
Typo in IsSpellAllowedInLocation.
2008-10-25 08:11:41 +04:00
VladimirMangos
51b2290be6 Some endianess related fixes and cleanups
* Fixed: build fail at bigendian platform in result typo in code
* Hide endianess related convertions into EndianConvert/EndianConvertReverse calls
* Linkning errors protection from attemps convertion pointers.
2008-10-24 04:06:27 +04:00