Jump to content

[Share & Guide & Video]Πως να βάλεις java code


Recommended Posts

errorguide.gif

1.Βρισκομε ενα java code Για παραδειγμα

On Subclass Add/Change Freaze Players

Index: /Server/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- /Server/SkyLanceR's_IL_GS/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 345)
+++ /Server/SkyLanceR's_IL_GS/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 346)
@@ -8425,4 +8425,6 @@
    public boolean addSubClass(int classId, int classIndex)
    {
    	if (getTotalSubClasses() == 3 || classIndex == 0)
    		return false;
@@ -8430,4 +8432,8 @@
    	if (getSubClasses().containsKey(classIndex))
    		return false;
+    	
+    	startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+    	setIsParalyzed(true);
+    	sendMessage("You are paralized untill your subclass load.");

    	// Note: Never change _classIndex in any method other than setActiveClass().
@@ -8492,4 +8498,8 @@
        if (Config.DEBUG)
            _log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");
+        
+        setIsParalyzed(false);
+        stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+        sendMessage("You are unparalized.");

        return true;

2.Ανοιγουμε το eclipse και παμε εδώ

"java/net/sf/l2j/gameserver/model/actor/instance"

Foto

http://img202.imageshack.us/img202/8739/foto1x.png

3. Μετα ψάχνουμε L2PcInstance.java και το ανοιγουμε!

4.Οταν το ανοιξουμε παταμε ctrl + f και βαζουμε "if (getSubClasses().containsKey(classIndex))" Δηλαδη το πιο κοντινοτερο σημειο στα +

Foto

http://img444.imageshack.us/img444/9642/foto2qz.png

5.Μετα οταν το βρουμε αντιγραφουμε τα +

δηλαδη

+    	
+    	startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+    	setIsParalyzed(true);
+    	sendMessage("You are paralized untill your subclass load.");

6.Μετα το κανουμε paste στο σημιο που πρεπει

Foto

http://img171.imageshack.us/img171/9438/foto3q.png

Αυτο ηταν τωρα κατενετε το ιδιο και με το αλλο.

Αν εχουμε + & - Δειτε τι κανουμε

- public final int getMaxCp()

+ public int getMaxCp()

Σβηνουμε ολο το - και στην θεση του προσθετουμε το + δηλαδη καπως ετσι

- public final int getMaxCp()-Delete

+ public int getMaxCp()

Θα μεινη μονο αυτο και βγαζετε το +

+ public int getMaxCp()

 

Done

 

 

errorshare.gif

-Πως να βάλεις java code?

Ευκολο απλως δες το video!!

 

-Τι θα κάνω αν δεν με βοηθήσει?

Δες αυτα εδω τα Guide

 

errorvideo.gif

 

Δημιουργία από Εμένα

 

---------------------------------------------------

 

http://www.4shared.com/file/J551e-rC/java_code_video.html <~~ Download

Δεν ειναι δικο μου το link αν εχει προβληματα pm Cronos™

Δημιουργία από Cronos™

Link to comment
Share on other sites

Nice poli wreo share/giude... kai to video 3eka8aro kai analitiko...

 

nice... sigoura helpares polous me auto to topic...

 

Edit: kaki analisi? kai pali fenonte oti prepei na deis.. :P

skopos den einai na peraseis to sigkekrimeno code alla na di3eis pws ginete...

Link to comment
Share on other sites

Gia na ginotan poli kalitero tha mporouses na kaneis enan odigo apo tin arxi oxi mono na pareis kai na kaneis antigrafi-epikolisi ton odigo tou ŜiŕBǔttǿńž , Rozdex kai `xFrost®. tote mporei na sou dinan kai karma! tora exeis kanei mono to video kai ok einai h analish..! thanks gia to video kai gia ton kopo sou pou to ekanes.

Link to comment
Share on other sites

:o kala twra eisai GG.

Twra einai teleio fainontai 3eka8ara.

Kata thn gnwmh m a3izes +1 karma,giati na 3ereis tous niewbie tous voh8ane polu ta video. ;)

Link to comment
Share on other sites

Τωρα αρχινάω guide...

Thanks

xwris na 8elw na pw kati gia ta guides....

 

alla afou ekanes Video (analitiko) gt na kaneis kai guide?

Kata thn gnwmh m a3izes +1 karma,

sinfwnw...  prepei na parei  +1

 

ps: sto video den a anafereis gia ta "-" dld na kaneis delete grames...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



  • Posts

    • I am selling the essence project which includes versions 388 and 439 that have been running for over 2 years or (447 as custom PVP like Pride). I have a test server for you to test them out. If you are really interested in it then contact my seller at discord: kiwi7106. Price: 4000 Euro P/s: This is a project that I have spent a lot of money and time developing, so if you are not interested in it, please get out of this topic, thank you. P/s 2: If you find the price too expensive, it's best to skip this article and find another project and don't comment negatively on my topic, thank you.
    • Someone ask me for this, it should work on any client that has Kamael race, preview:     Installation - there are two ways to install depending on how you want to use it:   Method 1: If you want to completely replace the original, do:   Copy all lines from your armorgrp to Notepad++, press Ctrl+H, check the "match whole word" option and replace:   kamael.Mkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_MKamael_m001_w_ad00   Then replace:   MKamael.Mkamael_m000_t00_w   by:   AvengersKamaelWings.MKamael_m001_t00_w   Now repeat the same process with the female, replace:   kamael.Fkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_FKamael_m001_w_ad00   Then replace:   FKamael.Fkamael_m000_t00_w   by:   AvengersKamaelWings.FKamael_m001_t00_w   You're done, paste everything back into File Edit and save!   Method 2: If you only want to replace in specific sets, execute the above process only on the armorgrp of those sets.   Repack by: AvengersTeamBr Password: LadrãoDeFrango      
    • 用于解密、加密和编辑 .u 文件的工具。
    • It's always awesome when you find someone who not only delivers great quality but also does it way ahead of schedule. Makes you feel like you hit the jackpot, right? I'm new around here, just stumbled upon this forum, and seeing posts like yours really gives me hope that there are some real pros hanging out in this community.
  • Topics

×
×
  • Create New...