Jump to content

Recommended Posts

Posted

Γεια σας!

Ξέρω έχουν γίνει πολλοί τέτοιοι οδηγοί για το πως περνάμε έναν Java Code, αλλά θα ήθελα να δείξω με ακόμη περισσότερες λεπτομέρειες!

Εξάλλου τίποτα δεν πάει χαμένο!

 

Άνοιξε το Eclipse και πήγαινε στο SVN του Gameserver που κάναμε Checkout!

java1.png

 

 

Άνοιξέτο και κλίκαρε στο Java!

java2.png

 

 

Ok, τώρα βρες τον Java Code που θες, εγώ διάλεξα αυτόν: http://www.maxcheaters.com/forum/index.php?topic=121108.0

Index: /Server/SkyLanceR's_IL_GS/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;

 

Τώρα πήγαινε στη διαδρομή που μας λέει!

java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java

java3x.png

 

 

Πήγαινε στο Java Code, και αντέγραψε αυτό.... Όπως στη φώτο.!

public boolean addSubClass(int classId, int classIndex)
     {
     	if (getTotalSubClasses() == 3 || classIndex == 0)
     		return false;

Photo:

java4.png

 

 

Άνοιξε το L2PcInstance.Java, Πάτα ( Ctrl & F ), Και επικόλληση ότι πήραμε αντιγραφή! Τώρα πάτα Find Όπως στη φώτο.

java5.png

 

Τώρα είσαι εδώ...

java6.png

 

 

Πήγαινε στο Java Code και αντέγραψε αυτό:

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

Photo:

java7.png

 

 

Αφού έχεις αντιγραφή αυτό, κάντο επικόλληση κάτω από το: ( όπως στη φώτο )

      	if (getSubClasses().containsKey(classIndex))
     		return false;

 

Photo:

width=914 height=768http://img831.imageshack.us/img831/4956/java8.png[/img]

 

 

Αφού έκανες επικόλληση αυτό, διέγραψε όλα τα +

java9.png

 

 

Μετά θα είναι όπως εδώ:

java10.png

 

 

Τώρα, Πήγαινε στο Java Code και αντέγραψε αυτό: ( Όπως στη φώτο )

       

if (Config.DEBUG)
             _log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");

Photo:

java11.png

 

 

Πάτα ( Ctrl & F ), Και επικόλληση ότι πήραμε αντιγραφή! Τώρα πάτα Find ( Όπως στην φώτο.)

java12.png

 

 

Τώρα είσαι εδώ.

java13.png

 

 

Πήγαινε στο Java Code και αντέγραψε αυτό:

+        
+        setIsParalyzed(false);
+        stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+        sendMessage("You are unparalized.");

         return true;

Photo:

java14.png

 

 

Αφού έχεις αντιγραφή αυτό, κάντο επικόλληση κάτω από: ( Όπως στη φώτο )

_log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");

Photo:

java15.png

 

 

Μετά αφού έκανες επικόλληση αυτό, διέγραψε όλα τα +

java16.png

 

 

Μετά θα είναι όπως εδώ:

java17.png

 

 

Κάντο Save και κάνε ένα Compile!

java18.png

 

 

Τώρα πήγαινε στο Game και κάνε ένα Sub Class!

width=962 height=768http://img594.imageshack.us/img594/1478/parai.png[/img]

 

 

Σίγουρα θα αναρωτιέστε πως ξέρουμε τι να πάρουμε αντιγραφή και να το περάσουμε....

Όπως είδαμε μας έλεγε στον παρακάτω κώδικα να βρούμε αυτό και να το κάνουμε αντιγραφή..

 

@ @ @ @ 8425.6 -8425.4
     public boolean addSubClass (int classId, int classIndex)
     {
     if (getTotalSubClasses () == 3 | | classIndex == 0)
     return false;

 

Πάντα θα κοιτάμε αυτό " @ @ @ @ 8425.6 -8425.4 "

και έτσι παίρνουμε τον κώδικα που έχει αυτό από κάτω.

 

Στα Java Codes, ότι μας λέει + Το Προσθέτουμε, και ότι μας λέει - το αφαιρούμε!

Δηλαδή Κάνουμε αντικατάσταση το + με το -

Αυτό θα το συναντήσουμε όμως σε μερικούς κώδικες όχι σε όλους!

Τα + τα βγάζει κόκκινα, επειδή δεν είναι μέρος του κώδικα και γι'αυτό τον λόγο τα σβήνουμε!

 

Ελπίζω Να Βοήθησα Τους Newbies! Είναι εντελώς δικό μου, Όχι C/P

Credis: Me!

Posted

Εισαι για βρισιμο

πραγματικα

 

Τι αλλο guide εχει κανει η papaditsa;

Γιατί πρέπει να το'χω από εκεί?

Ρε φίλε, καμία σχέση. Το'χω περάσει και στο English Section.

Αφού χθες έκανα εκείνο με εικόνες είπα να κάνω και σήμερα.

Posted

sto topic s addare ama 8es kai auto

sta codes ta + kai ta  - kai otan pame na baloume ta codes exoun kati + sto eclipse kai bgazei error

giati?

loipon sto code oti mas leei + to addaroume oti mas leei - to sbinoume

sto eclipse bgazei kokkina ta + epeidh dn einai meros tou java(h alliws dn einai mesa stin glwssa tou java)

merika omos topics dn edoume + symbols

na 3erete to pio pi8anon einai na einai +

Posted

sto topic s addare ama 8es kai auto

sta codes ta + kai ta  - kai otan pame na baloume ta codes exoun kati + sto eclipse kai bgazei error

giati?

loipon sto code oti mas leei + to addaroume oti mas leei - to sbinoume

sto eclipse bgazei kokkina ta + epeidh dn einai meros tou java(h alliws dn einai mesa stin glwssa tou java)

merika omos topics dn edoume + symbols

na 3erete to pio pi8anon einai na einai +

Σωστός σχολιασμός!

Το έβαλα!

Posted

 

Φίλε έχει ξαναγίνει πολλές φορες share είσαι απο αυτους που αντιγράφουν δεν αξίζει να το κάνεις αυτό.

 

 

Posted

Φίλε έχει ξαναγίνει πολλές φορες share είσαι απο αυτους που αντιγράφουν δεν αξίζει να το κάνεις αυτό.

Όταν αντιγράφης σημαίνει ότι δεν ξέρεις, αλλά όπως βλέπεις έχω φώτο που δείχνει ότι το δοκιμάζω, οπότε δεν είχα λόγο να αντιγράψω!

Και το ότι έχουν γίνει πολλές φορές share δεν σημαίνει πως όταν το ξανακάνει ένας άλλος σημαίνει πως αντιγράφει!

 

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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.



  • Posts

    • You're talking complete nonsense. The source code of SphereAPI, which handles all requests, is closed and has never been published anywhere.     That return $this doesn't affect anything, PHP just ignores it. Why are you showing it?     Yes, of course I want that, and I’m asking you — go ahead and hack it, I’d even be thankful. The most you can probably do is launch a DDoS attack, but that’s not hacking. The IP you see is just a public one, used by default to handle requests. There are many other IPs involved, which aren’t disclosed for privacy reasons. So, when should I expect your hacker attack? If you fail, it means you talked big for nothing. I hope you're not all talk and can actually back up your words. UPD: To make your task easier, I have disabled limits on incorrect and failed requests, so your site/IP won't get blocked.
    • Lineage2Dex Interlude+ x50 Server launches TODAY!       The wait is over – the Lineage2Dex Interlude+ x50 Server launches TODAY! Grand Opening - April 26 at 19:00 (UTC+3) Over 10,000 registered accounts are ready to dive in! Beta with massive activity over, thx all who participate on it! It's time to begin your real Jorney! 👉 Read full roadmap 👉 Full server description 👉 Download and registration The server will be split into 3 stages, each featuring multiple content episodes. Stage 1: April 26 – May 18 Welcome to the Classic Interlude Phase. This stage is built with minimal custom content, focused on delivering that pure Interlude experience. It’s perfect for both new players unfamiliar with our project and veterans who enjoy a traditional start. Expect a smooth and nostalgic journey with familiar mechanics. Stage 2: May 19 – June 22 Time to expand the world! As most Interlude content gets completed, we gradually introduce new elements. Hellbound will open first, followed by weekly content updates. Midway through this stage, the Isle of Prayer will become available — a new zone featuring Dynasty Gear and fresh challenges. Stage 3: From June 23 Welcome to full content access! Some location become to High-level location, offering great reward! Once this phase concludes, a full merge with Union server will take place — and yes, all your characters and items will carry over safely. We wish everyone a smooth start, fair play, and tons of fun on the new x50 server! See you in-game!
    • Hello everyone! I'm offering professional L2J development services, specialized for aCis projects.   🔹 What I offer: Ready-to-implement existing systems (events, features, gameplay improvements). Custom development: I can create new systems based on your specific requests and ideas. Bug fixing, optimization, and enhancement of your server's code. Professional, clean, and organized Java coding. Support after delivery to ensure smooth integration.   🔹 Some examples of available systems: PvP and PvE Mini-Events (fully automated). Custom Raid Boss Events. Advanced Clan Utilities (regroup features, clan ranking, etc). Reward Systems (based on kills, damage, objectives, etc). Achievements Subscription system Arena Fights (1v1 tournament, scratch made). Advanced event engine (12 events, many features). multi-client aCis project, progressive gameplay C4 to C6   🔹 Why work with me? Years of experience working directly with aCis pack. Fast, reliable communication. I care about performance and long-term stability. I can adjust the systems to fit your server's style and balance.   🔹 Pricing: Flexible depending on the complexity (fixed price per project or per system). Discounts for multiple systems or long-term collaboration.   🔹 Contact: MaxCheaters PM Discord: @Luminous   Serious and passionate about your project? Let's make your server unique!
    • The hardest part for anyone is to reverse engineer your server but you're handing the code out for free. At that point, there's no real challenge.   you want facts?   public function __construct(?int $userId = null) { if ($userId == null) { return $this; } // you know that constructs does not return values in php?   🤏just 1 file bad code.   you want to be hacked? show your customers websites that run that code 167.235.*.* api.spherewe***** stop writing chatgt, and dont challenge me again i tried to help you, but if you want me i can share everything even guide users how to hack every client you have even your server
  • Topics

×
×
  • Create New...