Spp
5cff9e0716
Merge branch 'master' into 4.x
...
Conflicts:
sql/base/auth_database.sql
src/server/authserver/Server/AuthSocket.cpp
src/server/game/AI/CoreAI/CombatAI.cpp
src/server/game/AuctionHouse/AuctionHouseMgr.cpp
src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
src/server/game/DataStores/DBCStructure.h
src/server/game/DataStores/DBCfmt.h
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Entities/Vehicle/Vehicle.cpp
src/server/game/Globals/ObjectMgr.cpp
src/server/game/Globals/ObjectMgr.h
src/server/game/Handlers/AuctionHouseHandler.cpp
src/server/game/Miscellaneous/SharedDefines.h
src/server/game/Movement/MotionMaster.cpp
src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
src/server/game/Quests/QuestDef.cpp
src/server/game/Server/Protocol/Opcodes.cpp
src/server/game/Server/WorldSocket.cpp
src/server/game/Spells/Spell.cpp
src/server/game/Spells/SpellEffects.cpp
src/server/game/Spells/SpellInfo.cpp
src/server/scripts/Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp
src/server/scripts/Spells/spell_quest.cpp
src/server/shared/Logging/Log.h
src/server/worldserver/worldserver.conf.dist
src/tools/vmap3_extractor/model.h
src/tools/vmap4_extractor/CMakeLists.txt
src/tools/vmap4_extractor/dbcfile.cpp
src/tools/vmap4_extractor/dbcfile.h
src/tools/vmap4_extractor/loadlib/loadlib.h
2012-02-23 13:06:35 +01:00
Subv
25d9e2ec29
Core/SAI: Implemented SMARTCAST_AURA_NOT_PRESENT as castflag, the spell will only be casted if the target does not have the aura
...
Signed-off-by: Subv <[email protected] >
2012-02-18 19:10:18 -05:00
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
Spp
37b66384f3
Merge branch 'master' into 4.x
...
Conflicts:
src/server/authserver/Server/AuthSocket.cpp
src/server/game/Entities/Object/Object.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Handlers/AuctionHouseHandler.cpp
src/server/game/Handlers/CharacterHandler.cpp
src/server/game/Handlers/MovementHandler.cpp
src/server/game/Miscellaneous/SharedDefines.h
src/server/game/Spells/Spell.cpp
src/server/game/Spells/SpellEffects.cpp
2012-01-31 11:49:53 +01:00
Subv2112
a3f595ee10
Core/SAI: Implemented SMART_ACTION_SEND_TARGET_TO_TARGET, it can be used to send targets previously stored with SMART_ACTION_STORE_TARGET, to another npc, the other npc can then access them as if it was its own stored list
...
Signed-off-by: Subv2112 <[email protected] >
2012-01-22 07:54:32 -05:00
Machiavelli
5a504f94f7
Merge pull request #4700 from Subv/fix001
...
Core/SAI: Implement SMART_EVENT_GO_STATE_CHANGED and SMART_ACTION_GO_SET_LOOT_STATE
2012-01-07 11:24:53 -08:00
Nay
9c26ce8da5
Merge branch 'master' into 4.x
...
Conflicts:
src/server/game/Achievements/AchievementMgr.cpp
src/server/game/Achievements/AchievementMgr.h
src/server/game/Entities/Corpse/Corpse.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Quests/QuestDef.cpp
src/server/shared/Database/Implementation/CharacterDatabase.cpp
src/server/shared/Database/Implementation/CharacterDatabase.h
2012-01-07 17:13:42 +00:00
Subv2112
a40839fd7b
Core/SAI: Changed SMART_ACTION_CALL_TIMED_ACTIONLIST params, now it has only 2, id and timerType
...
Signed-off-by: Subv2112 <[email protected] >
2012-01-06 22:29:26 -05:00
Subv2112
15d8763478
Core/SAI: Fixed the crash with using SMART_ACTION_ATTACK_START inside a TimedActionList, closes #4650
...
Signed-off-by: Subv2112 <[email protected] >
2012-01-06 22:24:11 -05:00
Subv2112
aaa255b83d
Core/SAI: Implemented SMART_EVENT_GO_STATE_CHANGED and SMART_ACTION_GO_SET_LOOT_STATE
...
Signed-off-by: Subv2112 <[email protected] >
2012-01-06 11:09:01 -05:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
Spp
fa9daaf95b
Merge branch 'master' into 4.x and some warning fixes
2011-12-27 10:15:27 +01:00
Machiavelli
6c03bf9535
Core/Misc: Some random meaningless Engrish to English conversion in a method name because Discovered is too lazy to do it himself.
2011-12-19 22:06:29 +01:00
Machiavelli
d237134d90
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x
2011-12-13 14:05:17 +01:00
Machiavelli
1b2c413933
Core/SAI: Preliminary implementation of SMART_EVENT_GAME_EVENT_START and SMART_EVENT_GAME_EVENT_END {param1: game_event.entry}
2011-12-11 16:23:43 +01:00
Machiavelli
b1c8226d58
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.x
2011-12-10 15:21:55 +01:00
Machiavelli
f5b3553bb3
Core/SAI: Typo in second param of SMART_ACTION_SEND_GOSSIP_MENU. This is npc_text_id, not gossip_option_id. Wiki needs to be updated accordingly.
...
Thanks to Prodigy for pointing out.
2011-12-06 12:37:05 +01:00
Rat
d1affc4340
Initial Commit for client version change to 4.2.2 (14545)
...
- added known opcodes (handlers are commented till not updated)
- added bitstream support to bytebuffer
- updated realm auth for 14545
- updated world auth
- fixed char_enum,create,delete handlers
- added DB2 reader
- added opcode logging to debuglogmask (ignores loglevel)
- fixed compile in win64, others not yet tested
- using db2 values for item models at char_enum to prevent client crash
Lots of Thanks to All SingularityCore Members
2011-11-20 18:28:18 +01:00
kaelima
3d4d147196
Core/SmartAI:
...
- Drop useless actions SMART_ACTION_ENTER_VEHICLE, SMART_ACTION_LEAVE_VEHICLE and SMART_ACTION_REMOVE_PASSENGERS.
(Vehicles are aura-driven, just remove or add the proper aura to achieve the same as these actions did)
- Fixed possible crash in SMART_ACTION_SEND_GOSSIP_MENU
- Areatriggers should not be triggered by dead players
2011-10-31 02:01:17 +01:00
Nay
f17879d423
Core/SAI: Add input validation (params) to certain target types and update target comments
2011-10-30 13:12:39 +00:00
kaelima
f958fdf246
Core/SmartAI: Add actions SMART_ACTION_LEAVE_VEHICLE and SMART_ACTION_REMOVE_PASSENGERS.
...
Fix maxdist for SMART_TARGET_CLOSEST_PLAYER.
2011-10-25 23:50:00 +01:00
kaelima
199bcf1a88
Core/SmartAI: Allow SMART_ACTION_FOLLOW to take 0 values for dist and angle - will set them to their "default" following values.
2011-10-25 19:08:21 +01:00
Nay
5f58965fad
Tiny typo on previous commit.
2011-10-23 13:01:04 +01:00
Geekotron
c2125ece3b
Core/SAI: Add SMART_ACTION_SEND_GOSSIP_MENU.
...
It allows the scripter to change the gossip (and gossip menu option) of a creature with SAI
Param1 = `gossip_menu`.`entry`
Param2 = `gossip_menu_option`.`id`
2011-10-23 12:59:08 +01:00
Rat
e23fe1845f
Core/SmartAI: Updated SMART_ACTION_RESPAWN_TARGET, should work for GOs as intented. Param1 is to set GO respawn time.
2011-10-07 14:12:09 +02:00
Nay
3ccfb5fefb
Core/SAI: SMART_ACTION_FLEE: print flee emote if param1 is set
2011-09-04 18:51:16 +01:00
Chaplain
fb27848510
Core: Clean up here and there.
...
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
Fredi Machado
73b1448f29
Core/AI: English correction thanks u2blah for pointing
2011-08-21 00:07:38 -03:00
Fredi Machado
0b64d726c2
Core/AI: Code style and cleanups
2011-08-18 14:55:59 -03:00
QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
Jesper Meyer
b216522b3d
Core/SAI: Add action SMART_ACTION_JUMP_TO_POS.
2011-07-02 07:52:03 +02:00
kaelima
d277ecc26a
Core/SmartAI: Add ability to set/add/remove dynamicflags of a creature.
...
SmartAI Wiki is updated.
2011-06-12 17:50:23 +02:00
kaelima
b9e8694540
Core: Continued cleanup
...
If and for whitespaces.
2011-06-12 02:30:32 +02:00
Shauren
339e8cb7e0
Core/SAI/EAI: Pass struct parameters by reference instead of value, saves unneeded copying
2011-05-12 10:40:53 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
c51c817a45
Core/ObjectMgr: Refactor sCreatureStorage
2011-04-28 22:57:08 +02:00
leak
e2e9431ca3
Core/ObjectMgr: Refactor sGOStorage
2011-04-28 22:54:30 +02:00
Manuel Carrasco
4796848b83
Core/SAI: Implemented SMART_EVENT_IS_BEHIND_TARGET, it is triggered when the creature is behind its current target.
...
Signed-off-by: Manuel Carrasco <[email protected] >
2011-04-14 00:30:32 -03:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Shauren
9710c41a40
More warning fixes
2011-03-08 19:11:02 +01:00
Shauren
6c020c72cc
Core/SAI: Implemented Gameobject action allowing to send SMSG_GAMEOBJECT_CUSTOM_ANIM with parameter set in param1
2011-03-02 16:50:09 +01:00
Machiavelli
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +01:00
Manuel Carrasco
ad11baffe6
Core/SAI: Implemented SMART_ACTION_INTERRUPT_SPELL action.
...
Signed-off-by: Manuel Carrasco <[email protected] >
2011-02-15 00:29:33 -03:00
runningnak3d
2d9ecceae3
Core/SAI: Add IsEmoteValid back for looking up non-text emotes
2011-02-13 20:39:53 -07:00
runningnak3d
27f5d396a2
Core/SAI: Rename IsEmoteValid to a more fitting name of IsTextEmoteValid
2011-02-13 20:33:48 -07:00
runningnak3d
97882544e1
Core/SAI: Add the ability to remove UNIT_FIELD_BYTES_1 in SAI (action
...
91)
2011-02-07 10:15:54 -07:00
runningnak3d
f7eba9c940
Core/SAI: Add the ability to set UNIT_FIELD_BYTES_1 in SAI (action 90)
2011-02-07 09:35:14 -07:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00