Thread: [508] or [525] Item duplicate fix 100%

Results 1 to 9 of 9
  1. #1 [508] or [525] Item duplicate fix 100% 
    OWNER @ BOFA (Now Hiring)
    Mr Bill's Avatar
    Join Date
    May 2010
    Posts
    518
    Thanks given
    15
    Thanks received
    35
    Rep Power
    62
    This first part isn't basically a dupe fix, it's so people cannot spawn coins, or nulls. (fixing nulling in combat)

    in your item command add this somewhere you feel confortable.

    Code:
                int playerGold = Engine.playerItems.invItemCount(p, 995);
                String itemName = Engine.items.getItemName(itemID);
                String[] spawnDisabled = {"null", "Coins", "(h", "/10", "100", "75", "50", "25"};
                for (String s : spawnDisabled) {
                if (itemName.contains(s)) {
                p.getActionSender().sendMessage(p, "This item cannot be spawned.");
                p.getActionSender().addSoundEffect(p, 4039, 1, 0, 0);
                return;
                }
                }
    You can change the items also.

    --------------------------------------

    The 2nd dupe!

    in your item command, search for:
    Code:
    return; //Wierd bug fix
    and under that add this!

    Code:
                   }
                                    if (itemAmount > 2000) {
                                    p.getActionSender().sendMessage(p, "You can only spawn 2000 at a time.");
                                    return;
    Also to fix nulling in combat do this under ^ return;
    Code:
    }
    if (itemID > 14606) {
    p.getActionSender().sendMessage(p, "You are really that much of a bum?");
    return;
    That will make it so they cannot spawn anything over the item list which is a "null", lol.

    Hope you like, have fun.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Underoath's Avatar
    Join Date
    Sep 2008
    Posts
    2,943
    Thanks given
    826
    Thanks received
    582
    Rep Power
    853
    This is in z508...


    Special thanks to Payton :trollface:
    Spoiler for People I respect:

    Definitely not you, faggot.

    Reply With Quote  
     

  3. #3  
    Austin_
    Guest
    Good job man. I needed this! .
    Reply With Quote  
     

  4. #4  
    OWNER @ BOFA (Now Hiring)
    Mr Bill's Avatar
    Join Date
    May 2010
    Posts
    518
    Thanks given
    15
    Thanks received
    35
    Rep Power
    62
    bumped
    Reply With Quote  
     

  5. #5  
    Extreme Donator


    Join Date
    Jul 2009
    Age
    24
    Posts
    4,350
    Thanks given
    824
    Thanks received
    1,237
    Rep Power
    1789
    lol'd irl

    You can find my [Only registered and activated users can see links. ], for what I'm currently working on.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Sep 2009
    Posts
    171
    Thanks given
    44
    Thanks received
    1
    Rep Power
    1
    Thanks needed the null bit, rep.
    Reply With Quote  
     

  7. #7  
    Registered Member
    shassan's Avatar
    Join Date
    Oct 2008
    Age
    28
    Posts
    1,218
    Thanks given
    8
    Thanks received
    42
    Rep Power
    201
    The first bit was included in the z508 base, the 2nd bit is common sense and the overall "dupe" you are referring to is not the only dupe on a rsps, there are countless ways of duping, especially on a base such as z508. it's just nobody has found them yet.
    Reply With Quote  
     

  8. #8  
    Registered Member DankShit's Avatar
    Join Date
    Feb 2010
    Posts
    715
    Thanks given
    67
    Thanks received
    28
    Rep Power
    37
    lol at shahirs siggy.
    There is more to life than obsessivly pointing and clicking a contraption formerly reffered to as a "Mouse" to reach illusional goals that will not change a thing in your life.

    I quit.
    Reply With Quote  
     

  9. #9  
    Registered Member unforgivable's Avatar
    Join Date
    Sep 2009
    Age
    31
    Posts
    146
    Thanks given
    9
    Thanks received
    4
    Rep Power
    7
    Finally took an hour to find this tutorial, thanks man.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Tags for this Thread

View Tag Cloud

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