Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

evBuff_DebuffSystem event does not work

Ask for help
Post Reply
Orich
Developer
Developer
Posts: 3
Joined: 05.08.2013 2:46

evBuff_DebuffSystem event does not work

Post by Orich »

Nothing I try works.

Code: Select all

procedure buffChecker(id, attributeid:word; isenabled:boolean);
begin
   AddToSystemJournal('buffchecker called');
   ClientPrint('buffchecker called');
end;

SetEventProc(evBuff_DebuffSystem, 'buffChecker');
Since nothing was working, I searched and found Crome969's Events.pas (http://www.scriptuo.com/index.php?topic=10739.0) for buff handling. Register_BuffDebuff(); does not show anything when I cast buffs.

I have spent many hours learning and writing scripts. The two things I need to continue are evBuff_DebuffSystem and UsePrimaryAbility/UseSecondaryAbility/GetActiveAbility

Please help :-)


BTW, Stealth is -awesome- so far besides these bugs.
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: evBuff_DebuffSystem event does not work

Post by Vizit0r »

even if this not works in Stealth 4 - i will not (and can't) fix it.
So, you can try to test Stealth 6, here it works
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
Orich
Developer
Developer
Posts: 3
Joined: 05.08.2013 2:46

Re: evBuff_DebuffSystem event does not work

Post by Orich »

Where do I download Stealth v6?
Crome696
Novice
Novice
Posts: 67
Joined: 04.03.2012 18:57
Location: Germany
Contact:

Re: evBuff_DebuffSystem event does not work

Post by Crome696 »

Just as Side note, Events were working on 4.x. If anyone have similar troubles contact me for troubleshooting.
Stealth Development Team & Support
Post Reply