Thread: Can I minipulate this method to work for NPC, Stall & Chest thieving? [PI]

Results 1 to 8 of 8
  1. #1 Can I minipulate this method to work for NPC, Stall & Chest thieving? [PI] 
    Banned

    Join Date
    Jul 2011
    Age
    27
    Posts
    748
    Thanks given
    2,207
    Thanks received
    451
    Rep Power
    0
    I'be been trying to use the Skill classes already used by sanity to make them move versatile and stable, and I was woundering if I can modify this method to work for NPC, Stall & Chest thieving by changing the intergers's around?


    Code:
    Code:
    public void stealFromStall(int id, int xp, int level) {
    		if (System.currentTimeMillis() - c.lastThieve < 2500)
    			return;
    		if (Misc.random(100) == 0) {
    			
    			return;
    		}
    		if (c.playerLevel[c.playerThieving] >= level) {
    			if (c.getItems().addItem(id,1)) {
    				c.startAnimation(832);
    				c.getPA().addSkillXP(xp * Config.THIEVING_EXPERIENCE, c.playerThieving);
    				c.lastThieve = System.currentTimeMillis();
    				c.sendMessage("You steal a " + server.model.items.Item.getItemName(id) + ".");
    			}		
    		} else {
    			c.sendMessage("You must have a thieving level of " + level + " to thieve from this stall.");
    		}
    	}
    	//npc, level, exp, coin amount
    	public int[][] npcThieving = {{1,1,8,200,1},{18,25,26,500,1},{9,40,47,1000,2},{26,55,85,1500,3},{20,70,152,2000,4},{21,80,273,3000,5}};
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Jul 2011
    Age
    27
    Posts
    748
    Thanks given
    2,207
    Thanks received
    451
    Rep Power
    0
    Bumpersaurus Rex
    Reply With Quote  
     

  3. #3  
    OS-Scape - coming soon...
    Raw Envy's Avatar
    Join Date
    Dec 2010
    Posts
    2,983
    Thanks given
    827
    Thanks received
    1,136
    Rep Power
    2891
    Hmm.. Possibly give me for information on what your trying to do/achieve...
    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]

    Join OSS Discord for weekly 100m OSRS GP giveaways until release.
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jul 2011
    Age
    27
    Posts
    748
    Thanks given
    2,207
    Thanks received
    451
    Rep Power
    0
    Well, I was thinking that I could change the bottom aray to support ID's from NPC, Chests and stalls by changeing the intergers?

    Am I using the correct terms?
    Reply With Quote  
     

  5. #5  
    OS-Scape - coming soon...
    Raw Envy's Avatar
    Join Date
    Dec 2010
    Posts
    2,983
    Thanks given
    827
    Thanks received
    1,136
    Rep Power
    2891
    Quote Originally Posted by ambientX View Post
    Well, I was thinking that I could change the bottom aray to support ID's from NPC, Chests and stalls by changeing the intergers?

    Am I using the correct terms?
    Tbh with you mate just download a source with it already and leech it.. If you don't know how to add it your better off doing that I guess..
    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]

    Join OSS Discord for weekly 100m OSRS GP giveaways until release.
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Jul 2011
    Age
    27
    Posts
    748
    Thanks given
    2,207
    Thanks received
    451
    Rep Power
    0
    I aint no leecher, and I never will be...
    I want to learn, so to learn I learn by my self.
    End of.
    Reply With Quote  
     

  7. #7  
    OS-Scape - coming soon...
    Raw Envy's Avatar
    Join Date
    Dec 2010
    Posts
    2,983
    Thanks given
    827
    Thanks received
    1,136
    Rep Power
    2891
    Quote Originally Posted by ambientX View Post
    I aint no leecher, and I never will be...
    I want to learn, so to learn I learn by my self.
    End of.
    Exactly if you want to learn then download a source with it and look into the coding of it and how it works then if you want to re-make it then do that? Get a feel for how to do it get some ideas if you are unsure of what to do.. I'm not going to sit here and explain how to add it from scratch I would if I had the time lol Gl mate.
    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]

    Join OSS Discord for weekly 100m OSRS GP giveaways until release.
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Jul 2011
    Age
    27
    Posts
    748
    Thanks given
    2,207
    Thanks received
    451
    Rep Power
    0
    Quote Originally Posted by Raw Envy View Post
    Exactly if you want to learn then download a source with it and look into the coding of it and how it works then if you want to re-make it then do that? Get a feel for how to do it get some ideas if you are unsure of what to do.. I'm not going to sit here and explain how to add it from scratch I would if I had the time lol Gl mate.
    Yeah sorry buddy, child hood memories of my mom flooded back
    Yeah, I'll have a look into bases people have already relesed...
    thnx for 'ya time
    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

Similar Threads

  1. Help with stall thieving
    By The Lizard King in forum Help
    Replies: 3
    Last Post: 05-29-2010, 08:08 PM
  2. My thieving stall.
    By Theukpk in forum Help
    Replies: 0
    Last Post: 04-26-2010, 11:37 PM
  3. Should stall thieving be like this?
    By Mergim in forum RS2 Server
    Replies: 11
    Last Post: 01-31-2010, 04:13 PM
  4. Adding a new thieving stall/Chest
    By Guitars595 in forum Tutorials
    Replies: 7
    Last Post: 09-28-2008, 03:53 PM
  5. [V1]Full Stall Thieving[V1]
    By Mr Chainsaw in forum Tutorials
    Replies: 11
    Last Post: 05-26-2007, 02:08 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
  •