_manuel_
4658b3be97
Modified SCRIPT_COMMAND_TELEPORT_TO now it can be used for Creatures. For players datalong2 must be 0 for creatures 1.
...
--HG--
branch : trunk
2010-05-25 22:11:36 -03:00
[email protected] >
0d4bbd9641
SCRIPT_COMMAND_ORIENTATION fixed right. (thanks Mach)
...
--HG--
branch : trunk
2010-05-18 19:08:08 -02:30
[email protected] >
7ce2853ca8
Fix SCRIPT_COMMAND_ORIENTATION db script command.
...
--HG--
branch : trunk
2010-05-18 17:45:15 -02:30
malcrom
2b7d92a401
Some more engrish to english logerror updates.
...
--HG--
branch : trunk
2010-05-18 14:22:51 -02:30
click
953c267369
Fix broken linuxcompile broken in r53601d50dd
...
--HG--
branch : trunk
2010-05-18 05:46:32 +02:00
[email protected] >
b5342fe754
Add ablility to select closest creature of entry (dataint), range (x) as target for spell (datalong) SCRIPT_COMMAND_CAST_SPELL.
...
--HG--
branch : trunk
2010-05-17 21:24:21 -02:30
[email protected] >
4077f525f0
Add Ability for db script command SCRIPT_COMMAND_ORIENTATION to set creature orientation to face player.
...
--HG--
branch : trunk
2010-05-17 20:37:13 -02:30
click
89887b9b65
Correct SMSG_INSTANCE_DIFFICULTY structure (fixes raid difficulty display).
...
Move GetDifficulty() in under Map-scope, so it's reachable for map-based functions
--HG--
branch : trunk
2010-05-16 04:03:53 +02:00
Anubisss
4a448eca37
Make WaypointMgr to singleton.
...
Move global waypoint_map variable to WaypointMgr's private variable.
--HG--
branch : trunk
2010-05-13 00:08:30 +02:00
Brian
7957d06654
* Add SCRIPT_COMMAND_CLOSE_GOSSIP that can be used in gossip_scripts to force
...
* the gossip window to close when a given menu option is chosen.
* This is with all my love -- for Malcrom :P
--HG--
branch : trunk
2010-05-07 19:17:51 -06:00
click
608855f0a0
Stop drinking heavily and instead do things properly - fixes a typo from previous commit...
...
--HG--
branch : trunk
2010-05-10 14:14:07 +02:00
click
7817596a96
Fix the little messup from the previous commit (sorry!)
...
--HG--
branch : trunk
2010-05-10 14:08:53 +02:00
click
d79f6295aa
Add support for NPC-based start of playing moviesequence + clean up indenting on earlier commit
...
--HG--
branch : trunk
2010-05-10 13:27:18 +02:00
Spp
dd9485993b
Fix instance load broken by me in 8c4b824176
...
--HG--
branch : trunk
2010-05-01 20:59:56 +02:00
Spp
be01821050
More warning removal (Some code modifications and cleanup when needed)
...
--HG--
branch : trunk
2010-04-19 17:03:10 +02:00
Spp
74dd02d024
Remove LOTS of compile warnings
...
--HG--
branch : trunk
2010-04-19 09:26:37 +02:00
Spp
4635fbc020
Code Style (game + scripts only):
...
"!=" --> " != " (when needed)
" !=" --> " !="
"!= " --> "!= "
--HG--
branch : trunk
2010-04-08 08:20:08 +02:00
Spp
46f0674e23
Code Style (game + scripts only):
...
">=" --> " >= " (when needed)
" >=" --> " >="
">= " --> ">= "
"<=" --> " <= " (when needed)
" <=" --> " <="
"<= " --> "<= "
" ==" --> " =="
"== " --> "== "
--HG--
branch : trunk
2010-04-07 23:56:35 +02:00
Spp
2454c290b8
Code Style (game + scripts only):
...
"==" --> " == " (when needed)
--HG--
branch : trunk
2010-04-07 23:25:02 +02:00
Spp
49d05ba9aa
Code style (game + scripts only):
...
"( " --> "("
" )" --> ")"
--HG--
branch : trunk
2010-04-07 22:59:46 +02:00
Spp
d19e127080
Code style (game + scripts only):
...
"if(" --> "if ("
--HG--
branch : trunk
2010-04-07 19:14:10 +02:00
Spp
2e127f7a30
Code style (game + scripts only):
...
"while(" --> "while ("
--HG--
branch : trunk
2010-04-07 19:13:19 +02:00
Spp
182e9a20b1
Code style (game + scripts only):
...
"for(" --> "for ("
--HG--
branch : trunk
2010-04-07 19:12:44 +02:00
Spp
b27ce42704
Code Style: Remove trailing spaces
...
--HG--
branch : trunk
2010-04-07 18:09:10 +02:00
[email protected] >
83500cb1e4
Added SCRIPT_COMMAND_MODEL 32 Allows changing of npc model in db scripts.
...
--HG--
branch : trunk
2010-03-30 19:01:25 -02:30
[email protected] >
66f5d749c0
Added script command 31 SCRIPT_COMMAND_EQUIP inables an npc to change weapons in TC scripts.
...
--HG--
branch : trunk
2010-03-29 17:45:08 -02:30
Xanadu
2c605ee482
Upgraded SCRIPT_COMMAND_EMOTE to do state emotes, too, based on datalong2 value. By Malcrom.
...
--HG--
branch : trunk
2010-03-17 21:00:44 +01:00
thenecromancer
e1542df90c
Convert some C style casts to new functions
...
--HG--
branch : trunk
2010-03-11 20:51:31 +01:00
Xanadu
ebee705452
Fixed SCRIPT_COMMAND_ORIENTATION, orientation needs to be float. Credit to Malcrom.
...
--HG--
branch : trunk
2010-03-11 16:54:25 +01:00
raczman
07f3b91426
Some Creature* casts moved to new ToCreature.
...
Added const Creature* ToCreature()
--HG--
branch : trunk
2010-03-07 18:30:53 +01:00
_manuel_
661a8be9a5
Implemented SCRIPT_COMMAND_ORIENTATION.
...
--HG--
branch : trunk
2010-03-01 19:40:05 -03:00
silver1ce
e010310c6d
removed redundant linking
...
--HG--
branch : trunk
2010-02-27 15:51:26 +02:00
silver1ce
fcaa318fb3
Update visibility system
...
*visibility updates and ai relocations processed simultaneously for each grid
*these operations now are not synchronized for different grids
*some changes into structure of visibility notifiers
--HG--
branch : trunk
2010-02-27 15:25:14 +02:00
Brian
486c00891b
* Core switch to client 3.3.2 (11403)
...
* Credits (in no particular order) to:
* n0n4m3, raczman, manuel, Spp, Malcrom, Teacher, QAston, Tartalo,
* thenecromancer, Xanadu, Trazom, Zor, kiper
* Additional credits to:
* TOM_RUS and NoFantasy from MaNGOS
* Thanks for testing Aokromes and XTElite1
* SoTA still needs some work, but is very playable (huge thanks to raczman and
* kiper)
* To upgrade, you need to apply all SQL from sql/updates/3.2.2a_old from the
* last rev you are on
* and then apply all SQL from sql/updates/3.3.2_old to char / realmd / world
* DBs
* Known problem with guild banks.
--HG--
branch : trunk
2010-02-14 19:13:14 -07:00
Xanadu
f8d1920fa5
Yet more cleanup, mostly in the script system. This should conclude the script integration into core.
...
--HG--
branch : trunk
2010-02-05 13:01:32 +01:00
silver1ce
02acc66043
cleanup into grid containers
...
grid containers doesn't contains guid keys, so guid parameter is useless,
removed find functions(anyway result of search would be null always)
--HG--
branch : trunk
2010-02-03 05:23:32 +02:00
XTZGZoReX
c3ae3b88aa
* Implement CMSG_CORPSE_MAP_POSITION_QUERY/CMSG_CORPSE_MAP_POSITION_QUERY_RESPONSE opcodes. Thanks to: Ceris, Lightguard, raczman for helping with research/code.
...
* Fix SMSG_QUERY_TIME_RESPONSE use/structure. Patch/research by TOM_RUS.
--HG--
branch : trunk
2010-01-29 22:24:18 +01:00
XTZGZoReX
9f00ca3eb8
* Remove CellLock class and all cell-level thread locking.
...
** It was wasting CPU power as cell-level locking is not needed.
** Our multithreading is on map-level, not cell-level.
** CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data.
** Some minor cleanup in Cell::Visit/Map::Visit.
--HG--
branch : trunk
2010-01-23 22:24:41 +01:00
Anubisss
d9cb070215
Implement QueryResult_AutoPtr type which is ACE's reference counted auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers.
...
Use this auto_ptr for every DB queries(except QueryNamedResult yet).
This patch guarantees NO memory leaks from QueryResult pointers.
Thanks to raczman for the idea and for the helping to make this patch.
--HG--
branch : trunk
2010-01-23 14:45:58 +01:00
QAston
216d32e8a7
*Prevent assertion fail in Unit::_AddAura after creature add to remove list.
...
--HG--
branch : trunk
2010-01-22 20:03:47 +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
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
n0n4m3
782fa95f1f
Fixed crash in Wintergrasp when send incorrect GetArea flag and coordinats
...
--HG--
branch : trunk
2010-01-17 08:32:48 +03:00
n0n4m3
99f66a6bc9
Updated copyright for new year.
...
--HG--
branch : trunk
2010-01-16 20:19:18 +03: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
QAston
758baae61b
*Make sure that any aura (in case of aura remove linked auras for example) won't survive Unit::RemoveAllAuras.
...
--HG--
branch : trunk
2010-01-12 00:14:09 +01:00
silver1ce
8c85caf41d
Resolves #259 fixed crash, caused by incorrect cell_id generation
...
--HG--
branch : trunk
2010-01-10 22:28:36 +02:00
silver1ce
74bd8084a0
dropped old code, which unused since new visibility system implemented
...
--HG--
branch : trunk
2010-01-10 16:33:14 +02:00
silver1ce
6933199257
call SetPosition when player relocated by movement generator.
...
SetPosition should interrupt auras with movement or turn interrupt flags, update position for group, etc
--HG--
branch : trunk
2010-01-06 12:26:18 +02:00
silver1ce
f82d5cb3fc
fixed the bug that GetVmapHeight returns incorrect height on terrains(flying units fall below map etc)
...
also unlocked max ray lenght for getHeight, by default it's 10 yards
--HG--
branch : trunk
2010-01-06 12:15:02 +02:00