Jump to content

UnixCode

Members
  • Posts

    322
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by UnixCode

  1. Δεν ειναι θεμα buffer , αλλα ειναι θεμα stats.Ψαξε για ενα ειδικο προγραμμα που εχει γινει εδω share και σου αλλαζει την ωρα.Αλλιως θα πρεπει να πας σε καθε skill ξεχωριστα και να το επεξεργαστεις.
  2. Hello, i have one paysafe of 25 Euros, so i want to buy something on l2 elite. For any items you have and you want 25 Euros, pm me at pm here, or at msn(pm me for add,etc).
  3. thelei kenourgio instance sto eclipse....new type... den exw kai eclipse tora na to prospathisw. pantos ine java coding.....kai vazeis 1 check an oi char pou exoun x range apo ton guard auton exoun pvp flag na tous kanei sleep
  4. loled that's awesone, you have skills :D gratz
  5. yea he can, he just puts a check: if (item.getId() == CPPOTiD) { //MAIN CODE }
  6. rota ton na sou pei to exploit, kane kati na mathis to exploit, meta tha ine eukolo pisteuw na to fixareis.
  7. that's a fucking fail answer , Server B is not a must to be to the same machine with A
  8. de sou sistino kati tetio, to aCis exei polla copy apo freya, den tha ta katafereis idika an ise newbie.. Ti ti codes....esi ta dialegeis, vevea ine kai kapia musts: fix phx scripts, server attackers kai tetia . Esi ta vriskeis , an oxi ta kaneis.
  9. lathos file, isos na arxise etsi ala den anige servers xoris na kserei. Prwta ekatse diavase ta peri l2j kai istera anikse.Ixe tis vasikes gnoseis.(den kserw kan an anikse)
  10. siga tis allages stis methodous re sis...anyway thanks for share
  11. kai gt kapios na dialeksi auto to pack sou pou exeis perasei kai kapia fail customs, kai na min dialeksi gia paradigma to aCis pou exei ola auta ta bugs pou grafeis fixarismena + pio pola fixes kai xoris ta customizations? :D
  12. tora se interlude client min perimeneis kai polla, dokimase na antigrapseis ti backstub apo kanena alo project.
  13. look at my code and edit them. Also i told you:Say2.java
  14. first: if (_type == TRADE || _type == SHOUT) { if (!activeChar.isGM()) { if(activeChar.getPvpKills() < 100 ) { activeChar.sendMessage("You can speak at trade/shout chat when u have 100 Pvps and more"); return; } } } say2.java
  15. les pouthena site? ime gavos? grafei site pouthena? Loled.
  16. ama psaxneis gia kati tetio: http://maxcheaters.com/forum/index.php?topic=206902.0 ise APARADEXTOS file giati les psemata, ine stin 1i selida pos den to vrikes diladi
  17. Hello gyes, since it requested, i will try to make this guide about some methods and creating methods explanations. This time, we will talk about set and is methods.You know..., maybe all of you know these methods , you have seen it at hero status,noble status : setHero(true,false) , setNoble(true,false) , isHero() , isNoble(). I will explain you exactly how these methods are working, so that you can create easy your own . In my guide i will use the name MaxCheatersMember.So, there will be two methods, right? The one is setMaxCheatersMember(true,false) and the other isMaxCheatersMember() . Creating the methods.... First of all, lets create the method isMaxCheatersMember() . I will make it via steps. 1)We go at L2PcInstance.java class and we create a boolean named like we want i will use this: private boolean _maxcheater; 2)For make it easy and more readable, find this line: public boolean isNoble() , above this create a method : public boolean isMaxCheatersMember() { } 3)We have a empty method,named isMaxCheatersMember,right? Inside this method just add this line: return _maxcheater; . So the method will have the body return _maxcheater; . The isMaxCheatersMember() method is ready, now we will create the method seMaxCheatersMember(true or false). 4)Above of the line: public boolean isMaxCheatersMember() or under the whole method we create a new method named setMaxCheatersMember(boolean value) { } [in the value you can put everything ,even x,y,z 5)Now we have again a empty method xD , inside this method now we put this line: _maxcheater = value; (where value the name of your boolean) Now we have the both methods we need: isMaxCheatersMember() and setMaxCheatersMember(boolean value) How they work.....?Explanation? I will explain it again in some simple steps: 1)First of all we create a private boolean named _maxcheater;. A boolean can have only 2 values , it can be true or false . Ok , but why private? We set it as private because the only class that checks this value is the class L2PcInstance, only this class checks this boolean , only. 2)the whole method: public boolean isMaxCheatersMember() { return _maxcheater; } just returns the value of _maxcheater; So if _maxcheater boolean is true , the method isMaxCheatersMember() will return true, if false the method will return false; You catch it , o yea!! By default it is false, as we created the boolean _maxcheater as false in the beggining.But for changing it,for changing the boolean, so for changing the value of method isMaxCheatersMember() to return true if we want, or false, look at the step 3. Why the method is public? Because , we want to use this method and in another classes, not only in L2PcInstance for example maybe we want to go at Enterworld class and we need to add this method there! 3)Here's come the creation of method: public void setMaxCheatersMember(boolean value) { _maxcheater = value; } What the hell is it?Ok, this method first of all needs a parameter,a parameter in our example is the: boolean value .Then it reads this boolean , so it will read if it is true or false.Then it takes the value of the boolean, and it set's it at _maxcheater boolean.For example if value=true then _maxcheater = true ; if False, the opposite. It's easy i think to understand it. Why public and why void and not boolean? Not private for the same reason as method isMaxCheatersMember(). Ok, now lets explain why void and not boolean.If we had boolean we should return something, for example return _aboolean; But we don't want this method to return something, we want this method to DO something.We we want a method to do something, we put void. That was how these simple methods work, i think that for newbies it is usefull and they can understand it. Puting methods into methods... Ok, i will continue with these 2 methods. isMaxCheatersMember() and setMaxCheatersMember(true,false) . Now , players can't get this method to true, its false by default....for example now i will explain you how to "check" if the players has some conditions to take the isMaxCheatersMember() status(i mean to be true). In my example, one player will become isMaxCheatersMember() if he has 50000 pvp.How can we do it?We can do it and without put methods into methods, but by doing this it's better, i think it looks more advanced. So what we want our method to return or do something? Think about it, we need to DO, so we create a void method. Let's create it, i will explain you what i did then. public void checkForMxcStatus(L2PcInstance activeChar) { if (activeChar.getPvpKills() >= 50000 && !(activeChar.isMaxCheatersMember())) { activeChar.setMaxCheatersMember(true); } else if (activeChar.getPvpKills() < 50000) { activeChar.setMaxCheatersMember(false); } } What we did? 1)We created a public (you know now why public) method as void named checkForMxcStatus with 1 parameter which is an l2pcinstance object, the well known to all of you activeChar. 2)First of all we check if the activeChar has 50000 pvp and if he is'nt MaxCheatersMember() (! means not). 3)If the player has these conditions, we set him isGamingParadiseMember() with the setMaxCheatersMember() method that we created before. 4)then we use the else if to check if the player's pvps ar lower than 50000 , if it is we set him isMaxCheatersMember false, again with the method setMaxCheatersMember(). Yes that can be done with a better way, that was an example.If you are a newbie, the best you can do is practice to methods, they are very very very very usefull to continue your carreer.I hope i helped gyes, for now i need some masause at my fingers. PS: the is and get is example, but all are used to use these methods to be more understandable, you catch me :D
  18. for the first you want to add it, or to delete it? what exactly?
  19. Safos to kalitero mero gia na ksekinisis ine ta official tutorials tis java. Oloi exoun ksekinisei apo ekei (B1gBoss, Interpid) ,fisika kai sto sistino.
×
×
  • Create New...