Commit graph

997 commits

Author SHA1 Message Date
stfx
3d3529dc07 [12014] Do some smaller cleanups
* Cleanup mangos.sql file
* Remove not really required BattleGroundWinner

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-22 18:31:49 +02:00
Xfurry
956e307ba1 [12012] Add to vanilla spells as server-side spells (23263, 25192) 2012-06-22 00:00:50 +02:00
Kid10
acc27152eb [12000] Implement server side spells
Add exemplarily support for spells 21387(used with Ragnaros) and 62388(related to Demonic Circle)
Further table columns can be added as required.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-12 23:16:56 +02:00
Schmoozerd
d41974b38b [11994] Implement creature_linking by guid 2012-05-10 22:34:23 +02:00
Schmoozerd
010d29d1ed [11985] Implement support for go_template_scripts
Add a new table `gameobject_template_scripts` to start scripts for any type gameobject.
Scripts in this table are triggered for all gameobjects on GameObject::Use

Note: The table `gameobject_scripts` is expected to not be required very much longer, and will most likely be removed someday
2012-05-04 20:39:48 +02:00
Schmoozerd
a5a081c2ec [11968] Add support for range dependend slave/master
Add new column `search_radius` to `creature_linking_template`.
If this column is used (value > 0), master and slave are linked together if and only if they have their respawn coordinates within this range (point-to-point distance calculation)
Note that linked spawning is slower this way and should only be used if required

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-19 23:41:14 +02:00
Schmoozerd
516283e28c [11967] Fix mangos.sql. Thanks to NicolasQuasar for pointing. Fix issue #45 2012-04-18 17:34:02 +02:00
Schmoozerd
8c29893310 [11964] Implement new conditions system
Tree-like design idea by Faramir118, thanks for that!

* Add `conditions` table to store conditions.
* REPLACE current handling of conditions for the *_loot_template tables
  Convert the old conditions in *_loot_template to the new system by SQL-Queries
* ADD support for new conditions to gossip_menu and gossip_menu_option.
  If for these tables no condition_id (new system) is provided, the old conditions will still be used
* Add a small helper python script to contrib/convertConditions, see README there for details
* Add new command to reload the `conditions` table (.reload conditions)
* Add two Meta-Condition types CONDITION_AND (-1) and CONDITION_OR (-2) which are used as:
  value1 (as condition_entry) AND / OR value2 (as condition_entry)

  With these meta-conditions it is possible to create tree like and very complicated combined conditions (like HasAura && (HasItem || HasQuest))

NOTE about conversion:
For easier convertion all the old table data is still preserved, but will be removed eventually (within a circle of the moon approximately)
The python script will not create an optimal initial fill of the `conditions` table. You might want to tweak it manually or suggest some optimized algorithm :)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-15 23:06:00 +02:00
stfx
9fd41d0508 [11958] Add support for no-fly-zone text message
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-13 18:16:31 +02:00
machiavelli
af6b589041 [11955] Remove .hover command
You can use .cast 11010 and .unaura 11010 instead

Thanks to stfx for improving patch and porting it for us :)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-12 23:10:43 +02:00
Schmoozerd
1ab35e53d9 [11953] Add missing nightelf player-create spell 21009 for druid and DK
Thanks to crackm for providing data

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-12 22:20:07 +02:00
Xfurry
ea08f7c5d7 [11947] Improve SCRIPT_COMMAND_MOVE_TO
This changes the handling of SCRIPT_COMMAND_MOVE_TO, to not expect some travel-time, but directly provide the speed for the movement (*100).

Attention to DB-Devs, please check your MOVE_TO scripts.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-10 23:44:17 +02:00
Schmoozerd
8e0edc0383 [11940] Rewrite and cleanup DB Script Engine
* Moved actual script processing code to ScriptMgr
* Unifed and improved log output. Now table-name is passed to each script execution
* Added the "buddy concept" to all commands (except the outdated direct field change commands):
Now all commands support to search a creature (or go for some commands) in a radius, with which to do some stuff.
See doc/script_commands.txt for more details and information

Attention DB Devs:
Current DB-Scripts are converted automatically as far as possible, but some old target selecting mechanics were not reasonable to do automated.
For such cases the command is marked with data_flags & 0x10 (==16), which will throw DB-Errors to track them down faster

Thanks to NeatElves and especially Grz3s for testing!

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-06 22:04:30 +02:00
Schmoozerd
e9140ec82b [11926] Let Waypoints fly. Thanks to qsa for the idea
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-02-09 00:12:44 +01:00
Astoria
8aadf27964 [11885] Add spell_proc_event values for spell 72413
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-25 21:21:11 +01:00
virusav
14b001ff2a [11876] Fix table layout for creature_linking_template
Also change `spell_pet_auras` and `spell_script_target` default charset to utf8 as expected. Check your SQL Userguide for proper charset convertion, but this should not be required

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-16 17:59:53 +01:00
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
Schmoozerd
20e2dddd6c [11856] Add missing comma in mangos.sql. Thanks to miebaik for pointing 2011-12-02 12:22:18 +01:00
Schmoozerd
4c82458874 [11852] Add support for db scripts assigned to gossip menus 2011-11-30 20:30:52 +01:00
Xfurry
83e85416f4 [11851] Implement spell effects for Kalecgos
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-29 21:36:22 +01:00
Schmoozerd
c3c0098361 [11837] Unify update files to sql style convention, thanks to crackm for pointing 2011-11-04 15:25:06 +01:00
C:/Program Files (x86)/git/dev/rsa
70a8a350d7 [11831] Implement player gear score calculation
Signed-off-by: Laise <fenrisse@gmail.com>
2011-10-17 16:13:37 +02:00
Schmoozerd
fbdd79141c [11827] Implement Creature Linking via database
Thanks to Silverice for feedback!

This system interprets the content of the table `creature_linking_template`. To trigger different actions on different events of the npcs that are linked together.
Possible event/ action combinations can be taken form the flags in CreatureLinkingMgr.h::CreatureLinkingFlags
2011-10-16 13:04:58 +02:00
stfx
e89d5db5e3 [11813] Receiving whispers while being dnd
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-07 14:26:42 +02:00
SilverIce
3567e69a3d [11807] Add gameobject_addon table
table holds additional per-guid gameobject data.
currently it contains path rotation info that required for some elevators and transports
2011-09-26 02:34:29 +03:00
Laise
8d58bfe7ed [11790] comment fix in sql 2011-09-08 18:12:43 +03:00
zergtmn
989c979eee [11788] Fixed sql update name 2011-09-05 21:10:59 +06:00
Shauren
8e4c46ff2a [11785] Implement dungeon encounters (DBC part), thanks to rsa for porting it to mangos
Signed-off-by: Laise <fenrisse@gmail.com>
2011-09-04 13:15:22 +03:00
Laise
d495a972a3 [11774] fix typos and add missing stuff from 11773 2011-08-07 18:30:56 +03:00
Laise
7b66eb8ac8 [11773] fix 11129 and 53672, 54149 procs 2011-08-07 08:03:08 +03:00
Laise
3a85c36907 [11768] remove spells(added in [11766] that shouldn't be in spell_proc_event 2011-08-06 22:18:02 +03:00
Laise
c60425c6bd [11766] fix spell redirection and totem destruction on hit by redirected spell 2011-08-04 19:34:51 +03:00
Laise
22da544ab1 [11764] fix some more cast end spell procs 2011-07-30 18:16:34 +03:00
Laise
b6caa3316b [11763] fix 48108 2011-07-30 17:14:55 +03:00
VladimirMangos
eed25030b7 [11755] Fixed sql guards for restore proper wotj next git_id -s uses. 2011-07-26 15:16:43 +04:00
SilverIce
a7610f79c7 [11754] Implement jump (parabolic movement) effect
Also correct destination calculation in Unit::KnockBackFrom - now spline knockback effect works similar to client's effect (same amplitude, speed etc)
2011-07-26 13:56:06 +03:00
Laise
202a6b0a70 [11733] fix melee attack speed slowing part of 53695 and ranks 2011-07-11 10:23:53 +03:00
VladimirMangos
0cbb8e311e [11731] AHBot chat/console commands.
Originaly provided in ahbot patch but havy rewrited.
2011-07-10 06:16:51 +04:00
Laise
0176b15cf0 [11718] gtfo baddie 2011-07-07 14:46:04 +03:00
Laise
774ffeaa6c [11717] fix 47245 proc 2011-07-07 10:33:36 +03:00
VladimirMangos
b5e136c289 [11716] Always use _unsigned_ BIGINT fields in DB for time store
Also some other BIGINT fields fixed.
2011-07-07 04:22:07 +04:00
VladimirMangos
0f0fa22607 [11704] Resolve possible crash in auction code for paiment pending state.
Source of crash in sharing item object for sent mail to new owner
and in same time use it in still existed auction for show pending paiment.
Crash possible if new onwer get mail in less hour delay and will drop item
at receive.

Solution: Added fields in memory auction object and table `auction` for
store item stack size and random property id. This let not use auction item
except points where item send to owner at expire and new owner at
buyout/timeout auction with bid.
2011-07-02 04:23:24 +04:00
VladimirMangos
67f9c26d51 [11701] Command .auction item and support auction without owner.
* New command allow place auction from chat/console and create auction without owner.
* Same code can be used in other place when server code want create generated auction
  without need have associated player. Auction code update for support this case.
* MailDraft::SendMailTo now allow "send" mails to non-players. It correcly drop items in like case.
2011-06-29 23:29:32 +04:00
Den
6a142fcd55 [11690] Shaman T10 Restoration bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 01:00:48 +04:00
Den
c5a52705f0 [11689] Priest T8 Healer 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 00:52:34 +04:00
Den
7e0f74f286 [11688] Priest T8 Shadow 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 00:44:18 +04:00
Den
4127224fe7 [11687] Mage T8 2P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-27 16:46:47 +04:00
VladimirMangos
c11d3eb132 [11686] Fixed startup error for 31785 in spell_proc_event 2011-06-27 16:39:13 +04:00
Den
ea130fb41a [11685] Death Knight T9 Melee 2P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-27 16:33:12 +04:00
Den
6b4f6cee31 [11682] Priest T10 Healer 2P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-27 01:50:46 +04:00