Permalink
Commits on May 10, 2012
  1. [11993] Fix some spell targeting

    * Implement Target Type 51 as TARGET_AREAEFFECT_GO_AROUND_SOURCE
    * Support spells that fill AoE targets based on source location
    Thanks to Reamer for discussing these changes
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed May 10, 2012
Commits on May 9, 2012
  1. [11992] Implement spells 69140, 69147 and 72705

    Original author Michalpolko and others
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Xfurry committed with Schmoozerd May 9, 2012
  2. [11991] Use unMaxTargets for GO-target fills

    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed May 9, 2012
  3. [11990] More db-script command changes

    * Allow SCRIPT_COMMAND_KILL_CREDIT to give the kill of an involved npc.
      This is marked by datalong (creature-entry) == 0
    * Remove immediate execution of commands. This will prevent infinite loops when db-scripts trigger db-scripts which are executed immediately
    * Add check for SCRIPT_COMMAND_PLAY_SOUND
    * Add check to catch an invalid command
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed May 9, 2012
Commits on May 8, 2012
  1. [11989] Add support to call spell_scripts in more cases

    * Support to script Dummy spells with spell_scripts
    * Support to script TriggerSpell spells which have no existing triggered spell
    Note that the order which spell-effect actually triggers the DB script is well-defined (SCRIPT_EFFECT before DUMMY before other)
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed May 8, 2012
  2. [11988] Fix a bug in SCRIPT_COMMAND_TEMP_SUMMON_CREATURE

    Now despawn-time will be treated as TEMPSUMMON_DEAD_DESPAWN as expected. Thanks to Xfurry for pointing.
    Also make the DB-scripts work only with players on the map. This might affect a few rare scripts, especially related to far-teleport
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed May 8, 2012
Commits on May 5, 2012
  1. [11987] Fix possible memory leak in .gameobject add command

    Thanks to Kid10 for pointing
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed May 5, 2012
Commits on May 4, 2012
  1. [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
    Schmoozerd committed Apr 21, 2012
  2. [11984] Add new SCRIPT_COMMAND_SEND_TAXI_PATH to trigger a taxi path

    Idea for this patch by Klark20 (maybe he also was the author of this patch as well, I cannot check in this moment)
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed May 4, 2012
  3. [11983] Fix log output for loaded achievement_criterias

    Thanks to TuX for spotting this error
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed May 4, 2012
  4. [11982] Fix DB_STRICTED_CHECK output for gossip

    This fixes to integrity check to report unused gossip_menu entries. Before only menus used by creatures with gossip_menu_items were reported
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    virusav committed with Schmoozerd May 4, 2012
Commits on Apr 26, 2012
  1. [11981] Fix targeting of most pet spells. They expect to target alive…

    … pets
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Den committed with Schmoozerd Apr 25, 2012
  2. [11980] Improve support for wild summoned GOs

    * Support GetGameObject for wild summoned GOs
    * Proper delete WildSummoned GOs after they are used
    Schmoozerd committed with Schmoozerd Mar 22, 2011
Commits on Apr 25, 2012
  1. [11979] Remove ReqSourceItems when rewarding or abandoning a quest

    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    virusav committed with Schmoozerd Apr 25, 2012
Commits on Apr 24, 2012
  1. [11978] Remove outdated comment

    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Den committed with Schmoozerd Apr 24, 2012
Commits on Apr 23, 2012
  1. [11977] More uses of wrappers introduced in 11971

    Also fix a typo that caused problems with Stances
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed Apr 23, 2012
Commits on Apr 22, 2012
  1. [11974] Fix spell targeting for some spells like 20243

    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Reamer committed with Schmoozerd Apr 22, 2012
  2. [11973] Various Cleanups

    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    stfx committed with Schmoozerd Apr 22, 2012
Commits on Apr 21, 2012
  1. [11972] Remove partial DummyEffect implementation of spells 8593, 31225

    Both belong to Paladin Resurrection quests. And they are expected to be handled by SD2
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Xfurry committed with Schmoozerd Apr 21, 2012
  2. [11971] Add wrapper HasAttribute to check if a spell has an attribute

    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed Apr 21, 2012
Commits on Apr 20, 2012
  1. [11970] Implement aura 24210 (overwrite for removed spell 24311

    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Xfurry committed with Schmoozerd Apr 20, 2012
Commits on Apr 19, 2012
  1. [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>
    Schmoozerd committed Apr 19, 2012
Commits on Apr 18, 2012
Commits on Apr 16, 2012
  1. [11966] Replace an ASSERT to prevent unnecessairy crashes

    GetAngle can be called for self from very many places, not only DB-errors, hence adding the assert is too strong in the moment
    
    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed Feb 8, 2012
Commits on Apr 15, 2012
  1. [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>
    Schmoozerd committed Apr 15, 2012
  2. [11963] Add additional check for game_events, invalid occurence

    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed Apr 15, 2012
  3. [11962] Add support for Creature List of Entry in Range grid searcher

    Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
    Schmoozerd committed Apr 15, 2012
Commits on Apr 14, 2012