Jump to content
  • 0

Erwtisi gia pcb event koita3te teleutaio post


Revail

Question

Perasa ton kodiko tou event xwris kanena error k leei stin gs console pws 3ekinaei to event..

alla otan benw mesa sto l2 dn me vgazei ton pcbangpoint window panw de3ia

k thelw na rwtisw auto to vazw me client edit i meso tou java kodika?

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

Βγάζει αυτό το error επειδή δεν μπορούσε να βρει την στήλη "acc" του πίνακα "characters" στην βάση δεδομένων σου.

 

Πήγαινε ρίξε μια ματιά, υπάρχει αυτή η στήλη; (σε μένα αυτή η στήλη είναι η 11η στον πίνακα)

Link to comment
Share on other sites

  • 0

dn mporw na vrw tpt tetio mesa sto characters..;/

 

 

Τότε χρειάζεται να το φτιάξεις γιατί προφανώς όταν έβαλες τον κώδικα για το pc bang points,δεν το έβαλες.

 

Βασικά μόλις κοίταξα το τόπικ και το γράφει ο ίδιος.

P.s.s.s. in characters.sql add new field with

name: pc_point

type: int

Lenght: 15

Decimal: 0

Allow null: don't check

----------

Default: 0

 

Το έκανες αυτό ?

Link to comment
Share on other sites

  • 0

Οκ, άκου τι θα κάνεις τότε.

 

Στον κώδικα, έχει 2 δηλώσεις του string "RESTORE_CHARACTER".

 

Η τιμή αυτού του string και στις 2 περιπτώσεις έχει μέσα το ερώτημα SQL όπως βλέπεις.

 

Πήγαινε λοιπόν και εκεί που λέει το παρακάτω, σβήσε το acc:

 maxCp, curCp, maxMp, curMp, acc, crit, evasion

 

Δηλαδή θα είναι έτσι:

 maxCp, curCp, maxMp, curMp, crit, evasion

Link to comment
Share on other sites

  • 0

Οκ, άκου τι θα κάνεις τότε.

 

Στον κώδικα, έχει 2 δηλώσεις του string "RESTORE_CHARACTER".

 

Η τιμή αυτού του string και στις 2 περιπτώσεις έχει μέσα το ερώτημα SQL όπως βλέπεις.

 

Πήγαινε λοιπόν και εκεί που λέει το παρακάτω, σβήσε το acc:

 maxCp, curCp, maxMp, curMp, acc, crit, evasion

 

Δηλαδή θα είναι έτσι:

 maxCp, curCp, maxMp, curMp, crit, evasion

 

to kana alla pali error twra leei oti lipei to "crit" anti gia to "acc" lgka tote tha exei provlima i grammi "Restore_character" i kainurgia pou perasa apto code

Link to comment
Share on other sites

  • 0

http://pastebin.com/b2FCGS3m 274 line.

Index: /Gs folder/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

===================================================================

--- /Gs folder/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 2029)

+++ /Gs folder/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 2031)

 

Εδώ όπου έχουν μπει τα restore_character και λοιπά κοίτα να ταιριάζουν ακριβώς με το δικο σου sql table γιατί αυτός που το έκανε share χρησιμοποιούσε διαφορετικό pack.

Link to comment
Share on other sites

  • 0

http://pastebin.com/b2FCGS3m 274 line.

Index: /Gs folder/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

===================================================================

--- /Gs folder/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 2029)

+++ /Gs folder/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 2031)

 

Εδώ όπου έχουν μπει τα restore_character και λοιπά κοίτα να ταιριάζουν ακριβώς με το δικο σου sql table γιατί αυτός που το έκανε share χρησιμοποιούσε διαφορετικό pack.

exeis dikio auto itan to prob...

tsp dn doulevei to pcb alla da3 tha vrw ton tropo na to kanw

sas euxaristw k tous 2 gia tin voitheia sas

Link to comment
Share on other sites

  • 0

exeis dikio auto itan to prob...

tsp dn doulevei to pcb alla da3 tha vrw ton tropo na to kanw

sas euxaristw k tous 2 gia tin voitheia sas

locked.

 

αν θελήσεις κάτι άλλο σχετικά με αυτό,ή κάνε ένα καινούργιο τοπικ ή κάνε μου ένα πμ για να ξεκλειδώσω αυτό.

Link to comment
Share on other sites

  • 0

αν θελήσεις κάτι άλλο σχετικά με αυτό κάνε μου ένα πμ για να ξεκλειδώσω αυτό.

Unlocked.

Link to comment
Share on other sites

  • 0

Perasa ton kodiko tou event xwris kanena error k leei stin gs console pws 3ekinaei to event..

alla otan benw mesa sto l2 dn me vgazei ton pcbangpoint window panw de3ia

k thelw na rwtisw auto to vazw me client edit i meso tou java kodika?

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...