Jump to content
  • 0

Java Hopzone Vote Reward


sabas

Question

pedia perasa to code alla m vgazei 2 errors sto compile deite ligo

 

P.S :EXW INTERLUDE L2JEQUAL

 

1o ERROR

 

"player = L2World.getInstance().getPlayer(rset.getInt("charId")); " mou exei ipogrammismeno to getPlayer san la8os...

 

M VGAZEI AFTO TO ERROR: The Method GetPlayer(String) in the type L2World is not applicable for the arguments (int)

 

 

 

2o ERROR

 

"L2DatabaseFactory.close(con);"  mou exei ipogrammismeno to close san la8os...

 

 

M VGAZEI AFTO TO ERROR: The Method close(Connection) is undefined for the type L2DatabaseFactory

 

An kapios kserei thn lysh i mporei na me help mesw team viewer 8a tou hmoun evgnwmwn...

 

Thanks..

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Για το 2ο πρέπει να προσθέσεις την συγκεκριμένει μέθοδο στο L2DatabaseFactory.java

 

Για το 2ο,σου λέει οτι η μέθοδος GetPlayer(String) δεν ισχύει για (int)

(δηλαδή για έναν ακέραιο αριθμό)

 

Link to comment
Share on other sites

  • 0

- Προφανώς δοκίμασες να κάνεις adapt έναν κώδικα από ένα chronicle σ'ένα άλλο.

Το "charId" είναι int. Αν θες να σου πω ακριβώς τι να κάνεις, pm. Δεν βρίσκω νόημα όμως να σου πω ακριβώς τι να κάνεις και να τα βρεις μπαστούνια κάπου αλλού στο μέλλον..

 

- Έλεος..

Link to comment
Share on other sites

  • 0

- Προφανώς δοκίμασες να κάνεις adapt έναν κώδικα από ένα chronicle σ'ένα άλλο.

Το "charId" είναι int. Αν θες να σου πω ακριβώς τι να κάνεις, pm. Δεν βρίσκω νόημα όμως να σου πω ακριβώς τι να κάνεις και να τα βρεις μπαστούνια κάπου αλλού στο μέλλον..

 

- Έλεος..

e ekana pm coyote perimenw apanthsh...svhse to post apla to ekana gia na to deis....
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock