Jump to content
  • 0

Hallo Guys Someone Can Help Me Please!


Rydar

Question

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

Link to comment
Share on other sites

Recommended Posts

  • 0

L2Effect[] effects = activeChar.getAllEffects();

for(L2Effect buff : effects)

{

   if (buff !=null) bla bla

}

 

Lock it..

Edited by AccessDenied
Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

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:
Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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? 

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

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:

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...