Rydar Posted April 8, 2016 Posted April 8, 2016 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 lotPS:Sorry for my English :)
0 AccessDenied Posted April 8, 2016 Posted April 8, 2016 (edited) L2Effect[] effects = activeChar.getAllEffects(); for(L2Effect buff : effects) { if (buff !=null) bla bla } Lock it.. Edited April 8, 2016 by AccessDenied
0 UnAfraid Posted April 8, 2016 Posted April 8, 2016 L2Effect[] effects = activeChar.getAllEffects(); for(L2Effect buff : effects) { if (buff !=null) bla bla } Lock it.. Look again what's on the picture :troll:
0 AccessDenied Posted April 8, 2016 Posted April 8, 2016 (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 April 8, 2016 by AccessDenied
0 Rydar Posted April 8, 2016 Author Posted April 8, 2016 (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. :/ Edited April 8, 2016 by antoskasas123
0 Tessa Posted April 8, 2016 Posted April 8, 2016 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 UnAfraid Posted April 8, 2016 Posted April 8, 2016 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 AccessDenied Posted April 8, 2016 Posted April 8, 2016 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 UnAfraid Posted April 8, 2016 Posted April 8, 2016 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 AccessDenied Posted April 8, 2016 Posted April 8, 2016 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 AccessDenied Posted April 8, 2016 Posted April 8, 2016 (edited) https://www.assembla.com/spaces/L2jFrozenInterlude/subversion/source/HEAD/gameserver/trunk/head-src/com/l2jfrozen/gameserver/model/L2Skill.java#ln3133 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 April 8, 2016 by AccessDenied
0 UnAfraid Posted April 8, 2016 Posted April 8, 2016 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 Tryskell Posted April 8, 2016 Posted April 8, 2016 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
0 AccessDenied Posted April 8, 2016 Posted April 8, 2016 Well it wouldn't make sense to return player's effects from a skill instance, or would it? :troll: you never know in frozen...
0 Sdw Posted April 8, 2016 Posted April 8, 2016 That's a fucking nice idea UnAfraid, gonna impl that !
0 UnAfraid Posted April 8, 2016 Posted April 8, 2016 That's a fucking nice idea UnAfraid, gonna impl that ! :rage: :rage: :rage: :rage:
Question
Rydar
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 :)
59 answers to this question
Recommended Posts