Commit graph

3602 commits

Author SHA1 Message Date
Lynx3d
01d326b90d [10202] Rename isInFlight() to IsTaxiFlying() and UNIT_STAT_IN_FLIGHT to UNIT_STAT_TAXI_FLIGHT.
Also add IsFreeFlying() function to Player class.
2010-07-17 02:06:28 +02:00
SilverIce
e47e9a2218 [10201] Broadcast packets only if worldobject is in world
There is no sense to do that for objects that not in world - those objects are unknown for clients
and their packets will be ignored

(based on SilverIce's repo commit 6305402)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-17 03:46:57 +04:00
SilverIce
ea4afebff8 [10200] Correct function call sequence in possess aura handlers
also removed not needed ResetView call in dummy aura handler

(based on SilverIce's repo commit c3f02ed)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-17 02:52:52 +04:00
Laise
ae51168ffc [10199] Fix 33763 and ranks final heal and mana return on dispel and on expire 2010-07-16 21:35:00 +03:00
VladimirMangos
2284df7868 [10198] Partly revert old changes in load instance reset time.
* Its has been added for raid/heroic instances in time adding
  support MapDifficulty.dbc. Its wrongly assign reset events
  for each instance instaed use generic event for map/difficulty pair.
  In result at this event triggering instance can be attempt resetted
  multiply time.
* Also comment this in InstanceResetEvent fields notes
2010-07-16 01:28:38 +04:00
VladimirMangos
f8efc2b5b3 [10197] Add to playercreateinfo original player orientation field.
It still not filled. Patch with correct values welcomed ;)
2010-07-15 22:25:27 +04:00
VladimirMangos
f72b8e60a5 [10196] Use enum for instance reset event types, some related cleanup code. 2010-07-15 18:31:38 +04:00
virusav
a27ecef96d [10195] Some gender dependent spells
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-15 05:32:46 +04:00
zergtmn
ea90f4e8c7 [10194] Fix "Documentation" filter in ACE VC 10.0 project
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-15 05:24:11 +04:00
VladimirMangos
7468df5a1c [10193] Use for Transport::Update arg uint32 type as for other world objects 2010-07-15 05:18:16 +04:00
VladimirMangos
f4dde39085 [10192] Small cleanups related target effectMask check. 2010-07-15 02:45:28 +04:00
VladimirMangos
ebe28d025b [10191] Update vmaps extractor/assembler binaries using vs2008.
* This make some ppl happy who not have installed VS2010 runtime.
* Also vmap assembler include recent fix for absend locale support,
  that ofc only affect ppl who before can't use assembler with this locales supporting client.
* Also small update for vmap extarctor project .gitignore
2010-07-15 01:04:13 +04:00
Lynx3d
bbe869b75d [10190] Fix another numerical corner case...
...hopefully the last one.
Slightly different approach to tree bound intersection.
2010-07-14 22:33:00 +02:00
Laise
904ef55b4e [10189] Fix display of Interrupted message and fix channelled spells interrupting 2010-07-14 13:24:16 +03:00
XTZGZoReX
eadeda8f5d [10019] Update realmd opcode list.
Thanks to Phazerz for helping with research.
2010-07-13 19:56:00 +02:00
Lynx3d
603d576d60 [10188] Add missing locales to vmap extractor. 2010-07-13 04:42:01 +02:00
VladimirMangos
04ec18afce [10187] 2 non-sense code lines cleanup. 2010-07-13 03:55:52 +04:00
SilverIce
a0ea5cde4d [10186] Fixed visibility constant refresh problem with pet direct control spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-13 02:14:40 +04:00
Laise
beff2a145c [10185] fix auras adding to previously added holder 2010-07-12 20:29:26 +03:00
VladimirMangos
40c7356290 [10184] And tradition typos :( 2010-07-12 20:06:31 +04:00
VladimirMangos
464a841c81 [10183] Better tracking stack checks with include one not catched non-stacking case.
Spell 41446 expected to be non-stacking with other trackers.
2010-07-12 19:32:05 +04:00
VladimirMangos
6e3f51b1b6 [10182] Allow stacking some tracking bufs, and prevent stacking some other.
For example item 25548 buff expected to be allowed stacking
but spell 19885 not allowed.
2010-07-12 19:02:43 +04:00
Laise
6c8967ae5f [10181] Fix spell 55681. Thanks Danstahr. 2010-07-12 11:00:44 +03:00
VladimirMangos
09d61040e6 [10180] Implement ITEM_FLAGS_NO_EQUIP_COOLDOWN support.
Also server side check for ITEM_FLAGS_INDESTRUCTIBLE
2010-07-11 21:35:30 +04:00
NoFantasy
0a2ee023fb [10179] Add "missing" spells in commented form for Aura::TriggerSpell()
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-11 12:37:41 +02:00
NoFantasy
081b98ff04 [10178] Clean up some comments and align/indent as done for similar spell code.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-11 11:33:09 +02:00
NoFantasy
b0c0b464ce [10177] Add custom code for triggered part of spell 39105
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-11 10:59:07 +02:00
Lynx3d
425352fcc7 [10176] Use std::isnan in the hope more non-MS platforms provide it.
Note that G3D::isNaN() is simply wrong IMHO...and not even inlined.
One day, there will be a usable C++ standard not light-years behind good old C...
2010-07-10 13:54:35 +02:00
Lynx3d
00751347e5 [10175] Fix incorrectly blocked line of sight in certain locations.
I really should know by now that floats are not infinitely precise...
2010-07-10 04:30:44 +02:00
VladimirMangos
695f0f1655 [10174] Fix special targeting for spells 812/9347. 2010-07-10 02:17:39 +04:00
QSOS
6fba66fded [10173] Fix infinity loop in 31884 spell code
Signed-off-by: Laise <fenrisse@gmail.com>
2010-07-09 22:48:03 +03:00
VladimirMangos
11a3de436e [10172] Make git and users happy with contrib/vmap_extract_assembler_bin/make vmaps.bat
* Unix encoding
* Never never use in any cases not only mangos filenames with spaces. Tools can generate
  expected nightmare level without like help from your side ;)
2010-07-09 23:26:20 +04:00
VladimirMangos
93e06f945e [10171] Clarify acoount password/lock command errors. 2010-07-09 23:20:39 +04:00
VladimirMangos
b398bb4dc4 [10170] Fixed typo in prev commit :/ 2010-07-09 17:34:26 +04:00
VladimirMangos
ff1259b30f [10169] New config option Quests.IgnoreRaid
It allow if enabled (disbled by default) do non-raids quests in raid.
2010-07-09 17:19:43 +04:00
NoFantasy
617dd4391a [10168] Add dummy aura effect of spell 32045, 32051 and 32052.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-09 00:40:33 +02:00
Lynx3d
da2c210161 [10167] Bump vmap extractor version to 3.00 2010-07-08 23:53:07 +02:00
Lynx3d
988ca2e101 [10166] Romve now unused Stormlib, it also included a redundant copy of zlib.
Note that WoW 4.x support for libmpq still unclear, but in any case
this Stormlib version is outdated too and will not support it either,
even if we need to switch back.
2010-07-08 23:19:17 +02:00
Lynx3d
5e89098a61 [10165] New collission system (vmap) implementation
Important:
* You have to re-extract and assemble vmaps
* Update your config file, new option 'vmap.enableIndoorCheck' added

New features:
* Include WMO+DBC area information for correct subarea identification and indoor check
* Support for WMO liquid (fishing/swimming in cities, instances and oterh WMO based environments)

Technical changes:
* New Bounding Interval Hierarchy (BIH) data structure for better performance
* Referenced model data for reduced memory usage,
  needs more files, but reduces overall file size from ~1.9GB to ~550MB

Additional Authors:
arrai (DBC handling and indoor detection)
faramir118 (windows support and bug investigation)
And of course thanks Vladimir for a lot of patience and support!
2010-07-08 23:17:26 +02:00
Lynx3d
c2bcfd0f18 [10164] Update vmap_assembler to upcoming new implementation
* Note: vmap_assembler tool will not compile until final commit of new vmap system
* Now also comes with Visual Studio 2010 project files and CMake files
2010-07-08 23:11:39 +02:00
Lynx3d
cda38d9370 [10163] Update vmap_extractor to support new vmap implementation.
Note: This is not compatible with current assembler, wait for upcoming commits

* Now also supports Linux (CMake) and Visual Studio 2010,
  see README for build and use instructions
* Uses libmpq for now, since at project start stormlib did not work
  properly on 64bit linux.
* Should be a lot faster, a few badly written lines ate most CPU time for
nothing...

Special thanks to arrai and faramir118 for additional code and fixes
2010-07-08 23:09:01 +02:00
Lynx3d
f3f8e5f812 [10162] Added libmpq to dep/
This is from official repo (SVN rev. 300)

Additionally includes free implementation of stdint.h and dirent.h for VC++,
aswell as Visual Studio project files.

Special thanks to faramir118 for Windows support.
2010-07-08 23:05:15 +02:00
faramir118
d0b952c89e [10161] Add bzip2 2010-07-08 22:45:55 +02:00
Laise
f5565c725a [10160] Fix sql for character_aura and pet_aura 2010-07-08 17:52:36 +03:00
Laise
a4c197681b [10159] clean-up after recent changes 2010-07-08 13:30:08 +03:00
VladimirMangos
cec6063933 [10158] Fixed 2 format args errors in debug output. 2010-07-07 21:43:41 +04:00
Lynx3d
0096bf6ebb [10157] Fix makefile and make gcc happy. 2010-07-07 19:31:23 +02:00
Laise
a32b3063a2 [10156] Add shared object for auras of same spell and move spell proc code to its own file, also spread procs by auras and effect indexes. 2010-07-07 19:08:26 +03:00
NoFantasy
abe6776358 [10155] Add script effect of spell 66744
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-06 15:15:23 +02:00
VladimirMangos
232db2b306 [10154] Fixed crash at loot item and etc after recent check add. 2010-07-05 14:05:55 +04:00