Thread: Make an Area That Allows You to Keep Items When You Die!

Page 1 of 10 123 ... LastLast
Results 1 to 10 of 98
  1. #1 Make an Area That Allows You to Keep Items When You Die! 
    Registered Member
    TheSniper 08's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    263
    Thanks given
    0
    Thanks received
    0
    Rep Power
    94
    Purpose: To make a certain area allow you to keep your items when you die.

    Difficulty: 3/10

    Req Knowledge: Copy and Paste. Basic Java.

    Server Used: Byty Isle V.2, but will work on any.

    Step 1:

    Open up Client.java and find...

    Code:
    public boolean ApplyDead() {
    Underneath that, add this void.

    Code:
    if (actionTimer == 0 && IsDeadTimer == true && (absX >= XXXX && absX <= XXXX  && absY >= XXXX && absY <= XXXX)) {
                            teleportToX = XXXX;
                            teleportToY = XXXX;
                            IsDeadTeleporting = true;
                            frame1();
                            updateRequired = true;
                            appearanceUpdateRequired = true;
                            NewHP = getLevelForXP(playerXP[3]);
                            setSkillLevel(3, getLevelForXP(playerXP[3]), playerXP[playerHitpoints]);
                            playerLevel[3] = getLevelForXP(playerXP[3]);
                            refreshSkills();
                            PoisonDelay = 9999999;
                            KillerId = playerId;
    Change the XXXX to the X and Y coords of the area you want to be able to die and keep your items.

    Then, change the XXXX to the X and Y coords of where you want you to spawn where you die.

    Enjoy!

    POST IF YOU VIEWED/USED
    Removed -
    Reply With Quote  
     

  2. #2  
    Well, aren't you clever!

    Concious's Avatar
    Join Date
    Feb 2008
    Posts
    1,697
    Thanks given
    27
    Thanks received
    60
    Rep Power
    195
    Oo, Nice, And Easy; I'm Going To Use.
    Reply With Quote  
     

  3. #3  
    Registered Member
    TheSniper 08's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    263
    Thanks given
    0
    Thanks received
    0
    Rep Power
    94
    Quote Originally Posted by 0 f1r3c4p3 0 View Post
    Oo, Nice, And Easy; I'm Going To Use.
    Btw I repped you for your guide
    Removed -
    Reply With Quote  
     

  4. #4  
    Well, aren't you clever!

    Concious's Avatar
    Join Date
    Feb 2008
    Posts
    1,697
    Thanks given
    27
    Thanks received
    60
    Rep Power
    195
    Oo, Thank's. Repped You Too.
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Oct 2007
    Age
    28
    Posts
    2,733
    Thanks given
    32
    Thanks received
    53
    Rep Power
    0
    how could i make it do this for all safe zones , btw gratz on havin more rep than posts
    Reply With Quote  
     

  6. #6  
    Registered Member
    TheSniper 08's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    263
    Thanks given
    0
    Thanks received
    0
    Rep Power
    94
    Quote Originally Posted by Unkn0wn View Post
    how could i make it do this for all safe zones , btw gratz on havin more rep than posts
    lol thanks , Umm gimme a sec i'll test and find out etc
    Removed -
    Reply With Quote  
     

  7. #7  
    cookie ookie okkie
    Guest
    yea when i try to attack a player it says "player is in a safe zone".
    Reply With Quote  
     

  8. #8  
    Registered Member
    Shamon King's Avatar
    Join Date
    Aug 2007
    Posts
    3,336
    Thanks given
    90
    Thanks received
    228
    Rep Power
    1363
    if(nonwild) instead of cords or w\e your nonwild method is
    thatll make it so you dont lose your items in a nonwild zone
    good job
    wont use tho
    Reply With Quote  
     

  9. #9  
    Registered Member
    zedex ranger's Avatar
    Join Date
    Mar 2008
    Age
    27
    Posts
    2,565
    Thanks given
    1
    Thanks received
    9
    Rep Power
    325
    reped!!!! can you like err do this like a toushand times so you die somewhere like duel arena and keep stuff cause in my server it loses them.. can you?
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Aug 2007
    Posts
    34
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    hmm what if we are using devolution v7
    Reply With Quote  
     

Page 1 of 10 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
  •