Commit Graph
8546 Commits
Author SHA1 Message Date
Rat e81b40a099 fixed compile on win
--HG--
branch : trunk
2010-06-05 13:30:02 +02:00
click eeec7959e3 Add ACE includepath to linux buildfiles when not using a sitewide install
--HG--
branch : trunk
2010-06-05 11:37:18 +02:00
Machiavelli 7289827b5a Update g3dlite build for windows.
--HG--
branch : trunk
2010-06-05 02:09:28 +02:00
click e777161888 HIGHLY EXPERIMENTAL - USE AT YOUR OWN RISK
Implement the use of the new vmap3-format by Lynx3d (mad props to you for this, and thanks for the talks earlier)
+ reduced Vmap size to less than one third, and improve precision
+ indoor/outdoor check which allows automatic unmounting of players
+ additional area information from WMOAreaTable.dbc, removed existing "hacks"
+ WMO liquid information for swimming and fishing correctly in buildings/cities/caves/instances (lava and slime WILL hurt from now on!)
- buildfiles for windows are not properly done, and will need to be sorted out
NOTE: Do NOT annoy Lynx3d about this, any issues with this "port" is entirely our fault !
THIS REVISION IS CONSIDERED UNSTABLE AND CONTAINS WORK IN PROGRESS - USE AT YOUR OWN RISK!

--HG--
branch : trunk
2010-06-05 00:59:25 +02:00
Rat 1426c2970f HIGHLY EXPERIMENTAL - USE AT YOUR OWN RISK
implemented Condition System
all systems should work like before
after applying the sql converter you won't be able to apply any Updatepacks (<=up30) so do updates before this
this revesion is not threated as stable!

--HG--
branch : trunk
2010-06-04 23:24:48 +02:00
Spp 5ca00bc14d Dungeon Finder: Fix Rolecheck error when more than 3 players selected dps.
Thanks to Aokromes for pointing it out and patch testing.

--HG--
branch : trunk
2010-06-04 22:26:59 +02:00
Brian f9da9aa3dc * Removed vmap binary files from repo. This is a source repo and binaries
* do not belong in it.
* Also removed the no longer needed vmap debugger

--HG--
branch : trunk
2010-06-04 13:33:16 -06:00
John Holiver ef660a4cf4 * Honor rate is now applied to every honor gain
Closes issue #983

--HG--
branch : trunk
2010-06-04 14:07:53 -03:00
Machiavelli d3969ff9b3 Fix SCRIPT_COMMAND_EMOTE, allow it to be used in gossip scripts where source = player.
--HG--
branch : trunk
2010-06-04 17:47:22 +02:00
Machiavelli 54ee0f6483 Fix SCRIPT_COMMAND_TALK to be used in gossip scripts.
+ A few trivial typo´s in the same function.
Fixes issue #980
Update issue #2502

--HG--
branch : trunk
2010-06-04 14:37:23 +02:00
Spp a388b76a8c Dungeon Finder: Add LFG_JOIN_MIXED_RAID_DUNGEON restriction to Join Queue
Patch by Tali

--HG--
branch : trunk
2010-06-04 13:51:39 +02:00
Machiavelli 724954af4b Missing rename. (VStudio crashed on me earlier)
--HG--
branch : trunk
2010-06-03 19:11:26 +02:00
Machiavelli 2cec9d276e Rename SCRIPT_COMMAND_MOD_UPDATEFIELD to SCRIPT_COMMAND_SET_FLAG to avoid confusion.
Also add a parameter ´apply´ (dataint). If 1, it will set the flag, if 0, it will remove it.
Note: currently only supports 32bit integers.

--HG--
branch : trunk
2010-06-03 18:16:07 +02:00
Machiavelli f346d779a5 Implement SCRIPT_COMMAND_MOD_UPDATEFIELD with parameters datalong = index, datalong2 = newvalue.
This will allow you to set the specified index value to the specified flag, as per Malcrom´s request.

--HG--
branch : trunk
2010-06-03 18:03:18 +02:00
Rat 77230036cc SOTA anticheat
Graveyards shouldn't be captured unless the respective gates are broken.
Relic shouldn't be activated unless the respective gate is broken.
by Snakeice

--HG--
branch : trunk
2010-06-03 16:54:12 +02:00
Rat 9ebb2dcca8 removed old and incorrect 80-120% honor bonus (leftover from preBC O.o)
added new honor formula for player kills
added new formula for bonus honor calculation (*HK)
pls test and compare with retial

--HG--
branch : trunk
2010-06-03 16:32:28 +02:00
Rat 2e5edd301b dismount when entering a battleground
use 80 for max level honor bonus calculation
fixed SOTA second round timer
by Gyullo

--HG--
branch : trunk
2010-06-03 16:24:10 +02:00
Machiavelli 227cd4d993 Fix crash in SCRIPT_COMMAND_QUEST_EXPLORED, fixes issue #2532
--HG--
branch : trunk
2010-06-03 15:14:21 +02:00
Rat db293e41f9 should fix linux compile
guess what.. im on win..

--HG--
branch : trunk
2010-06-03 15:02:30 +02:00
Rat 3c05d4d544 added script hook for gameobject's destroyed event
--HG--
branch : trunk
2010-06-03 14:29:04 +02:00
John Holiver 042971e7ff * Fix Banner of Victory, Abyssal Rune, The Black Heart 45 ICD.
* Fixes some name standards also.

--HG--
branch : trunk
rename : sql/updates/8371_spell_bonus_data.sql => sql/updates/8371_world_spell_bonus_data.sql
rename : sql/updates/8372_spell_proc_event.sql => sql/updates/8372_world_spell_proc_event.sql
rename : sql/updates/8373_spell_proc_event.sql => sql/updates/8373_world_spell_proc_event.sql
rename : sql/updates/8374_spell_proc_event.sql => sql/updates/8374_world_spell_proc_event.sql
2010-06-02 20:27:18 -03:00
John Holiver d85d970a14 * Fix CD of Tears of the Vanquished.
* Few world.spell_proc_event cleanup.

--HG--
branch : trunk
2010-06-02 18:46:00 -03:00
John Holiver c0f2a0eac0 * Fix Shaman T10 2 part bonus procing only for Riptide now
--HG--
branch : trunk
2010-06-02 18:37:05 -03:00
John Holiver cba199fa20 * Fix Glyph of Mend Pet (tnx L1ghtGu4rd from Mangos)
--HG--
branch : trunk
2010-06-02 18:30:57 -03:00
John Holiver 9f28faa29b * Fix some spells that were benefiting from spellpower when they shouldn't.
- Glyph of Dispel Magic
- Glyph of Power Word: Shield
- Glyph of Healing Wave
- Ancestral Awakening

--HG--
branch : trunk
2010-06-02 18:21:13 -03:00
Rat dd24d80312 stick with 1x rates, thankya
--HG--
branch : trunk
2010-06-02 20:41:31 +02:00
Liberate 5981aa5495 *Fix: Only don't apply aura's with 0 sec duration (because of diminishing return for example) if the aura is not positive.
--HG--
branch : trunk
2010-06-02 20:26:46 +02:00
Trazom62 b7471f800c Fix crash in Unit::HandleProcTriggerSpell (Actually in Object::GetUInt32Value when pVictim is null).
Fixes issue #2458.

--HG--
branch : trunk
2010-06-02 19:36:59 +02:00
Machiavelli b1bf3b5e13 Merge
--HG--
branch : trunk
2010-06-02 18:45:19 +02:00
Machiavelli fb8399c413 Few changes to *_scripts handling in core.
- Use pointers of most abstract classes possible where applicable.
- Don´t use dynamic_cast when casting possibility is already explicitly checked per typeid.
- Where applicable use the ToCreature() and ToPlayer() functions for typecasting.
- Fix functioning of SCRIPT_COMMAND_CAST_SPELL
- Fix possible crash in SCRIPT_COMMAND_KILL
- Always include script id in error messages.
- Added a few TODO comments.

These changesets were merged in from MaNGOS:
- [9576] Implement SCRIPT_COMMAND_CREATE_ITEM by NoFantasy
- [9577] Implement SCRIPT_COMMAND_DESPAWN_SELF by NoFantasy
- [9869] Extend SCRIPT_COMMAND_QUEST_EXPLORED to allow player<->player as
source/target by NoFantasy

--HG--
branch : trunk
2010-06-02 18:43:11 +02:00
Rat d9728b2b80 fixed sota round two ships
--HG--
branch : trunk
2010-06-02 18:16:57 +02:00
Spp 60fd4a2f60 Dungeon Finder: Fix a crash when join queue had any restriction.
Fixes issue 2500

--HG--
branch : trunk
2010-06-02 17:03:48 +02:00
teacher a653b31486 Added 8300_world_battleground_template.sql in sql\updated\333a_old. I wrongly removed it from repo (original file by click).
Small cleanup.

--HG--
branch : trunk
2010-06-02 13:57:39 +02:00
Rat bff58bfc20 typo in world.sql, thanks to Fabriciomind for report, closes issue #2498
--HG--
branch : trunk
2010-06-02 07:51:19 +02:00
Rat ad753b3f67 SOTA update
-proper warning text (under attack, destroyed, capture..)
-proper icons on map for gate states
-fixed second round starting

--HG--
branch : trunk
2010-06-01 23:55:09 +02:00
Spp d53f91ff32 Dungeon finder: Fix typos
- Add missing credits from previous Dungeon Finder commit (6f13a4afc4)
* Thanks to Zor for packet structure
* Thanks to Taliesin for initial Queue design

--HG--
branch : trunk
2010-06-01 09:38:05 +02:00
John Holiver 768952ae71 Added missing delete from r34f4db8886.
Thnx kolapse01.

--HG--
branch : trunk
2010-06-01 00:37:59 -03:00
John Holiver 1943b19ff8 Fix to Drums of Forgotten Kings, Drums of the Wild and Runescroll of Fortitude.
Thx maczuga.k for the first 2 ;D
Fixes issue #1990

--HG--
branch : trunk
2010-06-01 00:07:40 -03:00
John Holiver 4eb7f38dfc Added scriptnames for ref4a8519f6.
Other stuff needed was posted on TDB forum (e.g. EAI for summons).

--HG--
branch : trunk
2010-05-31 22:02:13 -03:00
Brian ed636d96d8 * Fix target count for Blazing Harpoon (spell 61588)
* Credits to click and Xanadu who had to show some love to Malcrom

--HG--
branch : trunk
2010-05-31 18:55:02 -06:00
Brian 76f4259091 * Fix Linux compile.
--HG--
branch : trunk
2010-05-31 18:10:29 -06:00
Liberate f1e194aa6d Forgot to put the sql updates of my previous commit in world.sql and the world_script_full.sql again
--HG--
branch : trunk
2010-06-01 00:15:04 +02:00
Machiavelli 97ea58fe0c Revert unintended change in 39d9d11c09 - special thanks to HG for being so cooperative.
(Essence of 39d9d11c09 is still intact)

--HG--
branch : trunk
2010-05-31 23:03:14 +02:00
Liberate b02bde6d2a *Fix: Strand of the Ancients.
- Massive Seaforium Charge (needs DB support for the spawns)
 - Demolishers are not attackable at the start
 - Demolishers spawn at the workshop if the graveyard is taken
   (The spawn locations aren't official yet)
 - Demolishers spawn immediately after being destroyed
 To make SotA perfect, it needs a lot of DB support.
 - Seaforium Bomb spawn locations
 - Set speed_run to 0 of the Cannons.

--HG--
branch : trunk
2010-05-31 23:01:47 +02:00
Machiavelli a623ccd5fa Fix possible client crash in SMSG_ATTACKERSTATEUPDATE caused by outdated packet structure.
--HG--
branch : trunk
2010-05-31 22:09:58 +02:00
click 836f7e19fd Fix small filename typo
--HG--
branch : trunk
rename : sql/updates/8348_world_script_texts => sql/updates/8348_world_script_texts.sql
2010-05-31 22:02:00 +02:00
Spp 08a20ef8a2 Random BG: never select a disabled bg
--HG--
branch : trunk
2010-05-31 20:53:43 +02:00
John Holiver 973c837729 Skadi review of SnakeIce patch.
A minor bug is still present, you can find it on the SDComment.
Closes issue #1105 and #2251

--HG--
branch : trunk
2010-05-31 15:55:19 -03:00
Spp 824b1303ce Dungeon Finder:
- Add Rolechecks
- Can Join and Leave queue

* No Find group implementation, it just adds u to the queue.
* Still missing some join queue restrictions.

--HG--
branch : trunk
2010-05-31 20:25:21 +02:00
Trazom62 248782448c Fix hidden CD for HandleDummyAuraProc for random proc spell (put the hidden CD on one of the random spell to avoid multiple proc of different random spell).
Take trigger_spell from dbc in case there is one and not yet handled by custom case.

--HG--
branch : trunk
2010-05-31 20:14:21 +02:00