Commit graph

4794 commits

Author SHA1 Message Date
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
NoFantasy
6b8e4ceee6 [10153] Add GOSSIP_ICON_* for id 11 to 20
Note that all may not be in use(or exist), and needs more research

Adjust one enum creature type flag to CREATURE_TYPEFLAGS_CAN_ASSIST
Adjust one enum item flags to ITEM_FLAGS_INDESTRUCTIBLE

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-05 11:57:01 +02:00
VladimirMangos
dbd0cec336 [10152] Useless use 'std::string' for temporary store 'char const*' 2010-07-05 02:12:17 +04:00
Lightguard
091b69500d [10151] Prevent autostoring not empty bags
Thanks to The_Game_Master for detailed information about the bug.
2010-07-04 22:58:42 +02:00
VladimirMangos
59871ac550 [10150] Disableand exclude code use for gui promt from G3D
* It mostly useless becase we use console error reporting way for other cases
* It have porblem with G3D_OSX based build

Original patch provided by Imbecile.
2010-07-05 00:16:55 +04:00
Derex
0cb3a01833 [10149] Build tbb on linux/unix
Unix specific notes:
* Use --with-std-malloc in configure to disable tbb, if you have problems or you want to use the default or another allocator.
* Even if you disable tbb, the library will still be built and installed, so you can still use it manually.
2010-07-04 21:55:05 +03:00
Lightguard
ba5de6eb8c [10148] Improve .gm ingame command
Thanks to Vladimir for suggestions
2010-07-04 00:30:36 +02:00
VladimirMangos
790e3b85bd [10147] Dynamic objects not have interactive size. 2010-07-04 00:11:27 +04:00
crackm
52e4c0ab17 [10146] Implement SCRIPT_COMMAND_PLAY_MOVIE (19)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-03 23:58:41 +04:00
VladimirMangos
ebf27938fb [10145] Use better (but still hack) way for gameobject size calculation
* This is also hack because some float with unknown exactly value used as 'size'
* Another not resolved problem: go size used in creature target autoselection, so for large 'virtual' go
  creature can seelct strange points near in attempt select 'free' place near target.
2010-07-03 23:26:59 +04:00
Insider42
35bf2a56dd [10144] Fix movement impairing effects remove for 65547
Signed-off-by: Laise <fenrisse@gmail.com>
2010-07-03 12:16:02 +03:00
Insider42
55542a5219 [10143] Set correct real caster for 48181 and ranks
Signed-off-by: Laise <fenrisse@gmail.com>
2010-07-03 12:10:05 +03:00
VladimirMangos
c6a55a4ac0 [10142] Read/write time as uint64 in [character_]account_data
Client currently expected uint32 value and time_t fit but
in DB time_t stored for portability as uint64 for this and other tables.
2010-07-03 09:25:53 +04:00
VladimirMangos
c0d7e2a176 [10141] Fixed commented part of SpellRangeEntry structure 2010-07-03 07:15:18 +04:00
VladimirMangos
5724fa1d43 [10140] Reuse GiveQuestSourceItem code for check case
Also show correct amount added item in case partly existed amount.
2010-07-02 23:24:57 +04:00
SilverIce
87946f9c76 [10139] Fix camera iteration in CameraCall function also dropped not needed for now viewpoint's member
(based on SilverIce's repo commit 885724b)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-02 22:17:36 +04:00
antiroot
f0fceda7bc [10138] Include openssl libpath in MANGOS_LIBS for later proper lib search
Also fix typo in ax_check_openssl.m4

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-02 21:24:13 +04:00
Oniryck
f3049e6dd7 [10137] Fixed item/go checks for active raid quests.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-02 17:31:12 +04:00
VladimirMangos
ae01a353ef [10136] Switch to support client 3.3.5a (build 12340)
Merge branch '335'

You need regenerate dbc/map/vmap files.

Special thanks to TOM_RUS for continue work at next client versions support :)
2010-07-02 05:43:50 +04:00
VladimirMangos
d81c9175d8 Update build checks for mangosd/realmd. 2010-07-02 05:34:27 +04:00
VladimirMangos
696db0a3f0 [10135] Bump for 0.17.0 development. 2010-07-02 04:39:03 +04:00
VladimirMangos
b1321feabb [10134] MaNGOS 0.16 release. 2010-07-02 04:01:42 +04:00
Lightguard
38d3fd9c6e [10133] Fix targetmap of spell 53434 and 70893
Thanks to Blaymoira for 70893
2010-07-02 01:49:41 +02:00
VladimirMangos
885c3449b4 [10132] Cleanup code for Group::_homebindIfInstance 2010-07-02 03:22:13 +04:00
przemratajczak
8d80906296 [10131] Fix spellpower bonus received by 54181
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-07-01 10:17:15 +02:00
zerg
3dbb8385b5 [10130] Proper stacking 30108/348 anr ranks from 3.2.x
(based on zergtmn's repo commit 7588ca9)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 22:34:59 +04:00
zerg
3215c80cce [10129] Add cooldown marker for talent 56342 and ranks triggering spell.
(based on zergtmn's repo commit 87d1309)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 22:14:03 +04:00
zerg
f5d6fe6b01 [10128] Since 3.3 pets receive 100% of master's resilience
(based on zergtmn's repo commit 21eba43)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 21:57:12 +04:00