Jump to content

darkstalker

Members
  • Posts

    717
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by darkstalker

  1. use: Player *VictimP = (Player*)pVictim; or Player *VictimP = dynamic_cast<Player*>(pVictim); dont forget typeid check: if (pVictim->GetTypeId() == TYPEID_PLAYER) ...
  2. try using STL containers instead of arrays, memset and memcpy in C++ code is bad
  3. SpellEntry *sfix = const_cast<SpellEntry*>(sSpellStore.LookupEntry(66842)); sfix->EffectImplicitTargetA0 = TARGET_SELF; do all changes before world init
  4. dbc info is incomplete (and sometimes wrong), it doesnt contain everything, things like creature spawns arent in the dbc
  5. another "related" bug is that chests ignore group loot rules, so when you open it on raids its like on ffa mode
  6. flying onyxia was working on latest sd2 releases, pretty good script.
  7. you can make them cast with a SD2 scripts for copying the caster's look i think you need to assign its display id and equipment ids into the summoned creature, maybe copy from the corpse creation
  8. I noticed since some time that mangos doesn't check terrain height in LoS calculation so you can cast spells out of los in some situations, like shooting to the WSG graveyard from the ground below. Maybe it just assumes flat terrain, but there are some places with "mountains" (like durotar) that should block LoS, but currently you can cast through them. Did i miss some config option or its just not implemented?
  9. could generate boundaries from the mesh triangle, and set virtual obstacles outside it, so you can move the unit using ground level (from vmaps i guess) other alternative could be omit the navigation mesh completely and assume unknown terrain, the unit discovers it as long as it moves (update obstacles in visibility range). You do more processing but no need to have precalculated data
  10. modify the SpellEntry in sSpellStore, not in the file modifying your data structures is legal
  11. set EffectImplicitTargetA0 = 1 in the dbc
  12. i thinks that RPPVP mode, from what i know you can change your faction there
  13. all other combinations are fine, but the concept and implementation works ok
  14. I got this working on a live server, seems fine. Duno why all people just spams "bump" or "any news", why not just try it out yourself (and improve it), or just want everything handed on a silver plate? only detail i found is that one of the white tauren skins give a black cat form oh, and also found this + case FORM_AQUA: + if(Player::TeamForRace(getRace())==ALLIANCE) + return 2428; + else + return 2428; dead code? or a typo here?
  15. afte checking out the last version use: git rebase <hash> where <hash> is the revision hash for the rev you want, in this case is d31768fbc6e105ec3d8e6e7b4301af8078d23f59 (you get it from http://github.com/mangos/mangos/commits/master)
  16. maybe the correct way of implementing the mammoth is with a vehicle, not a regular mount like now
  17. only thing that works for me is mounting the ulduar vehicles at start, cant cast spells (requires mana or something else), and if a second passenger enters, he cant do anything (doesnt get vehicle bar or the ability to dismount) couldn't figure out to make the multi passenger mammoth to work
  18. i dont think its correct to use SpellHealingBonus there, the result value of SpellNonMeleeDamageLog already applies spellpower
  19. you doing make install first? do a "make" first, then the "make install"
  20. why not make a table "player_data" with fields: (playerguid, field, value) would be a lot easier to mantain and update
  21. here it is: http://paste2.org/p/508697
×
×
  • 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