Commit Graph
100 Commits
Author SHA1 Message Date
Anubisss a5fc22895e Correctly allocate memory for script npc_crusade_recruit. Bug found by hunteee.
--HG--
branch : trunk
2010-05-06 14:58:45 +02:00
Rat b45e55fde9 small tweak for escortAI's debuglog
--HG--
branch : trunk
2010-05-06 11:46:13 +02:00
click cb84d3e617 Cleanup : Remove postgreSQL-support (not used and has also been broken for a long time)
--HG--
branch : trunk
2010-05-06 09:53:09 +02:00
click 38061a6fa6 Remove a double transaction-start (creating a nested transaction = bad)
--HG--
branch : trunk
2010-05-06 00:35:09 +02:00
Machiavelli 6ad4d4c8d2 Make sure that socket reference is removed on closing WorldSession server sided before ReactorRunnable does in the reactor event loop.
--HG--
branch : trunk
2010-05-05 22:56:02 +02:00
Machiavelli d6f7547eba Any opcode sent after CMSG_CHAR_ENUM should reset the timeout timer, not just CMSG_PLAYER_LOGIN.
--HG--
branch : trunk
2010-05-05 22:50:11 +02:00
Machiavelli 62dc839819 Use ACE_GUARD_RETURN macro in LockedQueue::next to guarrantee the lock is acquired before changing the queue´s properties
--HG--
branch : trunk
2010-05-05 21:46:54 +02:00
Spp 6ead23e353 Add support for quest 4921 (The scent of Lar'Korwi)
Patch by D_Skywalk
Fixes issue 1671

--HG--
branch : trunk
2010-05-05 19:13:17 +02:00
click 64b0112382 Remove a nested transaction messing up character savestates - thanks to Zor for spotting the culprit
Fixes issue #2018. Fixes issue #2004.

--HG--
branch : trunk
2010-05-05 17:59:56 +02:00
click 173d30879f Fix crash when deleting vendoritems with multiple extendedcosts - thanks to Vladimir
Fixes issue #1989

--HG--
branch : trunk
2010-05-05 14:30:53 +02:00
Trazom62 1acb837a33 Fix crash in CreatureGroup::MemberAttackStart.
Fixes issue #1982.

--HG--
branch : trunk
2010-05-05 13:58:25 +02:00
Trazom62 0ccadb1a3b Forgot Map.h from previous commit. sorry.
--HG--
branch : trunk
2010-05-05 13:27:17 +02:00
click 76d4894f47 Sorted out minor (but boring) issues with the pdump-command (load/save/store-on-delete)
Fixes issue #1659
+ changed the dumpheader from engrish1.0 to engwegian1.2

--HG--
branch : trunk
2010-05-05 13:11:07 +02:00
Trazom62 eee3ebe6d6 Fix raid groups load from DB and save to DB.
Fixes issue #299.

- In table GROUPS, since rev 7841, isRaid is used to store the groupType. The DB was not updated. this is now fixed.
- Fix isRaid set to 1 when group converted to raid (shall be the groupType).
- Fix isRaidGroup check as groupType is now a set of flags.
- Fix dungeon/raid check when difficulty change.

--HG--
branch : trunk
2010-05-05 12:40:52 +02:00
Spp 3199e7b8db SOTA: Fix team being declared winner when it should be tie
Original patch by Gyullo
closes issue 1111

--HG--
branch : trunk
2010-05-05 02:55:51 +02:00
Spp 601fa2721e Add missing sql file from rev 8111
--HG--
branch : trunk
2010-05-05 02:27:44 +02:00
Machiavelli 8bf304ecc6 Merge
--HG--
branch : trunk
2010-05-05 02:13:02 +02:00
Machiavelli c7ec359495 Save items with itemstate ITEM_CHANGED using DELETE followed by an INSERT query (wrapped in a transaction).
--HG--
branch : trunk
2010-05-05 02:09:49 +02:00
Spp 7de6dea607 Account access: Set default value -1 to realmId (All realms access)
Patch by Sundark
closes issue 1852

--HG--
branch : trunk
2010-05-05 02:06:08 +02:00
Spp 52893aeae2 Violet Hold: make boss ichoron attackable
patch by maketheking
closes issue 2012

--HG--
branch : trunk
2010-05-05 01:51:51 +02:00
Spp bc4ac8fe5d Fix Arcane Empowerment proc event
Patch by Metaphysicaldrama
closes issue 994

--HG--
branch : trunk
2010-05-05 01:39:51 +02:00
Spp 890940c8e6 Fix Arena starting personal rating formula
Original patch by maketheking
closes issue 2013

--HG--
branch : trunk
2010-05-05 01:17:50 +02:00
Machiavelli b54a361d60 Fix crash in script for quest 10512 + code style cleanup.
--HG--
branch : trunk
2010-05-05 01:38:47 +02:00
Machiavelli 6649215e61 Use DELETE + INSERT statement wrapped in a transaction in Item::SaveRefundDataToDB()
--HG--
branch : trunk
2010-05-05 01:02:35 +02:00
Spp ce17866ef0 Unstable Affliction: Fix caster, bonus and penalty damage
Original Patch by N4rk0
Closes issue 739

--HG--
branch : trunk
2010-05-04 21:54:13 +02:00
click 7df73e7705 Fix: Force rogues not to steal stuff during charcreation - it stole a double set of startingweapons intead of a single set (Thanks to BioHazard for the note)
--HG--
branch : trunk
2010-05-04 20:54:14 +02:00
Rat 6fba13410c *fixed compile
-NOTE: COMPILE BEFORE PUSHING, thankyou

--HG--
branch : trunk
2010-05-04 20:47:58 +02:00
Trazom62 efcceb750e Fix Script Sunwell/Felmyst. Thanks Ille000.
Fixes issue #318.

+ Fixes code layout.
+ Uses standard EventMap instead of homemade Timer.

--HG--
branch : trunk
2010-05-04 19:29:14 +02:00
Trazom62 4833d28be7 Some additional checks to Login Instance check. + code layout.
--HG--
branch : trunk
2010-05-04 19:21:01 +02:00
click 029e480454 Add stricter regulations for instances (login-checks and support for sending unbound player to parent-instance / homebind if not matching criterias)
Patch by Elron103 - closes issue #1323.

--HG--
branch : trunk
2010-05-04 18:25:30 +02:00
Spp 51d0c07c90 Allow spellid_x fields in item_template to be -1
--HG--
branch : trunk
2010-05-04 17:51:30 +02:00
Spp 390f11078f Add support to set RandomProperty / RandomSuffix to -1 in item_template
--HG--
branch : trunk
2010-05-04 17:51:11 +02:00
Spp 5b4647dcf4 Fix Honor Kill formula
Patch by JohnHoliver
Closes issue 1863

--HG--
branch : trunk
2010-05-04 17:48:47 +02:00
Spp a65f6ab60e Remove Marks and Quest Reward at BG finish.
Patch by Gyullo

--HG--
branch : trunk
2010-05-04 17:30:50 +02:00
Rat 9207757861 ALWAYS use starting personal rating from config IF greater then 0, thanks to Gyullo
using 0 will let core calculate it

--HG--
branch : trunk
2010-05-04 16:53:19 +02:00
Rat 1677e6e5ec elites in instances should have a 2.75x base xp bonus instead of the regular 2x world bonus
--HG--
branch : trunk
2010-05-04 12:52:10 +02:00
Rat 7d93b99c1f starting from season 6, new arena team members should get the team rating as a starting personal rating, with a maximum of 1000
--HG--
branch : trunk
2010-05-04 12:46:53 +02:00
Rat 3516be7cf9 use DB speeds for battleground creatures
fixes moving cannons, if you set speeds to 0 in DB for them

--HG--
branch : trunk
2010-05-04 12:16:45 +02:00
click afc7106e85 Fix typos in SQL (changed the original around to sort them numerically and forgot it)
--HG--
branch : trunk
2010-05-04 08:53:02 +02:00
click 49b40ac6c8 Fix quest 9868 (The Totem of Kar'dash) - thanks to Erocoloco
Closes issue 1086.

--HG--
branch : trunk
2010-05-04 08:41:02 +02:00
click 0fd39511ac Add support for quest 6641 (Vorsha The Lasher)
--HG--
branch : trunk
2010-05-04 08:30:11 +02:00
click 5b88cd584a Add support for quest 1126 (Hive in the Tower) - patch by supabad
Closes issue #68

--HG--
branch : trunk
2010-05-04 08:09:55 +02:00
click 44edbe1f53 *Fix: correctly apply or remove enchantments requiring a skill when gaining a skill level - fix by Liberate
Closes issue #1407

--HG--
branch : trunk
2010-05-04 07:20:22 +02:00
click 9fbdcbb706 Revert parts of a previous transaction-fix (would create a nested transaction), add missing support for rollback in battleground-group creation
--HG--
branch : trunk
2010-05-03 16:30:53 +02:00
Rat 2c31b77129 *more script texts fixed, thanks to terrorbringer
--HG--
branch : trunk
2010-05-03 15:33:30 +02:00
Rat a70d56b6f1 *when dismounting from a flying vehicle (and it was flying) you will get a pretty parachute
--HG--
branch : trunk
2010-05-03 13:01:20 +02:00
Rat f9ebcce8f6 *fixed quest support for hunter pet trainers
--HG--
branch : trunk
2010-05-03 09:31:25 +02:00
click 0692dc3704 Rename some more opcodes - patch by Zor
--HG--
branch : trunk
2010-05-03 05:32:35 +02:00
click b82a1f7fe2 Add support for GO Bash'ir Crystalforge (Blades Edge/Outlands)
--HG--
branch : trunk
2010-05-02 23:36:12 +02:00
click e4ef76a505 Include petsaving under transactioncontrol in Player::SaveToDB()
--HG--
branch : trunk
2010-05-02 22:34:49 +02:00
Trazom62 0a4d79ef39 Fix command .server plimit.
Fix obsolete comment for PlayerLimit in trinitycore.conf.dist
Thanks Phil.Pigeon and Johnholiver.

Fixes issue #534.
Fixes issue #295.

--HG--
branch : trunk
2010-05-02 16:48:18 +02:00
click e0cce6984c Fix: Give the correct amount of talent points when leveling up after a talent reset - patch by Liberate
Fixes issue #1568, fixes issue #765, fixes issue #772

--HG--
branch : trunk
2010-05-02 16:19:38 +02:00
Trazom62 5ebee9fbd0 Fix crash in Gluth Script.
Fixes issue #1896.

--HG--
branch : trunk
2010-05-02 15:17:30 +02:00
Spp 9664034eea Rename one opcode
Patch by Zor

--HG--
branch : trunk
2010-05-02 12:21:26 +02:00
Trazom62 f2b01ccdad Fix Script FoS/Bronjahm. Thanks Johnholiver.
- remove hardcode distance in distance check of corrupted soul fragment

--HG--
branch : trunk
2010-05-02 10:12:58 +02:00
Spp 208c05bf41 Code Style. Closes issue 1515
--HG--
branch : trunk
2010-05-02 04:30:11 +02:00
click e2d6abb681 Add support for quest 12916 (Our Only Hope) - Patch by supabad
Closes issue #940

--HG--
branch : trunk
2010-05-02 03:00:45 +02:00
Spp b7e1570e87 Remove unused defines.
Closes issue 1947. Alternative solution added

--HG--
branch : trunk
2010-05-02 01:06:29 +02:00
Spp fe26dcc278 Fix local change that wasn't supposed to be pushed...
--HG--
branch : trunk
2010-05-02 00:46:35 +02:00
Spp 274457a7fb Make RealmList a Singleton.
Patch by Anubiss

--HG--
branch : trunk
2010-05-02 00:06:08 +02:00
Spp a0e1357e2b Fix locale selection at server load.
--HG--
branch : trunk
2010-05-02 00:16:05 +02:00
Spp d3a842ee37 Rename two more opcodes
Patch by Zor

--HG--
branch : trunk
2010-05-01 23:20:11 +02:00
Spp 6d5f7cac24 remove uint32 cast from previous commit.
It wasn't supposed to be pushed.

--HG--
branch : trunk
2010-05-01 22:57:39 +02:00
Spp 3c4e8f36f4 Rename some more opcodes.
Also fix the name of some older opcodes that were marked as obsolete but no longer are.
Patch by Zor (with minor modifications in handlers by me)

--HG--
branch : trunk
2010-05-01 22:40:53 +02:00
Spp e107730ffb Fix more warnings.
--HG--
branch : trunk
2010-05-01 22:25:14 +02:00
Spp dd9485993b Fix instance load broken by me in 8c4b824176
--HG--
branch : trunk
2010-05-01 20:59:56 +02:00
click 18782ec1f7 Add support for quest 10512 (Getting the Bladespire Tanked)
Patch by supabad - closes issue #1217

--HG--
branch : trunk
2010-05-01 22:39:02 +02:00
click 3683de3f80 Add support for quest 12688 (Engineering a Disaster) - patch by supabad
Closes issue #982

--HG--
branch : trunk
2010-05-01 22:17:48 +02:00
click 0803f644a5 Fix CRLF
--HG--
branch : trunk
2010-05-01 09:28:24 +02:00
click 593d962665 Add support for quest 1440 (Return to Vahlarriel) - patch by Supabad
Closes issue #323

--HG--
branch : trunk
2010-05-01 09:12:52 +02:00
click bcbb52f507 Fix recipe-learning in Raozrofen Down (cooking/alchemy) - patch by PrinceCreed
Closes issue #1009

--HG--
branch : trunk
2010-05-01 08:36:38 +02:00
click 8df6879e94 Add support for quest 11626 (The Emissary) - patch by antihrists (thanks)
Closes issue #1061

--HG--
branch : trunk
2010-05-01 08:30:46 +02:00
click 3a61667492 Add support for sorting vendor itemlists
--HG--
branch : trunk
2010-05-01 08:10:14 +02:00
click ea2d4d9536 Fix broken vendors
Fixes issue #1952

--HG--
branch : trunk
2010-05-01 06:37:35 +02:00
click 320cbdb2af Correction in scripts (m_creature -> me) - fixes #1954
(Also corrects some old scripts that seems to have been done the same way)

--HG--
branch : trunk
2010-05-01 02:59:48 +02:00
click 3eccb81ee3 Add support for quest 9446 (Tomb of the Lightbringer) - closes #197
Patch by Supabad

--HG--
branch : trunk
2010-05-01 00:19:04 +02:00
XTZGZoReX 6feda6605b * Fix CRLF.
--HG--
branch : trunk
2010-04-30 23:59:59 +02:00
click 11ef556320 Add support for quest 12832 (Bitter Departure) - closes issue #804
Patch by supabad

--HG--
branch : trunk
2010-04-30 23:53:37 +02:00
click 51881810b7 Add support for daily quest "Overwhelmed!" (quest 12288)
Patch by Supabad (thank you)

--HG--
branch : trunk
2010-04-30 23:30:08 +02:00
click 4efd84a1e8 Add SQL-changes from previous commit into world.sql as well
--HG--
branch : trunk
2010-04-30 23:04:12 +02:00
click 697685c3f5 Add support for vendors selling the same items with different extendedCost - original code by Vladimir (thanks mate)
Closes issue #1756

--HG--
branch : trunk
2010-04-30 22:35:37 +02:00
Machiavelli 4b1a9916ac Clean up in item refund related code.
--HG--
branch : trunk
2010-04-30 19:20:59 +02:00
Spp 31113370b3 Fix typo in sql file
--HG--
branch : trunk
2010-04-30 16:32:47 +02:00
Spp e782acfca3 Fix compile.
(Not a good idea to test something and push another file)

--HG--
branch : trunk
2010-04-30 18:06:26 +02:00
XTZGZoReX 9aa4405a5a * Fix CRLF.
--HG--
branch : trunk
2010-04-30 15:19:50 +02:00
Spp 377fa8e713 DragonBlight: Script for Quest 12321 (A Righteous Sermon)
Patch by Supabad
Closes issue 314

--HG--
branch : trunk
2010-04-30 15:01:37 +02:00
Spp 31201a6cc8 Apply style to FULL sql's
--HG--
branch : trunk
2010-04-30 14:36:38 +02:00
Spp 0f913476e4 add missing change in previous commit
--HG--
branch : trunk
2010-04-30 14:02:36 +02:00
Spp ce1f99cbe0 Implementation of Tabard vendor
Patch by etznab
Closes issue 908

--HG--
branch : trunk
2010-04-30 13:32:14 +02:00
Spp 7f81217d68 Fix trap spell casting.
Improved version of Supabad's patch
Closes issue 1910.

--HG--
branch : trunk
2010-04-30 13:09:38 +02:00
Spp 213a5e5062 Silithus: Fix event for quest 8519
Patch by "kb_z"
Closes issue 177

--HG--
branch : trunk
2010-04-30 11:31:59 +02:00
Spp 1bc2a9fd4a Replace some PQuery/PExecute by more simple Query/Execute
Original patch by hunuza, extended to whole code
Closses issue 1446

--HG--
branch : trunk
2010-04-30 11:21:25 +02:00
Spp 19bed20036 Fix Death Pact, by Havenard
Closes issue 1658

--HG--
branch : trunk
2010-04-30 09:47:06 +02:00
click 7b6f52b2a0 Fix crash when summoning minions (introduced in vanitypet-fix)
--HG--
branch : trunk
2010-04-30 03:21:59 +02:00
click 2f21081904 Block battleground-flag from being picked up while player is on a vehicle
Fix by Scazzato - closes issue #1161

--HG--
branch : trunk
2010-04-30 00:24:25 +02:00
click f4dcdf9507 * Properly dismiss vanitypets (implements use of CMSG_DISMISS_CRITTER)
Some small code cleanups

--HG--
branch : trunk
2010-04-29 23:24:31 +02:00
Spp cb0cb96283 Warning Fixes
Code Style cleanup
Fix linux compile

--HG--
branch : trunk
2010-04-29 23:12:16 +02:00
Spp 35af94d4b5 Update/Fix some opcode names.
Patch by Zor

--HG--
branch : trunk
2010-04-29 22:47:47 +02:00
Machiavelli 1f9af1794f Add missing SQL file from 8020
--HG--
branch : trunk
2010-04-29 22:04:26 +02:00
Rat 757fbfba83 *implemented 'empty' VehicleAI
NOTE: VehicleAI::UpdateAI runs even while the vehicle is mounted!

--HG--
branch : trunk
2010-04-29 21:22:25 +02:00