Commit Graph
9929 Commits
Author SHA1 Message Date
Machiavelli d45d61c2b1 Remove unneeded SCRIPT_COMMAND_SET_FLAG that already was implemented in a different way.
(/blame Malcrom)

--HG--
branch : trunk
2010-06-05 17:58:11 +02:00
_manuel_ 3fad2782f1 Fixed compile warnings, thanks to jurkovic.nikola
--HG--
branch : trunk
2010-06-05 12:50:22 -03:00
Machiavelli bb292845ed Fix SCRIPT_COMMAND_FIELD_SET, it will no longer throw error that the specified parameter was an invalid field. In addition, the command is now usable from gossip scripts.
--HG--
branch : trunk
2010-06-05 17:48:56 +02:00
_manuel_ 373fc63a50 Removed some unnecessarily code, implemented guid store for chests, removed pointers.
--HG--
branch : trunk
2010-06-05 11:38:52 -03:00
Tartalo 23cb007106 Implement .instance open/close commands
Example: .instance open 631 10heroic to open ICC on 10man heroic mode
Ty Lockness for the testing

--HG--
branch : trunk
2010-06-05 16:31:55 +02:00
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
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
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 cba199fa20 * Fix Glyph of Mend Pet (tnx L1ghtGu4rd from Mangos)
--HG--
branch : trunk
2010-06-02 18:30:57 -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
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
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
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
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
Trazom62 427e8be656 Fix Spell::m_selfContainer not reset in destructor. This should fix crash in Unit::FindCurrentSpellBySpellId.
Fixes issue #2263.

--HG--
branch : trunk
2010-05-31 19:19:30 +02:00
Trazom62 15847b2f2f Fix exploit with swaping already looted items.
Patch by Vladimir from idea of Zhenya.
Fixes issue #702.

--HG--
branch : trunk
2010-05-31 19:10:26 +02:00
Machiavelli 1a636d3af8 Fix realmd to accept more than 64 connections on windows. Author: Derex
--HG--
branch : trunk
2010-05-31 15:02:41 +02:00
Shauren 042b503665 ITEM_FLAGS_EXTRA_NEED_ROLL_DISABLED should only affect Need before Greed loot method
--HG--
branch : trunk
2010-05-31 14:07:29 +02:00
Xanadu 7fbeef3d09 Cleaned up and unified various sort predicates and moved them to Trinity namespace, replaced priority queues with sorts and purged some unused code.
--HG--
branch : trunk
2010-05-30 04:23:27 +02:00
Supabad 14382dd1fe Ulduar, Flame Leviathan: add Track tower activation state for Achievements
stil WiP and not finished
removes one comment from the TODO LIST

--HG--
branch : trunk
2010-05-30 03:03:31 +02:00
Tartalo 3ffdce920b Ulduar: Add missing breaks, ty Josh ;)
--HG--
branch : trunk
2010-05-29 23:25:00 +02:00
Tartalo affccbdb57 Ulduar: Fix typo on Flame Leviathan's tower event's triggering system
--HG--
branch : trunk
2010-05-29 23:23:38 +02:00