Jump to content

AbSoLuTeP0WeR

Banned
  • Posts

    197
  • Credits

  • Joined

  • Last visited

    Never
  • Feedback

    0%

Posts posted by AbSoLuTeP0WeR

  1. what's wrong with you really ? I never said that I'am a pro coder or something like that

    I was in rush when I coded it and didn't test and now working fine

    Also about gameserver.java I didn't touch that class , I dont know from where you get dat ? ?, the thread class is starting from the npc superclass

     

    why all this madness ? I can code all your codes in the marketplace and it will be real pain for you , so stop being a kid and manup a little bit

     

    oh forgot , did you delete your topic in the marketplace since its shared  :troll:

     

     

    just learn how to use the  || and &&. ok i am wating for the ping. i won't answer any more. just waiting :)

  2. first of all its tested and tested , also i replayed in your topic and i said i will code it and you said ok

     

    why you mad now ?

    it was a troll ok. but who care i just don't like it because you pretend that oooo i am pro i can do it. so if you can do this... do the ping too. if you can't do it just say that you can't and not that you don't like it. :)  well i am waiting your first sell mate don't worry :)

     

    Correction part:

    as i said your code is wrong because 1): || <---means or.  &&<--- and... so lets see: we got 2 towns and we wanna check the x... and we got this: if(x > y || x  > i)  and this: if(x > y && x >i) do you understand now your mistake? to be the x first must be the (x > y && =and  x > i) not "or = ||". and the second is that the system starting from the npc. and not from GameServer.java. i won't correct you any more do anything you want.

  3. still waiting for the ping

     

     

    you  :lied:

     

    by the way your code is wrong...

     

    now we all know that you know java :troll:... you know why?? because of this: else if ((aden > giran) || (aden > gludio)) the right way: else if (aden > giran &&  aden > gludio)  :not bad:

    there are many mistakes in your code.  :not bad:  :not bad: (the whole code is wrong)

     

     

    STIL GOOGLEEEE??? for ping  AND NOTHING YET?  :not bad:  c'ya Mr coder  :troll:

  4. Hey idea taken from here http://maxcheaters.com/forum/index.php?topic=263258.0 even the topic title

    since that guy sell it for 30 euro and it really not worth that much , so decided to code it for you guys

     

    ever 15 minutes a window pop up for voting and the most votes will be in the gk html  , i added only Giran, Aden and Gludio

     

    http://pastebin.com/H5cW2dPM

     

    coded by me

    make this mister pro. http://maxcheaters.com/forum/index.php?topic=263280.0
  5. the poet is back! when a project appears tryskell and others starting flaming with the good way to avoid the "warnings" woops no i forgot money never get warned. so "you flaming with the good way" to pretent that you are someone.... flame is flame with the bat or the good way. so stop flaming all the time dirty darf and look your business.  :happyforever:

     

     

    WE ARE WAITING YOUR POEMS MATE.

  6. Kalispera...perasa enan java code pou brika edw ston Mxc gia tin olympiada,oste an boun 2 atoma me to idio IP na dinei "tie"..

    Ton perasa ola kala..bika na to dokimasw kai molis telionei o agonas leei "Matches from same Ip are forbidden" ala o nikitis pernei kanonika tou pontous,kai o xamenos tous xanei...an borei kapios na boithisei..Euxaristw!

     

    Index: /config/altsettings.properties
    ===================================================================
    --- /config/altsettings.properties	(revision 5149)
    +++ /config/altsettings.properties	(working copy)
    @@ -324,6 +324,10 @@
    # Olympiad Validation Period, Default 24 Hours.
    AltOlyVperiod = 86400000
    
    +# Olympiad allow matches from same ip
    +AltOlySameIp = True
    +	
    +
    #-------------------------------------------------------------
    # Npc Crafter
    #-------------------------------------------------------------
    Index: /src/main/java/net/sf/l2j/gameserver/Olympiad.java
    ===================================================================
    --- /src/main/java/net/sf/l2j/gameserver/Olympiad.java	(revision 5149)
    +++ /src/main/java/net/sf/l2j/gameserver/Olympiad.java	(working copy)
    @@ -1819,6 +1819,19 @@
                 _sm3 = new SystemMessage(SystemMessageId.S1_HAS_LOST_S2_OLYMPIAD_POINTS);
                 
                 String result = "";
    +			
    +			String ip1 = "";
    +			String ip2 = "";
    +			
    +			if(ip1.equals(ip2) && !Config.ALT_OLY_SAME_IP)
    +			{
    +                    _log.warn("Match from same ip " + _playerOneName + " vs " + _playerTwoName);
    +                    result = " tie";
    +                    _sm = new SystemMessage(SystemMessageId.THE_GAME_ENDED_IN_A_TIE);
    +                    broadcastMessage(_sm, true);
    +                    _playerOne.sendMessage("Matches from same Ip are forbidden.");
    +                    _playerTwo.sendMessage("Matches from same Ip are forbidden.");
    +            }    					
    
                 if (playerTwoHp==0 || hpDiffOne < hpDiffTwo)
                 {
    Index: /src/main/java/net/sf/l2j/Config.java
    ===================================================================
    --- /src/main/java/net/sf/l2j/Config.java	(revision 5149)
    +++ /src/main/java/net/sf/l2j/Config.java	(working copy)
    @@ -1353,6 +1353,7 @@
         public static int 				ALT_OLY_IWAIT;				// Olympiad Inital Wait
         public static int 				ALT_OLY_WPERIOD;			// Olympaid Weekly Period
         public static int 				ALT_OLY_VPERIOD;			// Olympaid Validation Period
    +	public static boolean           ALT_OLY_SAME_IP;
         public static float 			ALT_GAME_SUMMON_PENALTY_RATE;	// Alternative game summon penalty
         public static int 				ALT_MANOR_REFRESH_TIME;			// Manor Refresh Starting time
         public static int 				ALT_MANOR_REFRESH_MIN;			// Manor Refresh Min
    @@ -1495,7 +1496,8 @@
    	        ALT_OLY_IWAIT                                       = Integer.parseInt(altSettings.getProperty("AltOlyPwait","300000"));
    	        ALT_OLY_WPERIOD                                     = Integer.parseInt(altSettings.getProperty("AltOlyWperiod","604800000"));
    	        ALT_OLY_VPERIOD                                     = Integer.parseInt(altSettings.getProperty("AltOlyVperiod","86400000"));
    -
    +            ALT_OLY_SAME_IP                                     = Boolean.parseBoolean(altSettings.getProperty("AltOlySameIp", "true"));
    +			
                 ALT_MANOR_REFRESH_TIME                              = Integer.parseInt(altSettings.getProperty("AltManorRefreshTime","20"));
                 ALT_MANOR_REFRESH_MIN                               = Integer.parseInt(altSettings.getProperty("AltManorRefreshMin","00"));
                 ALT_MANOR_APPROVE_TIME                              = Integer.parseInt(altSettings.getProperty("AltManorApproveTime","6"));

    omg mate... where is the ip??

     

    _playerOne

    _playerTwo

    this is the right: ip1 =  _playerOne.getClient().getConnection().getInetAddress());

                              ip2 =  _playerTwo.getClient().getConnection().getInetAddress());

    if(ip1.equals(ip2);

     

    understand? or better add this:  if  _playerOne.getClient().getConnection().getInetAddress() ==  _playerTwo.getClient().getConnection().getInetAddress()) then

    message no same ip bla bla :)

     

    edit:

    sorry gia ta agglika mperdeutika :P

  7. Γεια σε όλους, εγώ με τον φίλο μου Dεbian σκεφτήκαμε ότι είναι ώρα να βοηθήσουμε μερικά άτομα με το l2j developing.

     

    Σκεφτήκαμε να δουλεύουμε δωρεάν για τον server σας ως gm, δηλαδή να φτιάχνουμε το gameplay του server σας (zones, npc κλπ.) Επίσης, μπορούμε να σας βοηθάμε σε ότι πρόβλημα αντιμετωπίζεται ή κάτι άλλο.

     

    Όποιος έχει κάποιο πρόβλημα ή θέλει βοήθεια με το gameplay ας κάνει reply από κάτω!

     

    Kind regards,

     

    `Romeo & Dεbian

    bale kai emena :)
×
×
  • 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