Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead. There is no support for other server builds than the official provided by l2jserver.com
If you want to receive support we need this info to help you properly. » Find Revision
L2J Revision Number: LatestBETA
L2JDP Revision Number: LatestBETA
Hello everyone .. i am new in this community..I used Advanced Champion Mod by VlLight
and i got many errors .. I fixed all of them except from one and i want your opinion...Here is the error.. I give u the quick fix too just to consider the problem to where it is located com.l2j.gameserver.model.actor.L2Attackable.java
[javac] setTeam(ChampionData.getInstance().getGlow(champType)); [javac] ^ [javac] method L2Npc.setTeam(Team) is not applicable [javac] (actual argument int cannot be converted to Team by method invocation conversion) [javac] method L2Character.setTeam(Team) is not applicable [javac] (actual argument int cannot be converted to Team by method invocation conversion) [javac] 1 error
getTeam/setTeam were recently rewritten from int to Team enum: http://trac.l2jserver.com/changeset/6313
If you fixed all the other errors, pretty sure you can fix this one too, with the help of that changeset.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste! Discussion breeds innovation.
hmmm all these are fixed the only possible soluton i think is just to import the enum
in L2Attackable
But the problem is it annt be imported i save it and it just erase it
means that ChampionData.getInstance().getGlow() returns an int, not a Team enum.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste! Discussion breeds innovation.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste! Discussion breeds innovation.