Jump to content
  • 0

Hallo Guys Someone Can Help Me Please!


Question

Posted

Hallo guys someone can help me please, i add the phoenix event engine in my server so when i save the file, in 3 java files i take this error:

I need your help guys, thanks in advance a lot
PS:Sorry for my English :)

IMG_07042016_141658.png

Recommended Posts

  • 0
Posted (edited)

L2Effect[] effects = activeChar.getAllEffects();

for(L2Effect buff : effects)

{

   if (buff !=null) bla bla

}

 

Lock it..

Edited by AccessDenied
  • 0
Posted

L2Effect[] effects = activeChar.getAllEffects();

for(L2Effect buff : effects)

{

   if (buff !=null) bla bla

}

 

Lock it..

Look again what's on the picture  :troll:

  • 0
Posted (edited)

Look again what's on the picture  :troll:

I guess getEffects method get the effects from player and the target? i dont get it since i dont even have eclipse infront of me im at work

dafaq wrong with this frozen,, ,, , , , ,

Edited by AccessDenied
  • 0
Posted (edited)

Hey Guys its me again, you write me, but I never got your help yet, i dont know :/

Please somebody help me, Im desperate. :/IMG_07042016_164627.pngIMG_07042016_164642.pngIMG_07042016_164655.png

Edited by antoskasas123
  • 0
Posted

I guess getEffects method get the effects from player and the target? i dont get it since i dont even have eclipse infront of me im at work

dafaq wrong with this frozen,, ,, , , , ,

And you need eclipse to see what's wrong here? :lol:
  • 0
Posted

I guess getEffects method get the effects from player and the target? i dont get it since i dont even have eclipse infront of me im at work

dafaq wrong with this frozen,, ,, , , , ,

Isn't method describing itself enough? :D

Skill -> Get Effects

Which basically should means list of all effects attached to the skill, makes sense isn't it? :D

 

Regarding screenshots you may wanna show us that method Go to declaration and show screenshot there, i suspect you either imported wrong L2Effect or its not returning array/list

  • 0
Posted

Isn't method describing itself enough? :D

Skill -> Get Effects

Which basically should means list of all effects attached to the skill, makes sense isn't it? :D

 

Regarding screenshots you may wanna show us that method Go to declaration and show screenshot there, i suspect you either imported wrong L2Effect or its not returning array/list

the thing i dont get is it return skill list for both player? cause i dont have getEffect(char 1, char2) method in my project

but anyway if u say

  • 0
Posted

the thing i dont get is it return skill list for both player? cause i dont have getEffect(char 1, char2) method in my project

but anyway if u say

https://www.assembla.com/spaces/L2jFrozenInterlude/subversion/source/HEAD/gameserver/trunk/head-src/com/l2jfrozen/gameserver/model/L2Skill.java#ln3133

  • 0
Posted

And you need eclipse to see what's wrong here? :lol:

Well i can make a method called

 

GetConnection(Con con, L2PcInstance player)

and player variable used to just send a message...

u gonna smell your nails to find out? 

  • 0
Posted (edited)

oh -> return this.getEffects(effector, effected, false, false, false);

 

so it not  return both player effects ok now i see

thought it might return a map for both but okk

Edited by AccessDenied
  • 0
Posted

oh -> return this.getEffects(effector, effected, false, false, false);

 

so it not  return both player effects ok now i see

thought it might return a map for both but okk

Well it wouldn't make sense to return player's effects from a skill instance, or would it?  :troll:

  • 0
Posted

Well it wouldn't make sense to return player's effects from a skill instance, or would it?  :troll:

 

With L2J, you never know. But yeah this one would be too big.

 

:D

Guest
This topic is now closed to further replies.



×
×
  • Create New...