Page 1 of 1

Adventure's Guide Buffs

Posted: Mon Jan 16, 2012 10:17 pm
by lucan
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: 5046
L2JDP Revision Number: 8403

Why any buff that I put on the table helper_buff_list does not work? Only buffs Aventures work.
If I change the Skill ID Adventure Wind Walk to Normal Wind Walk ID, he dont work more.
I want to add some new Adventures Guild NPC buffs but not working.
Plz any help?

Re: Adventure's Guide Buffs

Posted: Thu Feb 02, 2012 11:12 am
by lucan
Anyone?

Re: Adventure's Guide Buffs

Posted: Thu Feb 02, 2012 1:17 pm
by tukune
because Normal Wind Walk hitTime and reuseDelay not 0.
try
SupportMagic.java

Code: Select all

- npc.doCast(skill);+ skill.getEffects(npc, player);+ npc.broadcastPacket(new MagicSkillUse(npc, player, skill.getId(), skill.getLevel(), 0, 0));

Re: Adventure's Guide Buffs

Posted: Thu Feb 02, 2012 3:07 pm
by lucan
hummm i try and inform the results!
Thanks!!

Re: Adventure's Guide Buffs

Posted: Thu Feb 02, 2012 3:22 pm
by lucan
----------
ERROR in D:\L2JSERVER\gameserver\data\scripts\handlers\bypasshandlers\SupportMagic.java (at line 137)
npc.broadcastPacket(new MagicSkillUse(npc, player, skill.getId(), skill.getLevel(), 0, 0));

MagicSkillUse cannot be resolved to a type

With your patch I need to change all current skills in database to new skills? Because I kept normal adv skills only for testing.

Re: Adventure's Guide Buffs

Posted: Thu Feb 02, 2012 3:25 pm
by afk5min
Click on new MagicSkillUse in code, hit F2, select to import it from [...].network.serverpackets.

Re: Adventure's Guide Buffs

Posted: Thu Feb 02, 2012 3:59 pm
by lucan
Sorry, forgot the import :oops:

EDITED:
No more errors, I'll test later including other buffs and inform if it worked.

Re: Adventure's Guide Buffs

Posted: Thu Feb 02, 2012 10:00 pm
by lucan
Works Perfect!!! Thanks! :D
Can close the topic!!!

Re: Adventure's Guide Buffs

Posted: Mon Mar 12, 2012 1:32 am
by franpisco
lucan wrote:Sorry, forgot the import :oops:

EDITED:
No more errors, I'll test later including other buffs and inform if it worked.
import com.l2jserver.gameserver.network.serverpackets.MagicSkillUse;

Re: Adventure's Guide Buffs

Posted: Sat Mar 24, 2012 3:55 pm
by franpisco
ummmm ... now i have and issue ... the buff helper doesn't give buff to pet's ... only to players =S