Commit Graph

30431 Commits

Author SHA1 Message Date
r00ty-tc
4fcffe767c [Core/AH] Correctly check player can pay deposit
- Deposit amount wasn't correctly checked in the case of multiple items,
   player with insufficient funds could auctin more items than they should
2017-03-03 01:17:15 +01:00
Aokromes
fda6446838 Rename Files 2017-02-19 09:20:55 +01:00
Aokromes
abdc3c084c DB/Misc: Fix typo on game_tele for Greymane Wal
Closes #19163 by MrSmite
2017-02-19 09:17:40 +01:00
Aokromes
1798c0a8f9 Core/WorldSocket: Handle unhandled exceptions
Properly handle unhandled exceptions happening with malformed packets.
2017-02-19 09:16:19 +01:00
Killyana
ba553b5580 DB/Creature: Fix wrong map for Rotting Agam'ar 2017-02-19 09:14:28 +01:00
Killyana
83ac6a1b45 DB/Loot: Electropeller and Gaffer Jack
Closes #19111
By offl
2017-02-19 09:14:16 +01:00
offl
a5bc07d914 DB/Loot: Remove some wrong loots
Update #18182
2017-02-19 09:14:02 +01:00
Killyana
f5652fcd12 DB/quest: Letter to Stormpike
Closes #19141
2017-02-19 09:13:41 +01:00
Shauren
bc2221cd19 Add missing sql to previous commit 2017-02-19 09:12:24 +01:00
xinef1
62111a8c4a Core/SmartAI: Various fixes and extensions for smart scripts: (#18673)
- Possible crashes fixed
- Memory leak fixed
- Implemented checking of vehicle conditions
- Extended eventphasemask to 12 bits (sql required to change DB field type)
- SMART_EVENT_GOSSIP_HELLO - added possibility to detect for gameobject reportUse call
- Renamed action SMART_ACTION_SET_FLY to SMART_ACTION_SET_DISABLE_GRAVITY (to reflect actual functionality)
- Added targetsLimit to action SMART_ACTION_CAST and SMART_ACTION_INVOKER_CAST to limit max amount of targets (selected randomly)
- Action SMART_ACTION_TALK corrected to always work as intended
- Properly call GroupEventHappens in action SMART_ACTION_CALL_GROUPEVENTHAPPENS if invoker was charmed or owned by the player
- Properly utilize followAngle in action SMART_ACTION_FOLLOW (db orientation should be in degrees), but keep backward compatibility
- Added action SMART_ACTION_SET_CAN_FLY (119) 0/1
- Added action SMART_ACTION_REMOVE_AURAS_BY_TYPE (120) AuraType, can be used to exit vehicle for example
- Added action SMART_ACTION_SET_SIGHT_DIST (121) sightDist
- Added action SMART_ACTION_FLEE (122) fleeTime
- Added action SMART_ACTION_ADD_THREAT (123) +threat, -threat
- Added action SMART_ACTION_LOAD_EQUIPMENT (124) equipmentId
- Added action SMART_ACTION_TRIGGER_RANDOM_TIMED_EVENT (125) minId, maxId
- Added action SMART_ACTION_REMOVE_ALL_GAMEOBJECTS (126), removes all owned gameobjects
- Added action SMART_ACTION_STOP_MOTION (127), stopMoving, movementExpired
- Extended target SMART_TARGET_HOSTILE_SECOND_AGGRO with following parameters maxdist, playerOnly, powerType + 1
- Extended target SMART_TARGET_HOSTILE_LAST_AGGRO with following parameters maxdist, playerOnly, powerType + 1
- Extended target SMART_TARGET_HOSTILE_RANDOM with following parameters maxdist, playerOnly, powerType + 1
- Extended target SMART_TARGET_HOSTILE_RANDOM_NOT_TOP with following parameters maxdist, playerOnly, powerType + 1
- Extended target SMART_TARGET_THREAT_LIST with maxdist
- Extended target SMART_TARGET_OWNER_OR_SUMMONER to be able to get charmer/owner of current owner
- Added new target SMART_TARGET_FARTHEST with maxDist, playerOnly, isInLos restrictions
- Added SpellHit hook to GameObjectAI and extended SmartGameObjectAI to call SMART_EVENT_SPELLHIT when gameobject is hit by spell
- Call GameObjectAI Reset hook on gameobject respawn (for ex. to reset one time events in smart scripts)
- Fixed some logic errors in code
- SmartAI Escorts properly despawn escortee if no players are in range
- Disable Evading while charming creature with SmartAI
- Don't call SMART_EVENT_RESPAWN for dead units before they actually respawn
- Don't call SMART_EVENT_RESPAWN for not spawned gameobjects
- Properly call SMART_EVENT_RESPAWN for gameobject respawn
- Allow action SMART_ACTION_SET_IN_COMBAT_WITH_ZONE to utilize targetlist
- Allow action SMART_ACTION_CALL_FOR_HELP to utilize targetList
- Allow action SMART_ACTION_SET_INVINCIBILITY_HP_LEVEL to utilize targetList
- Allow action SMART_ACTION_SET_VISIBILITY to utilize targetList
- Allow action SMART_ACTION_SET_ACTIVE to utilize targetList
- Allow action SMART_ACTION_ATTACK_START to select random attack target instead of first on the list
- Allow gameobjects to summon gameobjects with action SMART_ACTION_SUMMON_GO
- Properly store action invokers for action SMART_ACTION_WP_START, if no player invokers are found, distance despawn check won't be used
- Allow action SMART_ACTION_WP_RESUME to compensate for the state the unit actually is in (eg. combat)
- Allow action SMART_ACTION_MOVE_TO_POS to select random of the avaiable targets, not only the first one.
- Allow action SMART_ACTION_MOVE_TO_POS to utilize x, y, z parameters as an offset to calculated coordinates
- Action SMART_ACTION_RESPAWN_TARGET should never modify respawntime of already spawned gameobjects, use dedicated function
- Properly delete ontime events created by SMART_ACTION_CREATE_TIMED_EVENT
- If action could not be started because conditions were not satisfied, do not recalculate the waittime to action repeattime, use smaller value to recheck more frequently
- Allow target SMART_TARGET_CLOSEST_PLAYER to be used by gameobjects
- Allow target SMART_TARGET_OWNER_OR_SUMMONER to be used by gameobjects
- Fixed SMART_EVENT_COUNTER_SET to be only called for the id that was incremented
- Changed the way counters work
- Protect PhaseInc from surpassing maximum phase
- Added loading checks for missing NON_REPEATABLE flag if no repeatmin, repeatmax is set
- Added spell validation for SMART_ACTION_CROSS_CAST
2017-02-19 09:10:29 +01:00
Aokromes
e09c37334d Reverting: Game/Scripting: Add OnGameEvent hook for game objects. 2017-02-19 09:09:43 +01:00
Aokromes
e956ea4e62 Game/Scripting: Add OnGameEvent hook for game objects.
Called when specific game event starts
2017-02-19 09:06:37 +01:00
Aokromes
0b31236470 Update MapScripts.cpp 2017-02-19 09:01:10 +01:00
Aokromes
3f90d7d539 Typo fix 2017-02-19 08:59:17 +01:00
Aokromes
78f4048f16 Core/Misc: fix one AnimKit crash
By Krudor closes #112
2017-02-18 11:14:19 +01:00
Aokromes
c2b9be107b Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-02-18 04:40:56 +01:00
Aokromes
471918fd47 Core/Misc: Partialy fix one AnimKit crash
By Krudor
It still crashes at close client
updates #112
If anyone have idea i have one sniff comparing the values on retail 4.3.4, without this fix, without animkit and with this fix with animkit.

Join https://t.me/joinchat/AAAAAAiEtwpxLaE8MnmdeA
2017-02-18 04:40:17 +01:00
Aokromes
daeab3a10c Update 2017_02_17_06_world.sql 2017-02-17 19:53:19 +00:00
Aokromes
ca20d34f59 Make travis happy 2017-02-17 16:16:00 +01:00
Aokromes
7ddb8a7486 Coding standards 2017-02-17 16:11:51 +01:00
Sevi
672350b0c1 Merge branch '4.3.4' into '4.3.4'
Dungeon/The Stockade: Randolph Moloch is now 100% Scripted

See merge request !38
2017-02-17 15:01:17 +00:00
Flameshot
7c752692fe New line 2017-02-17 16:54:43 +02:00
Flameshot
1be7b106a3 Codestyle 2017-02-17 16:50:17 +02:00
Flameshot
499f7d3d5b Removed unedeed things 2017-02-17 16:46:52 +02:00
Flameshot
267d2805d7 Dungeon/The Stockade: Randolph Moloch is now 100% Scripted 2017-02-17 16:40:20 +02:00
Aokromes
b5a7e9f1a5 compile fix 2017-02-17 10:07:47 +01:00
Aokromes
ffad24c6f5 rename files 2017-02-17 09:41:37 +01:00
Aokromes
0748e7f820 Added some missing SetFallInformation calls
Fixed HP drop bug on zeppelins
Fixed possible packet relocation problems on huge transports
2017-02-17 09:39:09 +01:00
Aokromes
00622f0ad9 Core/Misc: Fix static analysis issues 2017-02-17 09:30:02 +01:00
Killyana
122174e9cd DB/Creature: Add and fix some trash mobs in Ulduar 2017-02-17 09:25:38 +01:00
Killyana
86ea67633d DB/Creature: Captain Greenskin model fix
Closes #19125
2017-02-17 09:25:30 +01:00
Killyana
4226c3fae4 DB/Creature: Melnan Darkstone <Darkmoon Faire Barker> 2017-02-17 09:25:22 +01:00
Killyana
51cfb5ce7e DB/Creature: Kruban Darkblade <Darkmoon Faire Barker>
Ref #19120
2017-02-17 09:25:14 +01:00
Gustavo
08687e2fca Core/Scripts Update boss Skadi the Ruthless (#19114) 2017-02-17 09:23:47 +01:00
Aokromes
cb08181bbc DB/Misc: Every gnome should start with Irradiated Aura
By Girip Dragos, closes #119
2017-02-17 06:54:59 +01:00
Aokromes
3938ee3be4 Add missing code 2017-02-12 10:58:25 +01:00
Aokromes
8d28b453fd TDB 4.3.4.16 2017/02/11 2017-02-11 06:51:30 +01:00
Aokromes
5f9f5251e4 Rename files 2017-02-11 06:00:07 +01:00
Aokromes
c4fdf75436 Tools: Make extractor better, add mmaps extractor multitask 2017-02-11 05:53:26 +01:00
Rushor
d06172e2e7 DB/Creature: Katherine Lee
Closes #19095
2017-02-11 05:53:16 +01:00
Rushor
5201a45bb9 DB/Creature: Mountain Gronns
Closes #19094
2017-02-11 05:53:06 +01:00
Rushor
f10e22ac9c DB/SAI: Bleakheart Hellcaller
Closes #19082
2017-02-11 05:52:57 +01:00
Rushor
b849d126f4 DB/Creature: Bleeding Hollow Peon
Closes #19069
2017-02-11 05:52:04 +01:00
Rushor
dd3de65502 DB/Creature: Living Cyclone
Closes #19065
2017-02-11 05:51:39 +01:00
Aokromes
7d06513731 force boost 1.55 install 2017-02-10 17:28:53 +01:00
Aokromes
d5c7d80ec5 Make travis happy 2017-02-10 17:22:55 +01:00
Aokromes
bc19916d79 Sync with 3.3.5a 2017-02-10 06:45:33 +01:00
Aokromes
ce5a361470 Compile fix 2017-02-10 05:58:52 +01:00
Aokromes
edd093304e rename files 2017-02-10 05:36:07 +01:00
Aokromes
d57462bf0f Core/Scripts Rework boss Terestian Illhoof (Karazhan) 2017-02-10 05:33:28 +01:00