Commit graph

227 commits

Author SHA1 Message Date
VladimirMangos
b9853cb958 [7720] Fixed crash at .character level use from console. Include GM name in message for command target if report need. 2009-04-26 23:37:07 +04:00
VladimirMangos
1ec21cfb71 [7714] Implement new command .character level for set level provided level. 2009-04-26 01:24:09 +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
nos4r2zod
b143a300cb [7662] Spell power coefficients for talent 48505 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-13 08:34:29 +04:00
VladimirMangos
263bf2ab22 [7644] Fixed pet slot values using in pet save.
Problem exist from client version switch when stable slot amount changed.
In result this has been source problems with stable use (3-4 slots) and possible pet lost in some cases
or "not save state" for summoned pets.
Use enums to avoid repeating problem, use more safe value for not-in-slot save (for summoned pets)
Fixed data preparing for MSG_LIST_STABLED_PETS.
2009-04-10 09:02:04 +04:00
VladimirMangos
34d69bbfdd [7643] Allow set, store and output creture EventAI data version in addition to world DB and script library versions. 2009-04-09 17:30:59 +04:00
VladimirMangos
2be68b15cd [7642] Move all 0.12 sql updates to sql/updates/0.12
Now in sql/updates root only sql updates added after 0.12 release.
2009-04-09 04:04:23 +04:00
VladimirMangos
863a747251 [7633] Implement support multiply basic requirements for crireria in achievement_criteria_data.
Also implement additional basic requirements for proper implementing checks for ACHIEVEMENT_CRITERIA_TYPE_DO_EMOTE
Req. DB support.
2009-04-08 04:20:26 +04:00
VladimirMangos
7d06858866 [7627] Replace built-in in code table by new DB table achievement_criteria_data for store additional data for achievement criteria.
Required DB support.
2009-04-06 23:02:20 +04:00
AlexDereka
6bb6ff0f7e [7622] Added creatureAI with related database tables.
Code and concept (also known as EventAI) by ScriptDev2.
Note: database table layout are compatible with original db-scripts.
2009-04-05 23:05:44 +04:00
VladimirMangos
764c6b5248 [7617] Fixed typo in prev. sql update. 2009-04-05 04:53: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
freghar
0fc68c5e1e [7609] Trailing whitespace cleaning
Here we are again! "git diff --check" !!

Signed-off-by: freghar <compmancz@gmail.com>
2009-04-03 16:46:39 +02:00
DiSlord
2f7039f12d [7568] Spell proc event data from forums
Signed-off-by: DiSlord <DiSlord@nomail.com>
2009-03-28 15:01:23 +03:00
VladimirMangos
6e9542ca16 [7565] Move all hardcoded strings used in .account onlinelist to DB.
Also update format as originally suggested by Cha0S2.
2009-03-28 07:34:27 +03:00
NoFantasy
036a74b284 [7560] Implement IconName for gameobject
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also small fix for 7558 sql update (for re-apply support)
2009-03-28 05:59:55 +03: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
Triply
b09df0aade [7546] Revert [7544] correcty move uptime table to Realm database, use realmid column.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-26 17:58:44 +01:00
invliD
68ec6ae8ab Moved table uptime from world database to character database.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-26 16:23:57 +01:00
GriffonHeart
53af93111b [7536] Spell chain requirement for some epic mounts.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-24 19:13:01 +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
e6aca46942 [7495] Fixed mangos_string entry text for .gobject target, and shift-links into .gobject turn/move output. 2009-03-19 20:11:04 +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
Triply
efd62ea6ea Added last file from previous commit
Signed-off-by: Triply <triply@getmangos.com>
2009-03-16 18:57:52 +01:00
Triply
846831e357 [7472] Fixed messages in Eye of Storm Battleground.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-16 18:54:35 +01:00
VladimirMangos
bc57ab7c58 [7453] Fixed some example data in mangos.sql 2009-03-13 22:23:53 +03:00
DiSlord
071a0317f0 [7439] Fix wrong liquid level in some places. Need reectract maps.
Remove some log on extract maps.
Add liquid status log to .gps command

Signed-off-by: DiSlord <dislord@nomail.com>
2009-03-11 00:04:19 +03:00
VladimirMangos
eac584eb89 [7422] Allow localization base at guildmaster locale default guild rank names at guild creating. 2009-03-09 11:41:22 +03:00
Triply
898fef99d2 [7401] Fixed bgqueue invitation to already started battlegrounds - not tested.
Finally fixed sql update in [7399]. Thx to Lake292.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-07 17:53:44 +01:00
Triply
f64341068b [7400] fixed sql change from my previous commit.
Signed-off-by: Triply <triply@getmangos.com>
2009-03-07 11:33:16 +01:00
Triply
1ee2320484 [7399] Rewrited BattleGround starting code - moved it to battleground class.
Fixed message color for premature finish warnings.
Fixed .debug bg command won't allow 1v0 arenas now, only battlegrounds 1v0.
Added battleground announcer message removed in [7384].
Patch is tested, everything worked for me. You must execute attached sql file!

Signed-off-by: Triply <triply@getmangos.com>
2009-03-07 11:23:23 +01:00
VladimirMangos
be74937146 [7393] Implement access to client side holiday ids.
* src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence
* `game_event` now have new `holiday` field for store client side holiday id associated with game event
* Added new enum HolidayIds with existed at this moment holiday ids.
* New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check.
2009-03-07 03:00:17 +03:00
NoFantasy
83affb51fd [7390] Implement heroic instance quest requirement in areatrigger_teleport.
Also more fixes for prev. sql update.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-06 18:23:38 +03:00
VladimirMangos
bda5dffcdb [7389] Fixed sql update order protection data after recent commit. 2009-03-06 18:10:02 +03:00
Triply
17100c67a8 [7388] Fixed battleground premature warning message. SQL files are attached, you must execute them!
Fix for message's color will be soon.

Signed-off-by: Triply <triply@getmangos.com>
2009-03-06 13:24:55 +01:00
VladimirMangos
0e7d940b90 [7386] Remove from mangos.sql content of instance_template table.
From this point expected that this table filled from another sources.
2009-03-06 04:30:32 +03:00
NoFantasy
167b192ff2 [7382] Add 2 unknown field to creature_template sent in SMSG_CREATURE_QUERY_RESPONSE to client
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-05 16:17:43 +03:00
VladimirMangos
fee3278e57 [7376] Allow store in spell_area.aura_spell negative values for "not has aura" requirement.
Also
* Allow have in aura_spell spells with SPELL_AURA_PHASE in first effect.
* Allow negative aura_spell chaining in spell_area table.
* Better check at loading duplicate data (by requiremnt set) in spell_area table.
2009-03-04 01:27:56 +03:00
NoFantasy
94de4437f8 [7369] Remove ReqSourceRef in quest_template.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-02 03:31:18 +03:00
VladimirMangos
1fca6de6f3 [7349] Implement spell cast depenences from area/quest.aura state store in new table spell_area.
* It allow store requirenments: area, active or rewarded quest (until possible another quest not rewarded),
  aura present at character, character race/gender.
* Listed spell can marked as auto-casted when fit requirents. In this case spell requirements checked at
  zone/subzone update (and then resurraction also), quest start/reward, dummy aura apply.
* Old hardcoded lines for similar check removed from sources and required DB support for work now.
2009-02-27 11:15:36 +03:00
VladimirMangos
fa26c1f8d7 [7332] Allow provided target for .distance command using player name or shift-link with guid. 2009-02-25 06:43:09 +03:00
FrenchW
654fa0bb1d [7331] Normalization and corrections in mangos_commands.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-24 03:05:23 +03:00
Sephiroth1983
2046aee715 [7324] Spells deleted from characters in 3.0.2+
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-22 05:48:55 +03:00
Zerg2000
03fd67aaf5 [7314] Not set GR_RIGHT_WITHDRAW_GOLD_LOCK flag for guild masters, remove in DB.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-21 10:08:01 +03:00
VladimirMangos
7c2e850283 [7312] Use localized DB-based achievement message instead hardcoded string. 2009-02-21 07:51:20 +03:00
VladimirMangos
1ff51c5326 [7307] Add primary key for table arena_team_member. 2009-02-20 00:31:36 +03:00
VladimirMangos
a5f51f70d0 [7303] Fixed sql changes part of pool patch. 2009-02-19 13:14:44 +03:00
Neo2003
5da8bdf16e Added support for pools in pools
Pools inside another pool cannot have a number of spawned objects <> 1 (maxlimit value)

Note: pools in a pool in a pool in a pool... is possible and working,
but circulare inclusion is not detected and will cause a core infinit loop

Signed-off-by: Neo2003 <neo.2003@hotmail.fr>
2009-02-18 20:19:59 +01:00