Thread: Jail Improvements.

Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1 Jail Improvements. 
    Registered Member
    Join Date
    Jul 2008
    Posts
    65
    Thanks given
    0
    Thanks received
    0
    Rep Power
    14
    Fuck it, you guys are clearly not going to shutup about it, especially you scu, i'm sorry not everyone can be as god damn high and mighty as you.
    and what's more, it does work, I wrote it up on msn, it take likes a min max to add so why complain, I said it was poor and that it could be done much better, yet you insisted that you carried on posting random shit saying this was not very well coded, when I KNOW FOR A FACT, that it was NOT very well coded, I tried to be polite but I guess you guys don't understand politeness, I mean I think the only person who actually supplied some kind of constructive criticism was Mr Dillusion, not "This is a huge pile of wank".
     

  2. #2  
    Theory Wins?
    Greyfield's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    1,585
    Thanks given
    61
    Thanks received
    265
    Rep Power
    310
    All that messiness for what?

    Code:
    public boolean isJailed() {
    	
    	if ((absX >= jX+20 && absX <= jX-20) || (absY >= jY+20 && absY <= jY-20)) {
    		return true;
    	} else {
    		return false;
    	}
    }
    
    if (!isJailed() && isJailed) {
    	toX = jX;
    	toY = jY;
    }



     

  3. #3  
    Registered Member
    Xynth's Avatar
    Join Date
    May 2009
    Posts
    2,222
    Thanks given
    226
    Thanks received
    259
    Rep Power
    1155
    I don't really like this.. L.
     

  4. #4  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    First open up player.java and add these statics
    Stopped reading right there.

     

  5. #5  
    Banned

    Join Date
    Sep 2009
    Posts
    3,247
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    Quote Originally Posted by Mr Dillusion View Post
    All that messiness for what?

    Code:
    public boolean isJailed() {
    	
    	if ((absX >= jX+20 && absX <= jX-20) && (absY >= jY+20 && absY <= jY-20)) {
    		return true;
    	} else {
    		return false;
    	}
    }
    
    if (!isJailed() && isJailed) {
    	toX = jX;
    	toY = jY;
    }
    Wow awesome concept.
     

  6. #6  
    Theory Wins?
    Greyfield's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    1,585
    Thanks given
    61
    Thanks received
    265
    Rep Power
    310
    Quote Originally Posted by Alex™ View Post
    Wow awesome concept.

    What? I just wrote that in the message box, Lol.

    Edit:

    Oops -
    Code:
    
    absX >= jX+20 && absX <= jX-20) && (absY >= jY+20 && absY <= jY-20
    Needs to be changed to -

    Code:
    absX >= jX+20 && absX <= jX-20) || (absY >= jY+20 && absY <= jY-20



     

  7. #7  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Quote Originally Posted by Mr Dillusion View Post
    All that messiness for what?

    Code:
    public boolean isJailed() {
    	
    	if ((absX >= jX+20 && absX <= jX-20) && (absY >= jY+20 && absY <= jY-20)) {
    		return true;
    	} else {
    		return false;
    	}
    }
    
    if (!isJailed() && isJailed) {
    	toX = jX;
    	toY = jY;
    }
    You think that's cleaner ONE little bit? No.


    Code:
    public boolean isJailed() {
    	if ((absX >= jX+20 && absX <= jX-20) && (absY >= jY+20 && absY <= jY-20)) {
    	        return true;
    	} else {
       	        return false;
             }
    }
    
    	if (!isJailed() && isJailed) { //Are you serious? Why would you use two booleans that mean the same thing?
    		toX = jX;
    		toY = jY;
    	}
    Damn, rune-server is fuckin this up.

     

  8. #8  
    Theory Wins?
    Greyfield's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    1,585
    Thanks given
    61
    Thanks received
    265
    Rep Power
    310
    Quote Originally Posted by Ecstasy' View Post
    You think that's cleaner ONE little bit? No.


    Code:
    public boolean isJailed() {
    	if ((absX >= jX+20 && absX <= jX-20) && (absY >= jY+20 && absY <= jY-20)) {
    	        return true;
    	} else {
       	        return false;
            }
    }
    
    	if (!isJailed() && isJailed) { //Are you serious? Why would you use two booleans that mean the same thing?
    		toX = jX;
    		toY = jY;
    	}
    Damn, rune-server is fuckin this up.
    You truly are unintelligent. Why would I take my time thinking of some other way of doing something that just took me 2 seconds to write. And who the fuck cares if they're being declared twice. Did I say use what I posted? No. Gf, kkthnxbaibai.

    Edit:
    isJailed() is just checking your position, isJailed is determaining weather or not you were put in jail. So untie your pannies.



     

  9. #9  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Quote Originally Posted by Mr Dillusion View Post
    You truly are unintelligent. Why would I take my time thinking of some other way of doing something that just took me 2 seconds to write. And who the fuck cares if they're being declared twice. Did I say use what I posted? No. Gf, kkthnxbaibai.

    Edit:
    isJailed() is just checking your position, isJailed is determaining weather or not you were put in jail. So untie your pannies.
    Aren't you quite the little defensive one?
    And no, I won't untie my panties wtf? Fucking pervert. And why would anyone want to use your code? It looks like shit. So - In reality you sir are the unintelligent one. Thanks for wasting your time talking to me, because here at the internet, we REALLY care what others have to say, right?

     

  10. #10  
    Theory Wins?
    Greyfield's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    1,585
    Thanks given
    61
    Thanks received
    265
    Rep Power
    310
    Quote Originally Posted by Ecstasy' View Post
    Aren't you quite the little defensive one?
    And no, I won't untie my panties wtf? Fucking pervert. And why would anyone want to use your code? It looks like shit. So - In reality you sir are the unintelligent one. Thanks for wasting your time talking to me, because here at the internet, we REALLY care what others have to say, right?
    Aren't you quite the little offensive one?
    And yes, I think you should untie your panties. I am a pervert. And who said use my code? You program like shit. So - In reality, you sir are the unintelligent one. Thanks for wasting your time talking to me, but you should probably quit while you're ahead, you're fighting an already lost battle. Pal.



     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •