Jump to content

Question

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

pws mporw na perasw java code ?

thelw ena kalo guide please

http://www.maxcheaters.com/topic/153623-compile-server-set-up-add-customs-make-online-add-java-codes-592013/

http://www.maxcheaters.com/topic/145836-τα-πιο-βασικά-πράγματα-στην-l2j-java/

http://www.maxcheaters.com/topic/53571-tα-πάντα-όλα-για-τους-new-developers/

 

P.S prin kaneis topic psaxe prwta. exei apeira guides kai sto mxc kai sto google akoma ama grapseis how add java codes in eclipse tha sou vgalei ena swro. mi varieste na psaxete

kai kati akoma den einai kati to tragiko na kaneis add enan java code..

1. vriskeis ton code pou thes na kaneis add sto pack sou

2. anoigeis eclipse (afou ipotithetai xereis pws kaneis compile-import to pack sto eclipse ktlp)

3. ston code pou tha vreis tha iparxei ayto edw:

  1. Index: java/com/l2jserver/gameserver/network/clientpackets/RequestBypassToServer.java
  2. ===================================================================
  3. --- java/com/l2jserver/gameserver/network/clientpackets/RequestBypassToServer.java      (revision 5563)
  4. +++ java/com/l2jserver/gameserver/network/clientpackets/RequestBypassToServer.java      (working copy)

 

ayto edw sou deixnei tin diadromi pou prepei na vreis sto source sou.

4. afou vreis tin diadromi ayti anoigeis to file pou sou leei i diadromi kai meta psaxneis na vreis ti sou leei na kaneis add. sti sigekrimeni diadromi to file pou sou leei na peiraxeis einai to RequestBypassToServer.java to anoigeis kai pas kai koitas ston code ti sou leei na kaneis + 

paradeigma: 

  1.  import com.l2jserver.gameserver.handler.IBypassHandler;
  2. +import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
  3. +import com.l2jserver.gameserver.handler.VoicedCommandHandler;
  4.  import com.l2jserver.gameserver.model.L2CharPosition;

ayto simainei oti prepi na pas na vreis to import com.l2jserver.gameserver.handler.IBypassHandler;

kai apo katw ap ayto na prostheseis ayto: 

  1. +import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
  2. +import com.l2jserver.gameserver.handler.VoicedCommandHandler;

 

afou prostheseis oti sou leei + kai afereseis oti sou leei - kaneis save ta files, pas kai kaneis compile,kai meta pas sto fakelo pou exeis to source sou (ap to eclipse diladi) 

(to source sou pws mporeis na to vreis: anoigeis to eclipse kai sou leei na epilexeis mia diadromi. s ayti ti diadromi einai to source sou)

opote pas ekei, kai pas: sto L2J_Server paradeigma (an exeis peiraxei arxeia ap to core) kai pas sto fakelo build. anoigeis to rar kai perneis apo mesa ta libs kai to l2jserver.jar kai ta kaneis replace me ta arxeia ap ta server files sou 

an exeis peiraxei kati apo datapack anti na pas sto L2J_Server pas sto L2J_Datapack,pas ston fakelo build,anoigeis to rar, vriskeis oti arxeia exeis peiraxei sto eclipse ta perneis kai ta kaneis replace sta server files sou...

an katalaves kati kalws..egw prospathisa na sou deixw me liga logia kai apla..

Edited by nikosdevil20
  • 0
Posted

Το topic μεταφέρθηκε στο σωστό section.

Ήδη δόθηκε κατατοπιστικότατη απάντηση από το nikosdevil20.

Topic locked!

Guest
This topic is now closed to further replies.


×
×
  • Create New...