Thread: [PI] High Alch - Not Working

Results 1 to 2 of 2
  1. #1 [PI] High Alch - Not Working 
    Expect the Unexpected

    Acquittal's Avatar
    Join Date
    Jan 2011
    Age
    27
    Posts
    1,182
    Thanks given
    627
    Thanks received
    233
    Rep Power
    238
    Well pretty much here is the PA (playerassisstant) code:

    Code:
    			case 1178: // high alch
    			if(System.currentTimeMillis() - c.alchDelay > 2000) {	
    				if(c.getItems().playerHasItem(itemId, slot, 1)){
    				if(!c.getCombat().checkMagicReqs(50)) {
    					break;
    				}
    				if(itemId == 995) {
    					c.sendMessage("You can't alch coins.");
    					break;
    				}				
    				if(c.getItems().playerHasItem(itemId, slot, 1)){
    				c.getItems().deleteItem(itemId, slot, 1);
    				c.getItems().addItem(995, (int)(c.getShops().getItemShopValue(itemId)*.75));
    				c.startAnimation(c.MAGIC_SPELLS[50][2]);
    				c.gfx100(c.MAGIC_SPELLS[50][3]);
    				c.alchDelay = System.currentTimeMillis();
    				sendFrame106(6);
    				addSkillXP(c.MAGIC_SPELLS[50][7] * Config.MAGIC_EXP_RATE, 6);
    				refreshSkill(6);
    				}
    				}
    			}
    			break;
    People have said it is the player Has Item method, but what would I edit in that?
     

  2. #2  
    Expect the Unexpected

    Acquittal's Avatar
    Join Date
    Jan 2011
    Age
    27
    Posts
    1,182
    Thanks given
    627
    Thanks received
    233
    Rep Power
    238
    really need help!
     


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. [PI Help] High Alch
    By darky in forum Help
    Replies: 7
    Last Post: 05-16-2011, 03:51 PM
  2. Automatic Low Alch/High Alch price Dumper
    By Vastiko in forum Snippets
    Replies: 13
    Last Post: 08-28-2009, 03:39 AM
  3. Replies: 6
    Last Post: 07-30-2008, 01:04 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
  •