Commit graph

4770 commits

Author SHA1 Message Date
VladimirMangos
e17f7bf4d5 [11569] Remove recently added area switch time duel check.
Only duel start expected to be limited by area.
Duel end controlled only distance/map and outOfBound timer
2011-05-30 12:02:30 +04:00
VladimirMangos
5ec1203c4f [11568] Use bit indexes in HITINFO_UNK* naming 2011-05-30 08:29:19 +04:00
Xfurry
b45c37ab9e [11567] Implement spells 66725, 68161, 66808, 68160.
Thanks to Schmoozerd for help implement its in proper way.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-30 06:25:32 +04:00
VladimirMangos
4f214f55d7 [11566] Fixed problem with reuse BG save data not only at first failed login to BG.
Most visible problem result: infinity restart in taxi flight
after join to BG from taxi if character logout in BG and BG finished before re-login.
2011-05-30 05:47:12 +04:00
VladimirMangos
2dbc5b219a [11565] Output guid string instead low guid only for .npc info
Command can be used not only with plain creatures and just low guid
not describe propertly target.
2011-05-30 02:44:22 +04:00
VladimirMangos
59bd6947dd [11564] Missing final false case in CheckMailBox 2011-05-30 02:26:38 +04:00
VladimirMangos
3c0ca51db3 [11563] Add support mailbox access for npc with CREATURE_TYPEFLAGS_SQUIRE 2011-05-30 02:24:16 +04:00
NoFantasy
e0c92f50f4 [11562] Additional comments and corrections to SMSG_LOOT_MONEY_NOTIFY
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-29 14:06:12 +02:00
NoFantasy
539e77b08f [11561] Add missing byte (unknown) to SMSG_LOOT_MONEY_NOTIFY
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-29 11:54:21 +02:00
VladimirMangos
598c843548 [11560] Implement .mailbox command
Work semilar .bank for mailbox case.
2011-05-29 09:36:30 +04:00
Den
e3463dca0d [11559] Not command character to sitdown at logout request when unexpected.
This fix swiming/form flight cases animation in logout request.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-29 05:23:30 +04:00
Schmoozerd
0de4e302b3 [11558] Fixes and way work chnages for GO lock/interact state
* Not reset lock/interact state in instances (so until instance reset)
* Do unti-cheating checks for use attempts locked/non-intareactive GOs
* Implement SCRIPT_COMMAND_GO_LOCK_STATE for control lock/interact state of GOs from scripts.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-29 04:31:34 +04:00
VladimirMangos
4a087e6bda [11557] Duel related fixes
* Implement duel allowed check base at proper area flag AREA_FLAG_DUEL (0x00000040)
  This allow duels for example in capital area 4570 and allow/fogbid correctly some other zones and areas.
* Implement duel cancel at leave duel allowed area
* Fixed code for duels work in sunctuary if area allow duels.
2011-05-29 03:57:15 +04:00
breakwater
7205023415 [11556] Implement spell 42005 proper target seelction.
Also
* added TargetDistanceOrderFarAway ordering function and
* renamed TargetDistanceOrder -> TargetDistanceOrderFarAway

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-29 01:13:22 +04:00
NoFantasy
8d8abd2afb [11555] Add a comment for SMSG_UPDATE_COMBO_POINTS
Remove another obsolete comment

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-28 20:54:36 +02:00
NoFantasy
6b3359575b [11554] Add some "tail" data for SMSG_CAST_FAILED and SMSG_PET_CAST_FAILED
Not all SPELL_FAILED_* are used currently (but ok for future implementation)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-28 13:06:03 +02:00
Schmoozerd
3beb20b67d [11553] Implement script effect for spell 68861.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-28 06:37:31 +04:00
breakwater
ce14b28ba4 [11552] Implement aura SPELL_AURA_STOP_NATURAL_MANA_REGEN (294)
Also partly implement using it spell 62692.

FIXME: Some spells expected to be working for target under spell 62692 effect
       not working. This need additional research and fixes.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-28 05:24:36 +04:00
zergtmn
e204c246f4 [11551] Cast 64455 with full stack amount 2011-05-27 18:54:31 +06:00
NoFantasy
f533813047 [11550] Add and use VICTIMSTATE_UNAFFECTED, in relation with HITINFO_MISS
Some code cleanup in addition and add comments for unknown fields in SMSG_ATTACKERSTATEUPDATE packet

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-27 13:23:40 +02:00
michalpolko
4bb5fdb53b [11549] Fixed talent 58872 and ranks triggering by not blocked attacks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-27 04:54:04 +04:00
Xfurry
b4c354eff6 [11548] Fixed target amount for spell 64218
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-27 02:54:11 +04:00
VladimirMangos
21a1240811 [11547] Fixed spell 24604 targets.
Fix based at DENNO's idea.
2011-05-27 02:44:03 +04:00
Xfurry
325e610b2a [11546] Implement script effect for spell 72034/72096
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-27 01:10:30 +04:00
Xfurry
c117acc926 [11545] Implement spell 24320
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-26 21:51:35 +04:00
zergtmn
85c8caee9c [11544] Disable automatic *.map file generation at build 2011-05-26 20:15:01 +06:00
VladimirMangos
c5b6cc0b37 [11543] Fixed change form to same (powershifting)
Inspired by patch provided by darkstalker.

Client expected receive form field change at form switing including case with switch to same form.
In fact problem too good mangos optimization in part avoid send unchanged values in update fields.

* Added function Object::SendForcedObjectUpdate()
* It used in form apply code for make sure received by client non-form applied state in middle form shifting state.
* It also used for fishing code when client also expected received some update fields chnages before
  animation update. New function send update to all all client instead before used code that send it to fishing player
  and resend later one more time to other players and player itself as normal update.
2011-05-26 17:18:47 +04:00
VladimirMangos
81984732a3 [11542] Replace partly spell list by recently added function in one more place. 2011-05-26 04:22:24 +04:00
breakwater
6b66f12a67 [11541] TARGET_CURRENT_ENEMY_COORDINATES/TARGET_ALL_ENEMY_IN_AREA_INSTANT pair code duplication.
Default way proccessing will work fine, so drop special case in code.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-26 04:14:53 +04:00
VladimirMangos
2b79599986 [11540] Fixed spell 59752 and some other impossibility cast in stun like states.
Original patch provided by darkstalker.
2011-05-26 03:47:03 +04:00
zergtmn
5cae1c2211 [11539] Implement group guids with HIGHGUID_GROUP 2011-05-25 19:55:35 +06:00
NoFantasy
0fbf2cf7d3 [11538] Add safeguard against weirdness in UpdateCombatSkills
Prevent weapon/defense update also in case of negative skill difference result (may become negative after use of .level -N -command)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-25 12:25:14 +02:00
NoFantasy
4b919b1f32 [11537] Nerfing the word "Redunction" and remove one letter, to Reduction.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-25 10:43:45 +02:00
SilverIce
4bb2d662a2 [11536] Override Unit::SetPhaseMask for players, move some functionality from Aura::HandlePhase 2011-05-25 04:20:50 +03:00
VladimirMangos
78a4460501 [11535] More wide use IsFitToFamilyMask
Simplify check for one from cases base at recheck spell data.
2011-05-25 04:06:55 +04:00
VladimirMangos
2cbde12458 [11534] Guild disban memory losses and unsafe code.
* Make sure that guild object deleted in all cases after disband.
* Avoid recusive like way call Disband from DelMember
2011-05-25 03:20:28 +04:00
VladimirMangos
b5c3ec952f [11533] Fixed wrong call IsFitToFamilyMask in my prev commit.
Also prevent like wrong usage in future by additional check.
2011-05-24 18:08:45 +04:00
VladimirMangos
da06d09c45 [11532] Prevent triggering some spells at 0 damage hit. 2011-05-24 16:33:23 +04:00
SilverIce
1b709c8ff8 [11531] Normalize gameobject's quaternion, thanks to zergtmn for pointing 2011-05-24 13:12:48 +03:00
breakwater
d02bee5127 [11530] Fixes for talent 47201 and ranks
* Update triggering source spells.
* In code overwrite wrong family mask data for spell mod.
  If more cases will be maybe will better restore spell_affect table.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-24 06:00:47 +04:00
SilverIce
7c86d3f477 [11529] Pack and send to client all gameobject's quaternion components which allows place gameobjects cornerwise.
Update '.gobject turn' command, now you have to specify 3 rotations to turn gameobject: rotation angles around z, y and x axes.
Note to DB devs: use QuaternionCompressed::Unpack to extract rotations from the data that came with UPDATEFLAG_ROTATION.
2011-05-24 03:49:13 +03:00
blueboy
ab50a7d3e9 [11528] typeid usage req. include <typeinfo> for GCC build.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-24 03:53:10 +04:00
SilverIce
7d889c0821 [11527] Check rotation0 and rotation1 fields at gameobject data loading 2011-05-24 02:27:45 +03:00
VladimirMangos
f98144e89d [11526] Make ChatHandler accessable from script DLL as expected by recently added AI call. 2011-05-24 01:15:45 +04:00
VladimirMangos
dcac3b8fa0 [11525] Fixed stacking talent 46951 and ranks triggered spell with glyph 43424 triggered. 2011-05-23 07:07:50 +04:00
VladimirMangos
d5675ba3bd [11524] Avoid adding auction item to player inventory update queue.
Also not set ITEM_FIELD_CONTAINED before real adding item to inventory.
No known porblem with last but code cleanup.
2011-05-23 05:33:21 +04:00
Schmoozerd
4ba5aa83e3 [11523] Implement .npc aiinfo
Comamnd show information about used AI and scripts for targeted creature.
AI classes (including from script DLL) can provide additinal info about own state.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-23 03:05:05 +04:00
jethro84530
ae2a9e1c6a [11522] Replace code expression (!a > 0) to safe version.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-22 02:02:14 +04:00
Iriskin
5876afb0a4 [11521] Fixed typo in chat command help.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 23:55:03 +04:00
VladimirMangos
40fb57e461 [11520] Fixed service/daemon calls order. Mixed wrongly in my prev. related fix. :/
Provide more information at windows service (un)install errors.

Note: by some reasons i have sometime problems with start windows service using '-s run' command
but it start fine by manual from services control applet. Maybe related to used by me win7 x64
2011-05-21 23:47:36 +04:00