Thread: [614] How to reset any item

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 [614] How to reset any item 
    08-13, SpawnScape Owner

    jet kai's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    870
    Thanks given
    630
    Thanks received
    957
    Rep Power
    5000
    I take no credit for this as it should be already in everyones source, this is just a tutorial to show you how to actually use it or change it.

    [This is tested on a dragonkk 614 base]


    First open up Player.java

    Look for

    Code:
    public boolean playerMuted = false;
    Under that add

    Code:
    public boolean Resetitems = false;
    Next go on Frames.java

    Find

    Code:
    public void sendOtherLoginPackets() {
    Under that add

    1042 and 1043 are the blue party hat and the noted version - the items.

    Code:
    int[] resetthem = { 1042, 1043 };
    Under that add


    Code:
    		if (!this.player.Resetitems) { 
    		for (int item = 0; item < resetthem.length; item++) { 
    		if (player.getBank().bank.contains(new Item(resetthem[item]))) { 
    		player.getBank().deleteItem(resetthem[item], 1000000000); 
    						}
    		if(player.getInventory().contains(resetthem[item])) {
    		player.getInventory().deleteAll(resetthem[item]); 
    					}
    		if(player.getEquipment().contains(resetthem[item])) {
    		player.getEquipment().getEquipment().removeAll(new Item(resetthem[item])); 
    				} 
    			} 
    		this.player.Resetitems = true; 
    		}
    Compile and then restart your server and done
    Reply With Quote  
     

  2. #2  
    Registered Member
    IngeniousPentaSquid's Avatar
    Join Date
    Jun 2011
    Age
    28
    Posts
    993
    Thanks given
    47
    Thanks received
    140
    Rep Power
    79
    Tyluur released this...
    ©®
    Reply With Quote  
     

  3. #3  
    08-13, SpawnScape Owner

    jet kai's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    870
    Thanks given
    630
    Thanks received
    957
    Rep Power
    5000
    Quote Originally Posted by visser View Post
    Tyluur released this...
    Ok Mr know it all,

    Even though you have only been on this forum since 2011 you think you know everything.

    Copy the link and then paste it, then ill be satisfied.
    Reply With Quote  
     

  4. #4  
    Super Donator


    Join Date
    Mar 2009
    Age
    28
    Posts
    1,388
    Thanks given
    316
    Thanks received
    408
    Rep Power
    608
    It could be done better. Mine is a standalone application which allows you to reset items from loaded character files.

    Java - Rune-Server Official Pastebin

    Enjoy.
    Reply With Quote  
     

  5. #5  
    Last known as Orangez

    Join Date
    Sep 2010
    Posts
    194
    Thanks given
    0
    Thanks received
    21
    Rep Power
    2
    Will be useful for noobs like visser
    Reply With Quote  
     

  6. #6  
    Registered Member
    IngeniousPentaSquid's Avatar
    Join Date
    Jun 2011
    Age
    28
    Posts
    993
    Thanks given
    47
    Thanks received
    140
    Rep Power
    79
    I technically joined 2010 but my acc. had activation problems so i made this one.
    ©®
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2010
    Age
    32
    Posts
    603
    Thanks given
    96
    Thanks received
    43
    Rep Power
    59
    Quote Originally Posted by jet kai View Post
    Ok Mr know it all,

    Even though you have only been on this forum since 2011 you think you know everything.

    Copy the link and then paste it, then ill be satisfied.
    just because someone joined these forums after you does not mean they are less knowledgeable than you
    Reply With Quote  
     

  8. #8  
    Registered Member
    Iwin's Avatar
    Join Date
    Mar 2008
    Age
    30
    Posts
    677
    Thanks given
    12
    Thanks received
    56
    Rep Power
    245
    Pretty basic. But good job, it shall help the newcomers
    [SPOIL]
    [/SPOIL]
    Reply With Quote  
     

  9. #9  
    Registered Member
    IngeniousPentaSquid's Avatar
    Join Date
    Jun 2011
    Age
    28
    Posts
    993
    Thanks given
    47
    Thanks received
    140
    Rep Power
    79
    Quote Originally Posted by jet kai View Post
    Ok Mr know it all,

    Even though you have only been on this forum since 2011 you think you know everything.

    Copy the link and then paste it, then ill be satisfied.
    And if you've been here so long, how come your still a bronze member?
    ©®
    Reply With Quote  
     

  10. Thankful users:


  11. #10  
    08-13, SpawnScape Owner

    jet kai's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    870
    Thanks given
    630
    Thanks received
    957
    Rep Power
    5000
    Quote Originally Posted by visser View Post
    And if you've been here so long, how come your still a bronze member?
    Because I never used this forum for posting I only used for the toplist and I don't go around spamming on every post chatting shit like you do.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Item Reset / Item Wipe / Economy Reset
    By Jeremy Yak in forum Tools
    Replies: 17
    Last Post: 04-10-2012, 01:48 PM
  2. Reset 1 item
    By bloodflavor in forum Snippets
    Replies: 8
    Last Post: 01-14-2012, 04:58 AM
  3. Eco reset 1 item only?
    By Arithium in forum Help
    Replies: 3
    Last Post: 12-21-2010, 06:50 PM
  4. Item Reset
    By Rugrats in forum Help
    Replies: 8
    Last Post: 01-04-2010, 02:01 PM
  5. Item reset
    By Derrick in forum Help
    Replies: 2
    Last Post: 07-07-2009, 02:26 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •