Jump to content

Schmoozerd

Members
  • Posts

    1078
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Schmoozerd

  1. thank you - unfortunately I wen't out of time - so this will probably not come before next year (at least not from me pushed) Wish you all happy holidays!
  2. Move to rejected, as this is not part of mangos (cleaning a bit in submission area) However I created a submission to zero-database git repo that this doesn't get lost! - https://github.com/mangos-zero/database/issues/38 They shall do whatever pleases them most
  3. I step in with bumping - is this(what is this actually) still required? Little Christmas present for Lynx to look into
  4. I really can not see the reason to add a new type to do something that only unsummons slightly faster (because the ooc-timer is also ticked while corpse case) If I misread something, please tell, otherwise rejected. Thank you anyways case TEMPSUMMON_TIMED_OR_DEAD_DESPAWN: { // if m_deathState is DEAD, CORPSE was skipped if (IsDespawned()) { UnSummon(); return; } if (!isInCombat() && isAlive() ) { if (m_timer <= update_diff) { UnSummon(); return; } else m_timer -= update_diff; } else if (m_timer != m_lifetime) m_timer = m_lifetime; break; }
  5. in [11874] Thank you
  6. in [11873]. Thank you @lillecarl - thanks for the comment, but next time be more specific
  7. this is default behaviour. if the GM is not binded and he teleports to a player, he will enter the instance in which the player is (not entirely sure if the diff-mode selection is ignored or must match)
  8. Updated version: http://paste2.org/p/1833850 Does anybody know a problem with this patch? Because I don't. And except maybe some small style thingies (which can always be found) - if this patch works nice - I think we have long enough waited for this feature.
  9. have you also updated the executables you use? Also you must keep the database in sync. Especially translations and commands often mismatch the expected format and then crash.
  10. Thank you for the patch. Slightly different version in [11870] (Could not find a trace of spell 51270 and also no size changes - though they surely look nice)
  11. in [11868] Thank you
  12. SpellWork or (in this case) wowhead can be enough. the effect index is the index of the effect responsible for the effect you want to check - the aura here. so a spell that 0) does some damage 1) applies an aura 2) has some dummy effect would have "1" as effect index for the aura
  13. besides there is really not much use in giving support to someone who insists to stay on a very outdated revision to avoid work related to custom code. If you have custom code, then don't complain about the work that follows as of it.
  14. sure it is possible. easiest would be to replace all places where the exp-gain rate is used with a custom function considering the level of the player
  15. fist weapons count to "unarmed" - hence every class that can use "unarmed" can use fist weapons. (and ofc. every class can use "unarmed") This is a bug in mangos somewhere. probably the function that must be used is "CanEquipItem" or similar
  16. the repository from where you got sd2 is outdated. Look into http://www.scriptdev2.com/showthread.php?t=4 or one of the english guides (at least they should all be correct in this point) SD2 has moved to git, so the guide you used is outdated - would be nice if somebody with french language skillz would update
  17. you likely have gm mode on. try .gm off
  18. just a warning ahead: a mob summoned with MANUAL_DESPAWN must not only be despawned, but must be unsummoned, elsewise it will respawn But TEMPSUMMON_TIMED_OR_DEAD_DESPAWN should despawn the npc after (despawntime) millieseconds. (Or when the mob is DEAD)
  19. yes - you are indeed right that we don't do this very well. We have some instance-wide yells, but more likely we should just use the npc-rank as multiplier for the range
  20. look in the declaration (i think in script-mgr) the actual data of the script is a union of sub-structs (one for each command) and the common values hence you just must add there the default values. However I think I don't really think this is a good choice, most temp-summoned npcs should be TEMPSUMMON_DEAD_DESPAWN or TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, but if you want to change it you are ofc free to do so Best look into one of the recent commits which added a new command to see which places you might want to change
  21. For a new table I suggest to examine the commits https://github.com/mangos/mangos/commit/ad6a1c15e1dff7cdbc440237af0066546e3dc489 https://github.com/scriptdev2/scriptdev2/commit/3b423bd407e271c421a7a8242dd00ce338015f92 Basicly it boils down to: "LoadMangosStrings(WorldDatabase, "ahbot_texts", someRangeBegin, someRangeEnd);
  22. you could use the LANG_ id-space, there are tons of free ids reserved for custom use.
  23. if I see this correctly the spell 52956 requires x-y-z targets in spell_target_position in the database - then it should work
  24. Move then to rejected as obsolete
×
×
  • 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