Jump to content

Question

Posted (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 by ganjaradio

15 answers to this question

Recommended Posts

  • 0
Posted

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
Posted (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 by ganjaradio
Guest
This topic is now closed to further replies.


  • Posts

    • This is L2Etina’s first opening under our new team, and it’s off to a great start! We’re thrilled with the strong player turnout, the warm feedback, and your response to the major updates. We’re continuing to improve the server and would love to see you in game! ⚔️
    • I dont sell anything and i got scammed kiddo, if you noticed rookie just scammed me and blocked me. so asking this make you immature.
    • @Maxtor @Dragic @Celestine Why you unban this rat, it's will give very negative review if you will try sell something or provide service this very actually should be for @Dragic and his L2Forge sales.
    • Αχ ναι; τοτε γιατι με παρακαλουσες για κωδικες και οτι σου εδινα ελεγες τελεια και wow σαγαπαω? Ε ψευτρακο; Γιατι οτι πηρες λειτουργει οπως το ηθελες ακομη και σε λεπτομερεια που κανας αλλος θα σου ελεγε αντε κ γα*?   Σε τσουξανε οι τιμουλες μου στη τσεπουλα σου; κ βρηκες κανα new chatgpt dev? Φτωχομπινε του κερατα που κανεις παζαρια για 40-50 ευρω κωδικες.   Δεν ασχολουμε αλλο απλα ενημερωνω @Celestineτο παιδακι χρωσταει λεφτα για κωδικα που ελαβε και λειτουργει και το επιβεβαιωσε και με μπλοκαρε κ ολας. Ban η οχι δεν ασχολουμε αλλο. καλη τυχη 
    • den tha asxolithw allo mazi sou randoma,kserei olo to forum ti  eisai
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..