Commit Graph

7104 Commits

Author SHA1 Message Date
Rat
727fbbef07 *fix event reset bug for quest The Light of Dawn, Fixes issue #108.
--HG--
branch : trunk
2010-01-19 12:07:51 +01:00
Rat
0cc053ea4d *Integrate Script system to Core
-added ScriptMgr for loading scripts
-removed bindings
-moved script system to src/game
-moved scripts to src/scripts
-VC project files updated
-cmakes updated (not 100% done yet)

NOTE to Devs:
-file locations changed
-precompiled renamed to ScriptedPch
-ecsort_ai renamed to ScriptedEscortAI
-follower_ai renamed to ScriptedFollowerAI
-guard_ai renamed to ScriptedGuardAI
-simple_ai renamed to ScriptedSimpleAI
-sc_creature renamed to ScriptedCreature
-sc_gossip renamed to ScriptedGossip
-sc_instance  renamed to ScriptedInstance

*use the new headers in scripts, thank you

NOTE to ALL:
cmake not fully tested, please report any errors with it
could make creashes, incompability
USE AT YOUR OWN RISK before further tests!!

--HG--
branch : trunk
2010-01-19 11:36:05 +01:00
QAston
f5dea61b66 *Remove some of no longer needed debug code.
--HG--
branch : trunk
2010-01-18 23:47:26 +01:00
Trazom62
1c5060f455 Fix crash in OutdoorPvPWG::UpdateQuestGiverPosition
Fixes issue #342.

--HG--
branch : trunk
2010-01-18 23:45:08 +01:00
QAston
a1bbbd1421 *Cleanups before delete after not successfull load pet from db. Thanks to Drahy for debug traces.
--HG--
branch : trunk
2010-01-18 23:12:35 +01:00
silver1ce
c7c3b0edb0 typo
--HG--
branch : trunk
2010-01-18 21:56:15 +02:00
silver1ce
cfca61b176 Auras with turn/move interrupt flags are now removed for creatures when they turn/move, cleanup
--HG--
branch : trunk
2010-01-18 21:51:45 +02:00
Trazom62
f920a3c57b Fix Vaelastrasz not giving quest.
--HG--
branch : trunk
2010-01-18 20:34:44 +01:00
QAston
f03a2a60e7 *Use std::map instead of UNORDERED_MAP for storing aura applications of an aura.
--HG--
branch : trunk
2010-01-18 20:15:23 +01:00
Trazom62
17d407f347 merge
--HG--
branch : trunk
2010-01-18 18:55:40 +01:00
Trazom62
faf845b6f2 Fix Script Naxxramas/Gothik
- fix spell of adds
- fix wave schedule to use correct entry

--HG--
branch : trunk
2010-01-18 18:48:05 +01:00
QAston
9a7746c9fc *Add some debug info to trac reason of assertion fail in Unit destructor.
--HG--
branch : trunk
2010-01-18 18:42:36 +01:00
_manuel_
844c09fc61 Corrected issues with stacks, thanks to QAston.
--HG--
branch : trunk
2010-01-18 14:09:13 -03:00
_manuel_
1c9f2186ab Implemented script for item Petrov's Cluster Bombs, code from ScriptDev2.
--HG--
branch : trunk
2010-01-18 14:07:59 -03:00
teacher
8dc9140e1c FIx sql naming and some small sql cosmetics.
--HG--
branch : trunk
2010-01-18 17:28:48 +01:00
Spp
d4ca8f6eee Backout 8f186e3cc3 (Remove unnecesary checks)
--HG--
branch : trunk
2010-01-18 17:18:15 +01:00
_manuel_
06e776b8d8 Gnomeregan: Now instance saves the event.
--HG--
branch : trunk
2010-01-18 13:02:24 -03:00
XTZGZoReX
2b5f1f359b * Fix typo breaking Linux build...
--HG--
branch : trunk
2010-01-17 12:10:34 +01:00
XTZGZoReX
704e0e3361 * Really revert commit fced5e40fa1e - don't ask me why, but hg is not being very co-operative.
--HG--
branch : trunk
2010-01-17 11:51:14 +01:00
XTZGZoReX
15025253c7 * Fix CRLF...
--HG--
branch : trunk
2010-01-17 11:26:22 +01:00
Trazom62
c4eb172d04 Fix Script Naxxramas/Gothik with help of scarymovie87
Fixes issue #80.

- Implement support for "merging" life and dead side after ~2 minutes, if group is not splitted
- Implement support for opening central gate at 30% boss health
- Implement Gothik teleport between side when above 30% boss health
- Fix dead-side mobs spawn in 25-Man difficulty
- Fix waves setup.
- Fix some timers (this may still need some tuning).
- Fix sporadic combat reset when Gothic teleport to ground.

--HG--
branch : trunk
2010-01-17 10:58:11 +01:00
n0n4m3
782fa95f1f Fixed crash in Wintergrasp when send incorrect GetArea flag and coordinats
--HG--
branch : trunk
2010-01-17 08:32:48 +03:00
_manuel_
054db2fa5c Blessing of Might and Battle Shout can't be at the same time, fixed by naitsabes.s and me. Thanks to QAston and thenecromancer.
--HG--
branch : trunk
2010-01-17 01:53:28 -03:00
Anubisss
7e183d6b2f Fix a mem leak in OutdoorPvPMgr's destructor.
log:

==12080== 1,680 (168 direct, 1,512 indirect) bytes in 1 blocks are definitely lost in loss record 106 of 253
==12080==    at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230)
==12080==    by 0xA63AE9: OutdoorPvPMgr::InitOutdoorPvP() (OutdoorPvPMgr.cpp:51)
==12080==    by 0xC01BDA: World::SetInitialWorldSettings() (World.cpp:1650)
==12080==    by 0x808EF6: Master::Run() (Master.cpp:235)
==12080==    by 0x8083B5: main (Main.cpp:154)

--HG--
branch : trunk
2010-01-16 20:28:32 +01:00
n0n4m3
99f66a6bc9 Updated copyright for new year.
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
n0n4m3
147d9dd3dd Avoid send reset warning to map/difficulty cases without fixedreset time, by VladimirMangos.
--HG--
branch : trunk
2010-01-16 19:54:57 +03:00
n0n4m3
720318e856 Implement option to use delay in ForcedDespawn for creature, allow use delayed forced despawn also in EAI, by NoFantasy.
--HG--
branch : trunk
2010-01-16 19:51:59 +03:00
n0n4m3
a29727e423 Fixed problem with not setAchievementCriteriaDataSet::criteria_id, Add achievement creteria requirements forACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET*, by GriffonHeart.
--HG--
branch : trunk
2010-01-16 19:41:04 +03:00
n0n4m3
1557f9db9b Prevent crash after .goname/namego teleports at same bg/arena, by mns.
--HG--
branch : trunk
2010-01-16 19:38:19 +03:00
n0n4m3
c9a3698a11 Implement speed reduction at creatures DoFleeToGetAssistance, by NoFantasy.
--HG--
branch : trunk
2010-01-16 19:35:30 +03:00
n0n4m3
ec10853f22 Update formula for GameObject 'autoclose' time (dataN-field in_template), by NoFantasy.
--HG--
branch : trunk
2010-01-16 19:31:49 +03:00
n0n4m3
ed5152316f Rewrite parts of GameObject use for GO type 10, by NoFantasy.
--HG--
branch : trunk
2010-01-16 19:31:10 +03:00
n0n4m3
7be4b2a85c Fixed unread packet tail spam for CMSG_LEAVE_BATTLEFIELD, by VladimirMangos.
--HG--
branch : trunk
2010-01-16 19:28:36 +03:00
n0n4m3
585f4317c1 Auto-leave player at login back to bg/arena when bg/arena finished. by VladimirMangos.
--HG--
branch : trunk
2010-01-16 19:27:15 +03:00
n0n4m3
15dc23ad45 Fixed item dupe and apply enchantment while disarm state original patch by zhenya.
--HG--
branch : trunk
2010-01-16 19:21:07 +03:00
n0n4m3
9be16cf605 Some replacements .count to .find for better performance - original patch by zhenya.
--HG--
branch : trunk
2010-01-16 19:18:53 +03:00
n0n4m3
706718b28c Fixed some problems with pets, port from tc1, by krz, thx Frankir.
--HG--
branch : trunk
2010-01-16 19:11:32 +03:00
n0n4m3
e031df23fc Propertly update combat ratings fields, by VladimirMangos.
--HG--
branch : trunk
2010-01-16 19:05:27 +03:00
n0n4m3
e21e0ce95b Fixed wrong duration for Dancing Rune Weapon, removed in 3.2.x, thx QiSoft.
--HG--
branch : trunk
2010-01-16 19:02:26 +03:00
n0n4m3
b9c09071b0 Fixed Lifebloom final crit, by PrinceCreed.
--HG--
branch : trunk
2010-01-16 18:47:40 +03:00
teacher
8050bdd7b1 Added update file for previous commit.
--HG--
branch : trunk
2010-01-16 15:25:46 +01:00
teacher
4e2b98e871 Update gossip_menu_option data by Maximius.
--HG--
branch : trunk
2010-01-16 15:17:12 +01:00
QAston
69b2900137 *Fix single target auras related crash
*Apply aura stacking rules to m_ownedAuras holder.

--HG--
branch : trunk
2010-01-16 15:12:21 +01:00
teacher
72277c583b Add Argent Tournament Target Dummies by kaelima.
--HG--
branch : trunk
2010-01-16 15:09:41 +01:00
teacher
768bfcfa19 Add Trigger teleport to acherus (for quest 12757) by denyde.
Added missing data to world.sql.

--HG--
branch : trunk
2010-01-16 15:06:40 +01:00
Anubisss
cff7923be1 Fix a meam leak in GameObject's destructor.
main part of my log:

==19804== 584 bytes in 73 blocks are definitely lost in loss record 107 of 298
==19804==    at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230)
==19804==    by 0x930A2B: GameObject::GameObject() (GameObject.cpp:43)

--HG--
branch : trunk
2010-01-16 14:49:09 +01:00
XTZGZoReX
7b4922172b * Fix a crash in logging part of [7048].
--HG--
branch : trunk
2010-01-16 12:26:52 +01:00
silver1ce
2c03836a7c some changes into grid relocations, cleanup
player with incorrect coordinates wouldn't be added into map,
fixed problem that sometimes grid not marked as active even with players inside

--HG--
branch : trunk
2010-01-16 11:43:47 +02:00
_manuel_
f7ed03458a Fixed typo.
--HG--
branch : trunk
2010-01-16 02:46:36 -03:00
_manuel_
d728effd10 Dustwallow Marsh: Implemented basic support for quest "Cleansing Witch Hill" (11183).
--HG--
branch : trunk
2010-01-16 02:40:18 -03:00