ganjaradio Posted July 26, 2017 Posted July 26, 2017 (edited) Ive added the faction system from AccessDenied in the pack StormDC, but im getting this error: http://imgur.com/a/abKoc the faction.java file: https://pastebin.com/PYzwCB9i the sql file: https://pastebin.com/tgezJzgR the error wont let the server load more. thx in advance Edited July 26, 2017 by ganjaradio
0 Θα Σπασω Κουπες Posted July 26, 2017 Posted July 26, 2017 hi baby :'( aww my code gave you error because you're too sexy. No im kidding. Your sql is empty.
0 Afou To Patisa Posted July 26, 2017 Posted July 26, 2017 (edited) how can i fix it? :D LOL Edited July 26, 2017 by Afou To Patisa
0 Θα Σπασω Κουπες Posted July 26, 2017 Posted July 26, 2017 how can i fix it? :D Fix what? Your sql is empty... add the sqls..
0 ganjaradio Posted July 26, 2017 Author Posted July 26, 2017 (edited) that is the sql file: https://pastebin.com/tgezJzgR ive added it already edit: http://imgur.com/a/nGmpj Edited July 26, 2017 by ganjaradio
0 melron Posted July 26, 2017 Posted July 26, 2017 Check again what import you added about connection
0 Θα Σπασω Κουπες Posted July 26, 2017 Posted July 26, 2017 Check again what import you added about connection Nooob :-[ cryyy
0 Tryskell Posted July 27, 2017 Posted July 27, 2017 What is BasicDataSource line 45 ? You probably initialized the faction system before the connection pooler. Or there is no connections available and your pack got no loop waiting for a connection to free.
0 ganjaradio Posted July 27, 2017 Author Posted July 27, 2017 (edited) line 45: while(result.next()) while(result.next()) { int id = result.getInt("factionId"); String name = result.getString("factionName"); String[] pos = result.getString("factionPos").split(";"); Location loc = new Location(Integer.parseInt(pos[0]), Integer.parseInt(pos[1]), Integer.parseInt(pos[2])); String color = result.getString("factionColor"); factions.put(id, new FactionHolder(id, name, loc, color)); } Edited July 27, 2017 by ganjaradio
Question
ganjaradio
Ive added the faction system from AccessDenied in the pack StormDC, but im getting this error: http://imgur.com/a/abKoc
the faction.java file: https://pastebin.com/PYzwCB9i
the sql file: https://pastebin.com/tgezJzgR
the error wont let the server load more.
thx in advance
Edited by ganjaradio15 answers to this question
Recommended Posts