Jump to content

Question

Posted

Καλημέρα Members του Maxcheaters.

 

'Εχω ένα προβλήμα με τον Server μου

Χρησιμοποιώ L2j Server C6 (Interlude)

'Οταν πάω να φτίαξω τα διακαιώματα για την Clan μου βγάζει το παρακάτω error στην Κονσόλα ενώ υπάρχει στην βάση δεδομένων δεν μπορώ να καταλάβω τι γίνεται λάθος.

Εάν κάποιος γνωρίζει σχετικά επάνω σε αυτό το πρόβλημα θα ήθελα μια μικρή βοήθεια....

Ευχαριστώ εκ τον προτέρον

Φιλικά,

Papaditsa

 

Could not store clan privs for rank: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntax

ErrorException: Unknown column 'privs' in 'field list'

6 answers to this question

Recommended Posts

  • 0
Posted

Καλημέρα Members του Maxcheaters.

 

'Εχω ένα προβλήμα με τον Server μου

Χρησιμοποιώ L2j Server C6 (Interlude)

'Οταν πάω να φτίαξω τα διακαιώματα για την Clan μου βγάζει το παρακάτω error στην Κονσόλα ενώ υπάρχει στην βάση δεδομένων δεν μπορώ να καταλάβω τι γίνεται λάθος.

Εάν κάποιος γνωρίζει σχετικά επάνω σε αυτό το πρόβλημα θα ήθελα μια μικρή βοήθεια....

Ευχαριστώ εκ τον προτέρον

Φιλικά,

Papaditsa

 

Could not store clan privs for rank: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntax

ErrorException: Unknown column 'privs' in 'field list'

 

Unknown column 'privs' in 'field list'

 

The column does't exist... in where it should be... or it exist but not with same name...

  • 0
Posted

Unknown column 'privs' in 'field list'

 

The column does't exist... in where it should be... or it exist but not with same name...

 

ENG :The problem is the column exist clan_privs and if you check svn of l2j there is not exist any file with name privs :S

GR: Το πρόβλημα είναι οτι το clan_privs υπάρχει και αν δείς το svn τις l2j δεν υπάρχει κανένα αρχειο με όνομα privs :S

  • 0
Posted

ENG :The problem is the column exist clan_privs and if you check svn of l2j there is not exist any file with name privs :S

GR: Το πρόβλημα είναι οτι το clan_privs υπάρχει και αν δείς το svn τις l2j δεν υπάρχει κανένα αρχειο με όνομα privs :S

[EN]Firstly, Stewie you do not belong here.

 

Ontopic @papaditsa: Αυτό άκου να δεις που σκαλώνει. Αυτό κάπου, σε ενα κώδικα μέσα απο core (L2Clan.java) λογικά, έχει μέσα query κάπως έτσι:

INSERT into clan_privs where privs=...

H κάτι ανάλογο με αυτό.

 

Αυτό τώρα όμως δεν βρίσκει καμιά στήλη με name privs.

 

Btw δείξε και το υπόλοιπο ερρορ αν εχει

  • 0
Posted

[EN]Firstly, Stewie you do not belong here.

 

Ontopic @papaditsa: Αυτό άκου να δεις που σκαλώνει. Αυτό κάπου, σε ενα κώδικα μέσα απο core (L2Clan.java) λογικά, έχει μέσα query κάπως έτσι:

INSERT into clan_privs where privs=...

H κάτι ανάλογο με αυτό.

 

Αυτό τώρα όμως δεν βρίσκει καμιά στήλη με name privs.

 

Btw δείξε και το υπόλοιπο ερρορ αν εχει

 

Αυτό βρίκα μέσα στο Core :

 

//_log.warning("requested store clan privs in db for rank: "+rank+", privs: "+privs);
                // Retrieve all skills of this L2PcInstance from the database
                con = L2DatabaseFactory.getInstance().getConnection();
                PreparedStatement statement = con.prepareStatement("INSERT INTO clan_privs (clan_id,rank,party,privs) VALUES (?,?,?,?) ON DUPLICATE KEY UPDATE privs = ?");
                statement.setInt(1, getClanId());
                statement.setInt(2, rank);
                statement.setInt(3, 0);
                statement.setInt(4, privs);
                statement.setInt(5, privs);

                statement.execute();
                statement.close();

 

Και δεν βγάζει κάτι παραπάνω στην Κονσόλα!

 

edit Αυτο που είδα μολις τώρα είναι

 

avmst2.png

 

PreparedStatement statement = con.prepareStatement("INSERT INTO clan_privs (clan_id,rank,party,privs) VALUES (?,?,?,?) ON DUPLICATE

 

Στην Database μου το λεέι privilleges!

  • 0
Posted

Αυτό βρίκα μέσα στο Core :

 

//_log.warning("requested store clan privs in db for rank: "+rank+", privs: "+privs);
                // Retrieve all skills of this L2PcInstance from the database
                con = L2DatabaseFactory.getInstance().getConnection();
                PreparedStatement statement = con.prepareStatement("INSERT INTO clan_privs (clan_id,rank,party,privs) VALUES (?,?,?,?) ON DUPLICATE KEY UPDATE privs = ?");
                statement.setInt(1, getClanId());
                statement.setInt(2, rank);
                statement.setInt(3, 0);
                statement.setInt(4, privs);
                statement.setInt(5, privs);

                statement.execute();
                statement.close();

 

Και δεν βγάζει κάτι παραπάνω στην Κονσόλα!

 

edit Αυτο που είδα μολις τώρα είναι

 

avmst2.png

 

PreparedStatement statement = con.prepareStatement("INSERT INTO clan_privs (clan_id,rank,party,privs) VALUES (?,?,?,?) ON DUPLICATE

 

Στην Database μου το λεέι privilleges!

 

edit 2 `Heroin Σε ευχαριστώ πάρα πολυ φίλε μου να είσα καλα αυτό ήταν το error κοίταξα εκεί που μου είπες και το συνδίασα με την database και ήταν αυτο που σου είπα στο πρώτο μου edit ευχαριστώ και πάλι το πρόβλημα λύθηκε παρακαλώ κλειδώστε το post!

Guest
This topic is now closed to further replies.


  • Posts

    • What is the reason for this new behavior where people criticize other users' posts? Do they think people are naive? Here everyone understands and everyone knows who's who. Focus on your work and be happy!    Lately, all they do is criticize anyone who posts anything; it's pure spam. Are they just looking for fame?  
    • Of course, bro So he writes to the admin: “Remove reactions because Skylord talks too much and says things that will make me lose clients.” And boom.. Maxor removes the reactions. Then he says: “Close my topics because too much nonsense is being written on my server.” And boom... the topics get closed. Bro, what century are we living in? People are not stupid. Just think for a second. Of course I won’t be able to fix anything like this. But at the same time, everyone here acts like they’re so great. They write their projects here, selling things for $5k–$10k  but in reality these fools just can’t find clients, so they spam nonsense and pretend they’re some huge professionals selling “super professional” files. From this point on, I can confirm that I will no longer be writing comments, replying to topics, or saying anything about anyone here. Honestly, I no longer care about the people on this forum who are trying to sell things, make a quick $100, and pretend to be something they are not. Many of these so-called “projects” and “official files” turn out to be fake, copied, or misleading. And let’s be honest this is not something new. There have been situations in the past where people asked me for help, copied things from my test servers, took my scripts or folders, and then tried to present them as their own official work. This kind of behavior should be visible to everyone. I am addressing the administration of this forum directly: these things should not be hidden. You should not be deleting posts, closing topics, removing replies, or covering up the truth just because someone is exposing what is actually happening. What kind of community are you building if the truth is constantly being hidden? For years, posts have been removed, topics have been closed, and replies have disappeared just because people said something uncomfortable. That is honestly sad. This is my final message. I no longer care what happens with this forum. Ban me if you want, remove my posts if you want, do whatever you want. I am done here.   I said what I had to say. @Maxtor    
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
  • 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..