Jump to content

Dexious

Members
  • Posts

    8
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Dexious

  1. It may be incorrect values in the database, so I'd check there first.

    Otherwise, the .cpp source files are very plainly labeled, regarding what area of the game mechanics they handle. I'd say any of them with [em]spell[/em] or [em]aura[/em] in the file name is a good place to start.

    I checked those files + some other similar ones but i couldn't find the formula that calculates the bonus on the Holy Light spell. :/

  2. Hello community,

    I'm using:

    MaNGOS Zero/0.12.1 (* * Revision 1809 - *)

    ScriptDevZero (for MangosZero rev. 1396+)

    World DB: ZDB 0.2.0 (003) for MaNGOSZero 0380 with SD0 SQL for rev. 80

    creature EventAI: ACID 1.0.1 - Full Release for Mangos Zero (1.12.1 Client)

    Okay my problem is with some of the Paladin's spells that won't benefit as much as they should from healing bonus items.

    For example a T3 set Paladin is getting only +30 bonus healing to Holy Light which is incorrect.

    Is there a way to modify the formula that gives bonus to some spells and fix them?

    If yes, what files should i check on?

    Thanks for your time.

  3. Way to go, dude! :D

    A lot of errors with NPCs usually are due to an incorrect flag being set. It seems the ZeroDB has been popping up with a lot of errors, lately. It probably needs an overhaul, judging by all the issues reported. We really do need a team of volunteers to update the database and post the fixes. Xenithar and several others have been posting about the bugs they've found so far. You might want to take a look at them, in case you run into the same issues and someone has posted a fix.

    Would you be kind enough to post your fix, so others encountering this Spirit Guide issue in Zero will know how to correct it?

    Okay, i'll post here the flags that made each Spirit Guide working for me (Alliance/Horde).

    Alliance Spirit Guide

    npcflag = 64

    unit_flags = 768

    type_flags = 2

    faction_A = 35

    faction_H = 83

    Code of creature_template:

    [== SQL ==]
    REPLACE INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES
    (13116, 0, 0, 13336, 0, 'Alliance Spirit Guide', '', 0, 60, 60, 8609, 8609, 7860, 7860, 0, 35, 83, 64, 1.76, 1.14286, 0, 1, 354, 456, 0, 187, 1, 2000, 1292, 1, 768, 0, 0, 0, 0, 0, 0, 62.016, 85.272, 100, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 844, '', 0, 3, 0, 1, 0, 0, 0, 0, 2, 'npc_spirit_guide');
    

    Horde Spirit Guide

    npcflag = 64

    unit_flags = 768

    type_flags = 2

    faction_A = 83

    faction_H = 35

    Code of creature_template:

    [== SQL ==]
    REPLACE INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES
    (13117, 0, 0, 13338, 0, 'Horde Spirit Guide', '', 0, 60, 60, 8609, 8609, 7860, 7860, 0, 83, 35, 64, 1.76, 1.14286, 0, 1, 354, 456, 0, 187, 1, 2000, 1292, 1, 768, 0, 0, 0, 0, 0, 0, 62.016, 85.272, 100, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 844, '', 0, 3, 0, 1, 0, 0, 0, 0, 2, 'npc_spirit_guide');
    

  4. The script is fine.

    What i noticed is that i can't see the Spirit Guide when i'm dead, but the only thing i see is the animation of getting resurrected.

    When i have the GM ON i can see the Spirit Guide just fine.

    Do you think it might be a flag error?

    But in the other hand if i don't get this buff (spellid 2584) when i die i can't get resurrected at the Spirit Guide.

    Also when i have the GM ON and try to talk to the NPC to get the buff nothing happens as it should buff you with spellid 2584.

  5. Hello community,

    I'm using:

    MaNGOS Zero/0.12.1 (* * Revision 1809 - *)

    ScriptDevZero (for MangosZero rev. 1396+)

    World DB: ZDB 0.2.0 (003) for MaNGOSZero 0380 with SD0 SQL for rev. 80

    creature EventAI: ACID 1.0.1 - Full Release for Mangos Zero (1.12.1 Client)

    I'm having a problem with Spirit Guide (Alliance and Horde) NPCs. They are located inside the Battlegrounds to resurresct people when they die.

    In my case they seem to cast a spell but nothing happens. What i did to work was to manually add this aura/spell on my character as a buff (spellid 2584) (Waiting to Resurrect)

    while i was dead inside the Battleground and then i was able to get resurrected from the Spirit Guide.

    So the point is that when someone dies, doesn't automatically add this aura/spell as a buff on his character and is unable to resurrect back to the Spirit Guide.

    I'm asking if there is a way to make this work, either by having an area "buffing" the players with this aura/spell at the graveyard or another way.

    Thanks a lot for your time.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use