0 SweeTs Posted May 12, 2014 Posted May 12, 2014 (edited) You should be more polite if you want to get asnwer. We are not some kind of robots to answer to your questions like instant.. Also, we're providing tips/hints so you can LEARN, if you rly want.. If you just came here and want to get READY file(s) like most of this 'meh' community, then.. Well.. @Devlin Shame on you, if you does something, make it properly or do not do it at all :P @Andrey If you would be a lil bit smart, you would open ANY file and use SEARCH for L2DatabaseFactory and see how that Connection con should looks like, is that so hard to TRY to manage it on your own - no offense, it's just the way you should follow.. Searching for ready codes / examples to fix your error.. Connection con = L2DatabaseFactory.getConnection() should be Connection con = L2DatabaseFactory.getInstance().getConnection() Edited May 12, 2014 by SweeTs
0 HaddWik Posted May 8, 2014 Posted May 8, 2014 It is already adapted. Just use search :) http://www.maxcheaters.com/topic/178145-acis-supermonster/?hl=supermonster
0 Andrey™ Posted May 8, 2014 Author Posted May 8, 2014 It is already adapted. Just use search :) http://www.maxcheaters.com/topic/178145-acis-supermonster/?hl=supermonster Are you blind? It's same.
0 HaddWik Posted May 8, 2014 Posted May 8, 2014 In that case ARE YOU DUMB and you cannot change l2s.gameserver to net.sf.l2j.gameserver ?
0 Tryskell Posted May 8, 2014 Posted May 8, 2014 (edited) There is strictly nothing to adapt.... Just drop all imports, save the file to re-add imports automatically and you're supposed to be done. Edited May 8, 2014 by Tryskell
0 MeVsYou Posted May 8, 2014 Posted May 8, 2014 There is strictly nothing to adapt.... Just drop all imports, save the file to re-add imports automatically and you're supposed to be done. So simple answers from this guy. * Tryskell, Thank God of Rats :D
0 Andrey™ Posted May 9, 2014 Author Posted May 9, 2014 (edited) Thanks Sweet! Edited May 13, 2014 by Andrey™
0 `iAndre Posted May 9, 2014 Posted May 9, 2014 There is only one error. Warn method is undefined. Also .. this should be in data/scripts not in gameserver.
0 Andrey™ Posted May 10, 2014 Author Posted May 10, 2014 (edited) Thanks Sweet! Edited May 13, 2014 by Andrey™
0 Trance Posted May 10, 2014 Posted May 10, 2014 How!? These imports are 'cause lack of imports. As SweeTs says, use Ctrl + shift + o to fix imports.. As about "_log.warn", rename it to "_log.warning".
0 HaddWik Posted May 10, 2014 Posted May 10, 2014 Here you can replace _log.warn("[SuperMonster] addHero(days) error: ", e); to _log.log(Level.WARNING, "[SuperMonster] addHero(days) error: ", e); The other problems are just imports to be fixed. Also DatabaseFactory should be renamed to L2DatabaseFactory...
0 Andrey™ Posted May 11, 2014 Author Posted May 11, 2014 (edited) Thanks Sweet! Edited May 13, 2014 by Andrey™
0 Devlin Posted May 11, 2014 Posted May 11, 2014 http://pastebin.com/MNCm1LRr Addapted it, no errors. Try it yourself.
0 Andrey™ Posted May 11, 2014 Author Posted May 11, 2014 (edited) Thanks Sweet! Edited May 13, 2014 by Andrey™
Question
Andrey™
Thanks Sweet
19 answers to this question
Recommended Posts