tomrus88
8363c22715
Added one more git ignore.
2010-03-14 13:26:22 +03:00
tomrus88
8ad6f70c35
Fixed typo.
2010-03-14 13:24:45 +03:00
tomrus88
bad00af71c
Fixed VS2010 build after commits:
...
2e4a3ca5e6
0833a9c566
2010-03-14 13:23:27 +03:00
Opterman
547919e249
[9582] Send looted creature guid in proper field of loot packets.
...
Also use ObjectGuid in related functions.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-14 00:09:35 +03:00
tomrus88
e82eb322e3
Fixed auction (may be not completely).
2010-03-13 23:06:53 +03:00
laise
bae7d15bb9
[9581] Fixed apply damage reduction to melee/ranged damage.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-13 21:49:20 +03:00
tomrus88
c2a3062f4e
Fixed quests.
2010-03-13 20:34:23 +03:00
tomrus88
26070c571f
Merge remote branch 'origin/master' into 330
2010-03-13 17:52:17 +03:00
tomrus88
9ae77536a3
Merge remote branch 'origin/master' into 330
2010-03-13 17:37:54 +03:00
VladimirMangos
ab7840a591
[9580] Add ObjectGuid const& Object::GetObjectGuid() and restore build.
2010-03-13 17:35:47 +03:00
VladimirMangos
2bf75e7a10
111
2010-03-13 16:12:13 +03:00
VladimirMangos
8416702d7c
[9579] Use ObjectGuid in some loot code.
...
Also use ObjectGuidSet instead std::set<ObjectGuid>
2010-03-13 14:06:27 +03:00
tomrus88
086e9fa1ce
Merge remote branch 'origin/master' into 330
...
Conflicts:
src/game/Player.cpp
src/game/PlayerDump.cpp
2010-03-13 00:54:13 +03:00
tomrus88
768772b14b
Updated to PTR build 11655.
2010-03-13 00:50:15 +03:00
VladimirMangos
acde81fc54
[9578] Use ObjectGuid in visibility sets
2010-03-12 22:54:14 +03:00
NoFantasy
29b2c80449
[9577] Implement SCRIPT_COMMAND_DESPAWN_SELF (self = creature in this context)
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-12 17:32:24 +01:00
NoFantasy
dbbc45828a
[9576] Implement SCRIPT_COMMAND_CREATE_ITEM to use when no spell exist
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-12 16:19:34 +01:00
VladimirMangos
a12fecab0d
[9575] Use ObjectGuid in Map object stores/world access/search.
2010-03-12 14:38:38 +03:00
VladimirMangos
b01de55396
[9574] Use proper template arg instead default value
2010-03-12 12:20:50 +03:00
XTZGZoReX
8f0da43638
[9573] Add config option Network.KickOnBadPacket. If enabled, player will be kicked on badly formatted (wrong structure) packet.
2010-03-11 21:46:10 +01:00
XTZGZoReX
bd6d27998b
Add structure and prevent spam for some LFG opcodes.
...
Thanks to Spp for help with researching CMSG_LFG_JOIN.
2010-03-11 20:52:28 +01:00
NoFantasy
dbe089b66d
[9572] Add script calls for GameObject GossipHello and GossipSelect
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-11 15:35:13 +01:00
VladimirMangos
c4f3578226
[9571] Create and use ObjectGuidGenerator/IdGenerator template classes.
...
* This is let finally hide guid structure in ObjectGuid.h/.cpp code.
* Shared related code.
NOTE: while switch to use new clasess one more problem has been detected
with not-safe code in .pdump work for future per-map multi-threading.
It's need rewrited before will possible safe use in like case.
For current single world thread case it's safe.
2010-03-11 16:32:09 +03:00
Laise
873b2cab99
[9570] Implement glyph 55692
...
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-11 10:27:44 +01:00
Lightguard
acb0c70c74
[9569] Fix spell 60772
2010-03-11 09:14:07 +01:00
NoFantasy
45cc830eae
[9568] Add function to manually start random movement.
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-11 00:47:34 +01:00
XTZGZoReX
8ffeb2b48b
[9567] Add 2 unknown target flags.
2010-03-10 20:23:07 +01:00
Derex
5236b648eb
[9566] Restore build
2010-03-10 21:04:04 +02:00
tomrus88
e73c5d3b79
Merge remote branch 'origin/master' into 330
...
Conflicts:
src/game/Unit.cpp
2010-03-10 20:24:28 +03:00
tomrus88
393d46f9f6
Updated to latest PTR build.
2010-03-10 20:21:18 +03:00
VladimirMangos
530580876f
[9565] Add detection code for partly cave area 3780
2010-03-10 17:26:28 +03:00
hunuza
5d84477f7f
[9564] Remove some trailing whitespace and add comment for last commit.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-10 13:45:41 +01:00
hunuza
efe0cde815
[9563] Use DEFAULT_WORLD_OBJECT_SIZE in ObjectPosSelector if size == 0.
...
This should fix a freeze in ObjectPosSelector.
If size == 0, m_anglestep became 0 -> freeze.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-10 13:32:43 +01:00
XTZGZoReX
d490532a55
[9562] Another update of AIReaction enum (and comments).
2010-03-10 11:28:43 +01:00
VladimirMangos
8b3da285ac
[9561] Fixed typos in header guards
2010-03-10 12:48:28 +03:00
Iron
37f733221d
[9560] Fixes possible runtime crash added by 9551
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2010-03-10 10:12:49 +03:00
XTZGZoReX
820550223a
[9559] Update AiReaction enum.
2010-03-10 01:57:38 +01:00
Lightguard
66c5e3aebb
[9558] Fix a typo from prev. commit:/
2010-03-09 12:01:05 +01:00
KAPATEJIb
c5d43bfd16
[9557] Move the code of glyph 55672 to a better place
...
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-09 10:10:53 +01:00
NoFantasy
3d3348e485
[9556] Allow summoned creatures use MovementType == RANDOM_MOTION_TYPE
...
Using creature_template.MovementType as default. For normal spawned creatures, data from creature table will still apply and override _template.
Radius is 5.0 as default, but may be changed in real-time from ai scripts using function.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-09 01:29:19 +01:00
ApoC
583e37e5c9
[9555] Makes some arguments as references in some ByteBuffer operator methods.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2010-03-08 22:34:36 +01:00
ApoC
1a75730f41
[9554] Fixed possible runtime crash.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2010-03-08 22:29:46 +01:00
VladimirMangos
17d8c4d075
[9553] Make GCC really happy...
2010-03-08 23:42:28 +03:00
VladimirMangos
9a884bdd83
[9552] Make some compiler happy with forward class declaration.
2010-03-08 20:45:34 +03:00
VladimirMangos
c8fd454a79
[9551] Add and use PackedGuid wrapper.
...
Also
* use more wide bytebuff << >> operators for objects
* use at read packet faisl alsways exception way instead some time used bool results.
2010-03-08 20:23:16 +03:00
VladimirMangos
ad9243ebd0
[9550] Hide unsafe templated ByteBuffer::append function only for internal use.
2010-03-08 19:41:41 +03:00
VladimirMangos
7dc6b131c8
[9549] One more typo :/
2010-03-08 01:07:23 +03:00
VladimirMangos
1297318470
[9548] Lost new ObjectGuid.cpp at prev. commit.
2010-03-08 00:52:23 +03:00
VladimirMangos
93ad67fc9d
[9547] Implement ObjectGuid wrapper for guid value
...
Only one example (mostly) case converted to use it.
Need lot work for finally switch to class obly use, so old low-level defines still exist also (while used).
But some unused low-level defines dropped.
2010-03-08 00:46:04 +03:00
NoFantasy
c5fc08934d
[9546] Less strict check in spell CheckTarget, and allow triggered spell.
...
Unit may be not selectable, but spell may be expected to target this unit in any case.
Mostly known problem with npc->npc spells and dummy/triggered spells from AI side.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-07 21:39:24 +01:00