alextoti13 Posted December 26, 2014 Share Posted December 26, 2014 Hello I use l2jfrozen pack and im trying to make an item that gives the play a level or more I have made the code but the AddLevel has error Code: http://pastebin.com/qMCfJqZZ Link to comment Share on other sites More sharing options...
0 SweeTs Posted December 26, 2014 Share Posted December 26, 2014 String val = "1"; activeChar.getStat().addLevel(Byte.parseByte(val)); Link to comment Share on other sites More sharing options...
0 nikosdevil20 Posted December 26, 2014 Share Posted December 26, 2014 Hello I use l2jfrozen pack and im trying to make an item that gives the play a level or more I have made the code but the AddLevel has error Code: http://pastebin.com/qMCfJqZZ you want add 1 by 1 level per item use or you want when player use that item auto goes to 80 lvl for example? Link to comment Share on other sites More sharing options...
0 alextoti13 Posted December 26, 2014 Author Share Posted December 26, 2014 I want the item when someone clicks it it will give him 1 or more levels Link to comment Share on other sites More sharing options...
0 SweeTs Posted December 26, 2014 Share Posted December 26, 2014 (edited) Because the method addLevel doesn't exist? Use proper method and you will be fine :D Edited December 26, 2014 by SweeTs Link to comment Share on other sites More sharing options...
0 Tessa Posted December 26, 2014 Share Posted December 26, 2014 L2PcInstance doesn't have addLevel method.. look at head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminLevel.java for example Link to comment Share on other sites More sharing options...
0 alextoti13 Posted December 26, 2014 Author Share Posted December 26, 2014 I didnt find anythink :/ Link to comment Share on other sites More sharing options...
0 nikosdevil20 Posted December 26, 2014 Share Posted December 26, 2014 I didnt find anythink :/ addlevel method is on PcStat.java Link to comment Share on other sites More sharing options...
0 alextoti13 Posted December 26, 2014 Author Share Posted December 26, 2014 thanks Link to comment Share on other sites More sharing options...
Question
alextoti13
Hello I use l2jfrozen pack and im trying to make an item that gives the play a level or more
I have made the code but the AddLevel has error
Code: http://pastebin.com/qMCfJqZZ
Link to comment
Share on other sites
8 answers to this question
Recommended Posts