Commit graph

6482 commits

Author SHA1 Message Date
Ambal
f67d89f109 [10727] Map system re-engineered. Special thanks to Blueboy for tests.
Signed-off-by: Ambal <pogrebniak@gala.net>
2010-11-16 21:08:28 +02:00
NoFantasy
f5e40a5fda [10726] Correct one SQL in tools, table was renamed.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-16 08:54:18 +01:00
NoFantasy
6e1605caef [10725] Add a few comments for SUMMON_PROP_TYPE_CRITTER
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-15 22:35:33 +01:00
NoFantasy
8a1c5bd800 [10724] Fix TARGET_AREAEFFECT_CUSTOM, need to obey type when DB target entry exist
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-15 18:04:59 +01:00
TOM_RUS
ec974656ac Fixed wrong error message for quest related areatriggers. 2010-11-15 09:03:24 -08:00
NoFantasy
9c4be1d308 [10723] Add dummy aura effect of 51405 and dummy effect of 51420
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-15 17:31:51 +01:00
tomrus88
76dfdd336f Backports from 400 branch. 2010-11-15 18:01:45 +03:00
NoFantasy
bf774f49ce [10722] Fill target map for TARGET_RANDOM_NEARBY_DEST(b) cases.
Corrects ~35 spells, where most has summon effects.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-14 17:35:35 +01:00
NoFantasy
ff56ee3db2 [10721] Use required_quest instead of _heroic for non_instance areatrigger teleport
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-13 09:02:19 +01:00
VladimirMangos
4aa239ac8c [10720] Implement check gossip_menu_option.npc_option_npcflag.
For cases main menu options used by creature but impossible show in result absent
related npcflags for any creatures used that menu.
2010-11-11 18:08:53 +03:00
tomrus88
ff66e20468 [10719] Implement proper calculation quest honor reward.
Now server side rewar same as reported at client side.

Also thanks to KiriX for patch prepering to commit and testing.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-10 23:50:33 +03:00
VladimirMangos
c9dacb9940 [10718] Partly revert "[10687] UInt32 timer class copies instead using time_t timers for mstime cases."
This reverts commit 967877fefd91e00895f9790dc006b532b94d41b7
in part MapManager/World timers.

Main reason: unclear source cases wrong mstime diff generation at WorldRunnable level at *nix systems.
So need have existed in past hacks that skip its.
2010-11-10 17:55:20 +03:00
VladimirMangos
3b0e926788 [10717] Revert "[10716][10688] New version of patch for send real diff from last update."
This reverts commit 8398a55fa274471daae115e00c627b299a3fdbbd.
This reverts commit 06e2d6859ba3d7fd47be72c23a64e68ae039701f.
2010-11-10 06:29:49 +03:00
VladimirMangos
c1427f7d83 [10716] Typo show commit before revet all realddiff one more time.
Typos show that in fact "working" has been result typos diabled state for relamd.
Cell-based way have not avoidable problems with case when object added to not active
long time Cell. If someone find more working sollution it can be readded ofc.
2010-11-10 06:13:27 +03:00
VladimirMangos
4dc943aaa8 [10715] Fixed move in inventory items with ItemLimitCategory. 2010-11-10 05:42:53 +03:00
VladimirMangos
bfec27707a [10714] Avoid unexpected error at action_menu_id < 0 after recent loading checks adding. 2010-11-10 04:38:27 +03:00
VladimirMangos
9c96949da9 [10713] player/group instance binding fixes.
* Use anum instead raw uint8 type in args
* Fixed crash when gm at continent invite to group gm in instance
  and then teleport to instance using .goname.
  When group leader teleport to instance it must get group bind instead solo bind.
* In other semilar cases detection report error as before but replace solo by group bind instead
  assert crash at enter to map.
2010-11-10 04:36:01 +03:00
VladimirMangos
a87648c56b [10712] Startup checks for gossip_menu and gosip_menu_option table data.
Existance `gosup_menu` id refercned from gameobject field and unused meni ids
activated only with disabled LogFilter_DbStrictedCheck.
2010-11-10 01:00:14 +03:00
VladimirMangos
534ff29f15 [10711] Check localization data for existance main table entres.
Data will skipped for nonexistent entries, and reported with
disabled LogFilter_DbStrictedCheck filter.
2010-11-09 20:26:59 +03:00
SilverIce
24eb9ec87a [10710] Fixed typos in my previous commit 2010-11-09 15:24:10 +02:00
zergtmn
6c1dd50511 [10709] Prevent wrongly use transport guid as unittarget in spell targets
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-09 06:13:10 +03:00
Revils
050eb8cf5f [10708] Update ACHIEVEMENT_CRITERIA_TYPE_LOOT_* with group roll.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-09 05:43:03 +03:00
eggxp
11f13e10bd [10707] Move Glancing Blow early in melee outcome results.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-09 05:32:29 +03:00
virusav
262b3ce1ff [10706] Implement talent 30326 for spell 5138.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-09 05:11:39 +03:00
SilverIce
b825c33cdf [10705] Simplify CellArea calculation 2010-11-09 00:56:49 +02:00
NoFantasy
7032423d6f [10704] Add the option to close gossip window in gossip system
Field action_menu_id in gossip_menu_option table can be set to -1 where close gossip is expected, instead of sending a new menu.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-08 23:18:58 +01:00
michalpolko
71b50e6e42 [10703] Check SPELL_ATTR_IMPOSSIBLE_DODGE_PARRY_BLOCK for special attacks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-08 23:25:50 +03:00
rsa
5bc0ba05e3 [10702] Fixed loading mails broken after [10692]
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-08 22:57:59 +03:00
kid 10
b435aa350f [10701] Correct check percent spell costs in AI::CanCast
Also use uint32 for spell cost fields/results

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-08 22:38:35 +03:00
VladimirMangos
a72930acc9 [10700] Remove unused structure GridUpdater. 2010-11-08 21:22:08 +03:00
NoFantasy
0eaef918e7 [10699] Add debug note for not implemented summon property group
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-08 14:16:15 +01:00
SilverIce
b6695d5279 [10698] Compute cell area bounds for active objects in the same way like it done for players 2010-11-08 02:23:43 +02:00
NoFantasy
b4a48f976e [10697] Less strict check for update at war state for factions
Clarify in comments of recent added spell dummy effect

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-08 01:16:20 +01:00
VladimirMangos
9508001213 [10696] Avoid selection despawned creatures as spell autoselected targets.
Original patch provided by virusav.
2010-11-08 03:09:01 +03:00
VladimirMangos
d2b3981631 [10695] Cleanup some death state enums usage. 2010-11-08 02:13:25 +03:00
SilverIce
bb3663d94f [10694] Use portable ACE way msecs time value calculation
Avoid use unsafe code for non-Windows platforms
Thanks to Marik for research the problem and Ambal for helping me with this patch
2010-11-08 01:02:57 +02:00
DasBlub
e9869e7470 [10693] Update SpellEntry based on the work of TOM_RUS 2010-11-07 21:08:34 +01:00
blueboy
ee8cc71e38 [10692] Fixed wrongly use %d for guids in DB queries.
This can affect correct result in cases big guid values
(out of range for possitive part of int32 range) at x86 platforms.

Some other cases addded in addition to original patch fixes
where %d wrongly/unsafe used for unsigned values.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-07 22:10:37 +03:00
VladimirMangos
10d3d3ce24 [10692] Fixed some GCC warnings and code errors.
Thanks to freghar for provide cleaned list of warning messages.
2010-11-07 21:30:55 +03:00
NoFantasy
349719e520 [10691] Add dummy effect of spell 53475, 53487 and 54015
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-07 16:09:46 +01:00
VladimirMangos
2b98f699b7 [10690] Fixed *nix build problem after recent commits. 2010-11-07 03:04:35 +03:00
VladimirMangos
bffc07e4bc [10689] Restore some item checkes for temporary loot case. 2010-11-07 02:20:10 +03:00
VladimirMangos
e219ee99bb [10688] New version of patch for send real diff from last update.
In new version last update time stopred for specific Cell that store all world objects
placed in it. All objects of Cell updated (or not updated) in same time.

Original version provided by ciphercom.
2010-11-06 22:59:54 +03:00
VladimirMangos
464908f453 [10687] UInt32 timer class copies instead using time_t timers for mstime cases.
Also cleanup weather update code and some random code cleanups.
2010-11-06 22:51:40 +03:00
Lynx3d
478bf3b367 [10686] Update outdated comment 2010-11-06 01:12:39 +01:00
VladimirMangos
315da014af [10685] Fixed creature_template loading after vendor changes.
Thanks to insider42 for problem research.
2010-11-05 22:04:45 +03:00
VladimirMangos
a163425b57 [10684] Fixed mangos.sql creature_template default content after adding vendor_id 2010-11-05 21:21:54 +03:00
VladimirMangos
0847d4c8cd [10683] Revert "[10677] Send to creature/etc Update call real diff from last update and use it."
This reverts commit 10784a8c7cc81c468b5411e973d36ecf31de9603.

Main reason: impossibility for me as commiter test problem and fix all corner cases problems.
2010-11-05 19:54:31 +03:00
VladimirMangos
2f144d9d29 [10682] New table 'item_convert' for convertion items.
* Implment vendor at show replace BoA item with reputation requirement
  by identical item without rep. reqs for player that fit this requirements
  of original item.

* Table also can be used for store item convertion data form one team items
  to similar other team items. This case not impement but added function easy
  used for it.

* Note: strict single convert for item not created problem for both way use:
  item converted for same team or all, can't be original item for conversion to
  another team.
2010-11-05 00:41:16 +03:00
SilverIce
225b4db1ca [10681] Added new Cell::Visit* functions to visit grids with center in (x,y) coords
* This fixes possible problems with Spell::FillAreaTargets(center of search should be (x,y) position, not spell caster's position)
* Cleanup Cell class, removed old and unused code
2010-11-04 21:45:49 +02:00