tomrus88
2f15546120
Merge commit 'origin/master' into 310
2009-05-25 21:57:59 +04:00
VladimirMangos
f271fd6819
[7893] Fixed work chat guild commands that expect guild name in args. Now guild name always must be in "".
2009-05-25 06:31:17 +04:00
tomrus88
ebb03b7b9f
Merge commit 'origin/master' into 310
...
Hope it works with live 3.1.2.9901 client
2009-05-20 10:53:55 +04:00
VladimirMangos
0838475415
[7850] Fixed '.pinfo name' work, move reputation code from it to new command '.character reputation [$name]'.
2009-05-19 01:03:39 +04:00
VladimirMangos
fdbc22ac93
Provide and use universal way for get locale and locale index for chat/console command use.
2009-05-19 01:02:10 +04:00
evilstar
4617ac1dc1
[7845] Implement reload support for creature eventAI tables.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-18 12:28:45 +04:00
VladimirMangos
1f2670facf
[7839] Rafactoring player targeting code in chat command and related cleanups/improvments.
...
* New extractOptFirstArg function for easy get 2 args in case option playe name as first arg.
* New extractPlayerTarget function for get player pointer/guid/name for online/offline player base at provided name
or if not provided by current seelction with error cases processing.
* Property apply mute/unmute in case use different character name from loggined currently for account.
* .reset commands can be used from console now
* .repairitems comamnd can be used from console now but only to online player.
2009-05-17 14:29:55 +04:00
tomrus88
c9f5062955
Merge commit 'origin/master' into 310
2009-05-08 15:31:27 +04:00
VladimirMangos
a587590ab5
[7796] Implement .lookup taxinode and .go taxinode commands.
2009-05-07 19:37:14 +04:00
tomrus88
6821c24268
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-06 09:40:35 +04:00
arrai
fefe56e3c5
[7776] Completed implementation of CMSG_SPELLCLICK
...
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
npc_spellclick_spells, otherwise you won't be able to use them
2009-05-05 18:58:58 +02:00
tomrus88
d4323e0071
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Player.cpp
2009-04-29 11:51:15 +04:00
VladimirMangos
512c015dc2
[7731] Some code cleanups, warrning fixes.
2009-04-29 04:03:59 +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
tomrus88
950a4bf13f
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-04-28 19:08:53 +04:00
VladimirMangos
1ec21cfb71
[7714] Implement new command .character level for set level provided level.
2009-04-26 01:24:09 +04:00
tomrus88
55d6fbe3cb
Merge commit 'origin/master' into 310
2009-04-25 17:24:05 +04:00
VladimirMangos
226bdca199
[7708] Continue chat command function declarations sorting.
2009-04-24 04:46:05 +04:00
VladimirMangos
b2da7732f9
[7706] Rename command .plimit -> .server plimit
2009-04-24 03:58:19 +04:00
VladimirMangos
7fde7b8ca6
[7705] Rename some account/character related commands.
...
* .lockaccount -> .account lock
* .password -> .account password
* .chardelete -> .character delete
* .customize -> .character customize
* .rename -> .character rename
2009-04-24 02:46:11 +04:00
VladimirMangos
1b09aab42b
[7693] Allow use .revive command in console, support revive offline players.
2009-04-21 20:24:37 +04:00
tomrus88
a9e148edac
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/AchievementMgr.cpp
src/game/BattleGroundHandler.cpp
src/game/CreatureEventAIMgr.cpp
src/game/DBCStructure.h
src/game/Player.cpp
src/game/Spell.cpp
src/shared/revision_nr.h
2009-04-21 15:20:45 +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
tomrus88
412a8029ea
Removed some outdated comments
2009-04-08 14:54:45 +04:00
tomrus88
14e9afa46f
Merge branch 'master' into 310
...
Conflicts:
src/game/Unit.cpp
2009-04-07 13:22:10 +04:00
tomrus88
75f4cc6375
Removed some outdated comments
2009-04-07 13:14:11 +04:00
VladimirMangos
5c7b3e1f50
[7628] Implement .reload for static achievement tables.
2009-04-07 03:11:11 +04:00
VladimirMangos
dfa2869136
[7616] Implement .debug play cinematic and .debig play movie. Rename .debug playsound to .debug play sound.
2009-04-05 04:36:26 +04:00
VladimirMangos
678be86d67
[7615] Continue sorting chat command function declarations. Move send commands in new .send * subcommand list.
2009-04-05 01:38:02 +04:00
tomrus88
2a8776e567
Merge branch 'master' into 310
...
Conflicts:
src/game/Unit.cpp
2009-04-04 23:25:57 +04:00
tomrus88
a9dbe0f661
Removed some outdated comments
2009-04-04 23:24:24 +04:00
VladimirMangos
db2027feb0
[7614] Sort/rename debug commands, Move packet send commands to new ".debug send " subcommands list.
...
Also drop not implemented .debug inarc
Add to .debug send spellfail support for up to 2 additional args for spell fail packet.
2009-04-04 06:27:49 +04:00
VladimirMangos
8fe9008132
[7613] Sort and rename functions for GM commands in code.
2009-04-04 05:06:23 +04:00
tomrus88
abae3cac91
Merge branch 'master' into 310
...
Conflicts:
src/game/Unit.cpp
src/shared/Database/SQLStorage.cpp
2009-03-30 15:01:04 +04:00
tomrus88
8871f281bf
Removed some outdated comments
2009-03-30 14:52:46 +04:00
VladimirMangos
2dd36d688f
[7558] Implement command: .learn all_mypettalents
...
Also output more correct messages at use .reset talents to pet
2009-03-28 03:28:08 +03:00
tomrus88
963aed5e0b
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/Player.h
src/game/Unit.cpp
2009-03-26 14:28:37 +03:00
tomrus88
9bc487953e
Removed some outdated comments
2009-03-26 14:14:47 +03:00
VladimirMangos
ab2bdc3e69
[7518] Implement new script command SCRIPT_COMMAND_PLAY_SOUND (look in World.h for args)
...
* Also rewrite use SMSG_PLAY_OBJECT_SOUND/SMSG_PLAY_SOUND
Now WorldObject have 2 function for sound level dependent from distance (PlayDistanceSound)
and for not depednet (PlayDirectSound)
* Old Player::PlaySound function removed and uses need to be updated to WorldObject functions
Note: function called for _source_ of sound in different from old function.
* chat command .debug ps removed and .debug playsound can used for bother packects test:
if no selection used SMSG_PLAY_SOUND, if selection exist including self then SMSG_PLAY_OBJECT_SOUND.
2009-03-23 00:27:01 +03:00
tomrus88
9debf4dfc0
Merge branch 'master' into 310
...
Conflicts:
src/game/MiscHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/shared/Database/DBCStores.cpp
2009-03-22 09:41:17 +03:00
VladimirMangos
695ceabe3e
[7509] Use defines instead explcit value for talent rank cound (in general and for pets)
2009-03-21 20:14:30 +03:00
tomrus88
976cd6da9c
Added new files to VC71, VC80 projects
2009-03-21 19:36:23 +03:00
tomrus88
28dc20c6e2
Small code cleanup and partial merge with dev branch
2009-03-21 19:07:38 +03:00
tomrus88
e5bde711ea
Merge branch 'master' into 310
...
Conflicts:
src/game/Chat.cpp
src/game/Chat.h
src/game/GameObject.cpp
src/game/Level2.cpp
2009-03-21 15:48:51 +03:00
VladimirMangos
fc94d6991c
[7503] Implement proper (not 2 level limited) help.security set for chat commands and subcommands. Update some commands data.
...
* Now `command` table loading set data for any use subcommand levels
* Errors output for not existed in code commands at related data loading from table.
* Detail log level report outout about overwrited security level for loaded chat command data.
Using this functionality found and fixed/update data for `command` in mangos.sql
NOTE: some command security levels changed.
Thank you to benemorius for pointing to this security problem.
2009-03-21 00:09:51 +03:00
VladimirMangos
a63977d767
[7493] Move .gobject functions in one place, update/fix security levels in code and mangos.sql.
2009-03-19 12:53:10 +03:00
VladimirMangos
bfa67880f2
[7492] Rename subcommands functions to names more similar related chat commands
2009-03-19 11:59:02 +03:00
VladimirMangos
dc92e36c00
[7491] Sort chat command subtables by names.
2009-03-19 11:22:15 +03:00
tomrus88
2a0fbbb0dd
Fixed some bg and quest things
2009-03-18 12:51:31 +03:00
tomrus88
31b3ee95ad
Merge branch 'master' into 310
...
Conflicts:
src/game/Level2.cpp
src/game/PetHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/game/SkillHandler.cpp
2009-03-11 12:22:58 +03:00