hello i've tried to make a clan rep manager but i have one problem with "case" ..
i have added this "private static final int CLITEM = Config.CLITEMID;" in L2ClanTraderInstance and this:
case CLITEM:
reputation = Config.CLPOINTS;
itemCount = Config.CLCOUNT;
break;[code]
but i get warning, "case expressions must be constant expressions" how can i fix it ? :-\
My initial plan was to port the Homunculus system from Live 502 to ClassicAden 502. But, when the interface for Homunculus is enabled, it has some hardcoded function that tries to load the dat files which leads to a crash since those files dont exist in ClassicAden. I was hoping to do some injection hoping, forcing the client to load the files.
Question
TouchAndDie
hello i've tried to make a clan rep manager but i have one problem with "case" ..
i have added this "private static final int CLITEM = Config.CLITEMID;" in L2ClanTraderInstance and this:
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now