Jump to content

fr00z

Members
  • Posts

    4
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

fr00z's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. More exactly .... ? Chat.cpp, chat.h, chathandler.cpp... ?
  2. Hello, i would like to ask for your help at building a patch having these options: a player <= level 15 can not speak on any channel, for avoiding the WTS, WTT messages, etc. //Characters from level 1-10 are not affected by resurrection sickness. //Characters from level 11-19 will suffer from one minute of sickness //for each level they are above 10. //Characters level 20 and up suffer from ten minutes of sickness. int32 startLevel = sWorld.getConfig(CONFIG_INT32_DEATH_SICKNESS_LEVEL); if(int32(getLevel()) >= startLevel) { // set resurrection sickness CastSpell(this,SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,true); // not full duration if(int32(getLevel()) < startLevel+9) { int32 delta = (int32(getLevel()) - startLevel + 1)*MINUTE; for(int i = 0; i < MAX_EFFECT_INDEX; ++i) { if(Aura* Aur = GetAura(SPELL_ID_PASSIVE_RESURRECTION_SICKNESS,SpellEffectIndex(i))) { Aur->SetAuraDuration(delta*IN_MILISECONDS); Aur->SendAuraUpdate(false); } } } } } The upper text is similiar to this patch, for lvl 1-10 no sickness, etc (just that i want 1-15 no speaking in global ) This code can be a good example for building this patch, do u guys can help me? Might be the problem in mangosd.conf?
  3. This patch works only for 3.2.2a, do u have any clue what needs to be changed to work on 3.3.0.a ?
×
×
  • 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