Thread: 100% thieving from stalls for z508 or "z525" cache by me

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 100% thieving from stalls for z508 or "z525" cache by me 
    :doge:

    Join Date
    Jan 2009
    Posts
    3,759
    Thanks given
    221
    Thanks received
    816
    Rep Power
    2113
    in objectoption2 declare these cases

    Code:
    case 34383: //Silk stall
    		if (p.skillLvl[17] >= 1) {
    		p.clickDelay = 5;
    		p.requestAnim(833, 0);
    		p.skillXP[17] += 2000;
    		p.skillLvl[17] = p.getLevelForXP(17);
    		p.getActionSender().setSkillLvl(p, 17);
    		p.appearanceUpdateReq = true;
    		p.updateReq = true;
    		Engine.playerItems.addItem(p, 995, 100000);
    		p.message("You steal from the stall.");
    		} else {
    		p.message("You need at least 1 thieving to steal from this stall.");
    		}
    		break;
    		
    		case 34384: //bake stall
    		if (p.skillLvl[17] >= 30) {
    		p.clickDelay = 5;
    		p.requestAnim(833, 0);
    		p.skillXP[17] += 2500;
    		p.skillLvl[17] = p.getLevelForXP(17);
    		p.getActionSender().setSkillLvl(p, 17);
    		p.appearanceUpdateReq = true;
    		p.updateReq = true;
    		Engine.playerItems.addItem(p, 995, 200000);
    		p.message("You steal from the stall.");
    		} else {
    		p.message("You need at least 30 thieving to steal from this stall.");
    		}
    		break;
    		
    		case 34387: //Fur stall
    		if (p.skillLvl[17] >= 55) {
    		p.clickDelay = 5;
    		p.requestAnim(833, 0);
    		p.skillXP[17] += 3200;
    		p.skillLvl[17] = p.getLevelForXP(17);
    		p.getActionSender().setSkillLvl(p, 17);
    		p.appearanceUpdateReq = true;
    		p.updateReq = true;
    		Engine.playerItems.addItem(p, 995, 400000);
    		p.message("You steal from the stall.");
    		} else {
    		p.message("You need at least 55 thieving to steal from this stall.");
    		}
    		break;
    		
    		case 34382: //silver stall
    		if (p.skillLvl[17] >= 70) {
    		p.clickDelay = 6;
    		p.requestAnim(833, 0);
    		p.skillXP[17] += 4250;
    		p.skillLvl[17] = p.getLevelForXP(17);
    		p.getActionSender().setSkillLvl(p, 17);
    		p.appearanceUpdateReq = true;
    		p.updateReq = true;
    		Engine.playerItems.addItem(p, 995, 550000);
    		p.message("You steal from the stall.");
    		} else {
    		p.message("You need at least 70 thieving to steal from this stall.");
    		}
    		break;
    		
    		case 34386: //spice stall
    		if (p.skillLvl[17] >= 85) {
    		p.clickDelay = 7;
    		p.requestAnim(833, 0);
    		p.skillXP[17] += 5000;
    		p.skillLvl[17] = p.getLevelForXP(17);
    		p.getActionSender().setSkillLvl(p, 17);
    		p.appearanceUpdateReq = true;
    		p.updateReq = true;
    		Engine.playerItems.addItem(p, 995, 700000);
    		p.message("You steal from the stall.");
    		} else {
    		p.message("You need at least 85 thieving to steal from this stall.");
    		}
    		break;
    		
    		case 34385: //Gem stall
    		if (p.skillLvl[17] >= 99) {
    		p.clickDelay = 8;
    		p.requestAnim(833, 0);
    		p.skillXP[17] += 7500;
    		p.skillLvl[17] = p.getLevelForXP(17);
    		p.getActionSender().setSkillLvl(p, 17);
    		p.appearanceUpdateReq = true;
    		p.updateReq = true;
    		Engine.playerItems.addItem(p, 995, 1500000);
    		p.message("You steal from the stall.");
    		} else {
    		p.message("You need at least 99 thieving to steal from this stall.");
    		}
    		break;
    these are custom level requirements but its still good

    please post comments.
    Reply With Quote  
     

  2. #2  
    WLR Leaked!


    Join Date
    Jul 2008
    Posts
    981
    Thanks given
    161
    Thanks received
    48
    Rep Power
    572
    Nice?
    Reply With Quote  
     

  3. #3  
    Extreme Donator


    Join Date
    Jul 2009
    Age
    24
    Posts
    4,350
    Thanks given
    824
    Thanks received
    1,237
    Rep Power
    1789
    Cool Man

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

  4. #4  
    :doge:

    Join Date
    Jan 2009
    Posts
    3,759
    Thanks given
    221
    Thanks received
    816
    Rep Power
    2113
    thanks
    Reply With Quote  
     

  5. #5  
    RuneSoul Developer
    'Brad's Avatar
    Join Date
    Jun 2008
    Age
    27
    Posts
    577
    Thanks given
    17
    Thanks received
    13
    Discord
    View profile
    Rep Power
    0
    Nice job
    Reply With Quote  
     

  6. #6  
    Forest
    Guest
    There is a better way of doing this :/...
    Reply With Quote  
     

  7. #7  
    Community Veteran


    Join Date
    Dec 2008
    Posts
    4,264
    Thanks given
    405
    Thanks received
    432
    Discord
    View profile
    Rep Power
    1684
    Nice, but you should read up on conventions
    Reply With Quote  
     

  8. #8  
    Registered Member
    harraj128's Avatar
    Join Date
    Nov 2008
    Posts
    1,154
    Thanks given
    1
    Thanks received
    10
    Rep Power
    382
    its not really 100% 100% stalls include npc attacking you in certain places etc. otherwise gj.
    Reply With Quote  
     

  9. #9  
    :doge:

    Join Date
    Jan 2009
    Posts
    3,759
    Thanks given
    221
    Thanks received
    816
    Rep Power
    2113
    thanks, and ive been trying to get someone to teach me about conventions, cause i rlly wanna learn to use them :l

    are they just like

    Code:
    
    if (discarded == true) own();
    ?
    Reply With Quote  
     

  10. #10  
    Forest
    Guest
    [Only registered and activated users can see links. ].
    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

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
  •