Thread: Necrotic jail help

Results 1 to 6 of 6
  1. #1 Necrotic jail help 
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    348
    Thanks given
    44
    Thanks received
    14
    Rep Power
    37
    I changed my jail location and it works but u can teleport out of jail how do I stop that can anyone help I know its got to be something easy
    OBSIDIAN
    Reply With Quote  
     

  2. #2  
    Registered Member Shepherds Pie's Avatar
    Join Date
    Aug 2018
    Posts
    97
    Thanks given
    6
    Thanks received
    26
    Rep Power
    74
    Somewhere the area defined for jail needs to be changed, probably in your area manager or something
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2015
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    well i mean what you could do is set a teleblock command to run at the same time... that way the player is stuck? Make the same calls for teleblocking but name it 'isJailT' or something like that...

    The amount of time they are teleblocked for could also be the amount of time they are jailed for.


    also I sent you a pm.


    BELOW IS MY HALF ASS WAY OF FIXING THIS JUST SO I DONT HAVE TO ACTUALLY MOVE ANY NUMBERS AROUND IF I WANT TO MOVE MY JAIL AROUND

    PlayerPunishment.java
    Code:
    	case 26:
    				pos = new Position(2510, 9326);
    				break;
    			}
    			p.moveTo(pos);
    change to
    Code:
    			case 26:
    				pos = new Position(2510, 9326);
    				break;
    			}
    			p.moveTo(pos);
    			p.setTeleblockTimer(2147483646);
    next function 'unjail'
    Code:
    
    	JAILED_PLAYERS[index] = null;
    			}
    			plr.moveTo(GameSettings.DEFAULT_POSITION.copy());
    Code:
    				JAILED_PLAYERS[index] = null;
    			}
    			plr.moveTo(GameSettings.DEFAULT_POSITION.copy());
    			plr.setTeleblockTimer(0);
    Reply With Quote  
     

  4. #4  
    A RSPS Aristocrat.
    Act of Valor's Avatar
    Join Date
    Jul 2014
    Posts
    67
    Thanks given
    85
    Thanks received
    25
    Rep Power
    62
    @KushKings you have made dozens of threads asking for help. How about you learn java prior to coding a private server? The API for RSPS is a nightmare, I can't imagine trying to learn solely off of a RSPS to learn coding.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2015
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    But... That's exactly what I am doing..
    To be fair I am fixing a good bit of this shitty code... Lolol
    My knowledge level is like a 2 but I can figure things out.
    As for him posting help threads.. who cares?
    Plus not everyone is as logical as others.


    Quote Originally Posted by Act of Valor View Post
    @KushKings you have made dozens of threads asking for help. How about you learn java prior to coding a private server? The API for RSPS is a nightmare, I can't imagine trying to learn solely off of a RSPS to learn coding.
    Reply With Quote  
     

  6. #6  
    A RSPS Aristocrat.
    Act of Valor's Avatar
    Join Date
    Jul 2014
    Posts
    67
    Thanks given
    85
    Thanks received
    25
    Rep Power
    62
    Quote Originally Posted by Pexo View Post
    But... That's exactly what I am doing..
    To be fair I am fixing a good bit of this shitty code... Lolol
    My knowledge level is like a 2 but I can figure things out.
    As for him posting help threads.. who cares?
    Plus not everyone is as logical as others.
    Let me just straighten a few things out. I could not care less if you ask for help or not, that is none of my concern. The only concern I could be if you are just having other people code the server for you rather than doing the work yourself. Not that I actually care, it will not benefit you in the long run and again, is none of my concern.

    A lot of the questions that you ask are very basic questions, so all I was saying is that if you do not know Java, then you are not going to understand RSPS. I did not think you were learning java based on some of these questions you have been asking.
    I do not doubt for a second that a lot of that code in the source you are using is shit. Most servers have horrific code and their framework is subpar.

    I wish you the best of luck with your server and good luck to learning more java.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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

Similar Threads

  1. [PI] Jail Help.
    By RealmofOmens in forum Help
    Replies: 0
    Last Post: 10-13-2011, 12:30 AM
  2. need jail help
    By mTi Connor in forum Help
    Replies: 3
    Last Post: 02-20-2011, 02:30 PM
  3. need jail help
    By mTi Connor in forum Help
    Replies: 2
    Last Post: 02-19-2011, 10:37 AM
  4. project fubergen jail help
    By iosh018 in forum Help
    Replies: 2
    Last Post: 11-11-2010, 02:31 PM
  5. [525]Jail help (1 little thing)
    By TR3V0R in forum Help
    Replies: 1
    Last Post: 08-22-2009, 03:22 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •