Thread: [PI] DSPK item protect curse REP

Results 1 to 4 of 4
  1. #1 [PI] DSPK item protect curse REP 
    Registered Member
    Join Date
    Jun 2010
    Age
    29
    Posts
    891
    Thanks given
    22
    Thanks received
    47
    Rep Power
    0
    Hey i cant get my item protect to work for my curse prayers. Ive tried to copy and paste the one of item protect normal prayer but cant get it to work.
    using DSPK PI
    will rep if you can help

    EDIT: Will pay 2USD "paypal" if it works. Just leave ur paypal adress.

    EDIT EDIT: in my "curse.java"
    Code:
    					case 0://pItem
    						c.lastProtItem = System.currentTimeMillis();
    					break;
    no idea if thats usefull
     

  2. #2  
    Registered Member
    Join Date
    Oct 2009
    Posts
    127
    Thanks given
    9
    Thanks received
    4
    Rep Power
    20
    if(c.curseActive[0])
    c.getItems().keepItem(3, true);

    Add that in your givelife
     

  3. #3  
    Howdy

    nMik's Avatar
    Join Date
    Nov 2010
    Posts
    1,060
    Thanks given
    144
    Thanks received
    147
    Rep Power
    107
    You are correct but that is a duplicate label. Search for this....
    Search for >>>> in playerassisnat.java
    Code:
    if(c.prayerActive[0] && System.currentTimeMillis() - c.lastProtItem > 700) {
    						c.getItems().keepItem(3, true);
    					}
    change that to
    Code:
    if(c.prayerActive[10] || c.curseActive[0] && System.currentTimeMillis() - c.lastProtItem > 700) {
    						c.getItems().keepItem(3, true);
    					}
    And there you go

     

  4. #4  
     

    Vastiko's Avatar
    Join Date
    Dec 2006
    Posts
    5,700
    Thanks given
    300
    Thanks received
    663
    Rep Power
    5000
     


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. Curse Protect Item
    By darky in forum Help
    Replies: 2
    Last Post: 12-29-2010, 10:40 PM
  2. Protect item
    By Juggalo Family in forum Show-off
    Replies: 9
    Last Post: 12-20-2010, 10:03 PM
  3. Protect 3 Item on Death/Protect 1 Item
    By LeBron James in forum Show-off
    Replies: 18
    Last Post: 05-25-2009, 08:48 PM
  4. [508]Protect item![508]
    By shassan in forum Requests
    Replies: 5
    Last Post: 04-16-2009, 11:14 PM
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
  •