Thread: [PI] Need help with ancient curses.

Results 1 to 7 of 7
  1. #1 [PI] Need help with ancient curses. 
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    Hello guys Here is my problem. when i change to my ancient curses and relog my character automatically changes back to normals but i would have to pray twice again to go back to ancient curses..


    Anyone any ideas?
    Reply With Quote  
     

  2. #2  
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    Bump
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2009
    Posts
    422
    Thanks given
    3
    Thanks received
    20
    Rep Power
    7
    setSidebarInterface in initialize()
    Quote Originally Posted by Joshinator View Post
    doesnt work when i comile now i get this

    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    Press any key to continue . . .
    Reply With Quote  
     

  4. #4  
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    Would you know which interface it is?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2009
    Posts
    422
    Thanks given
    3
    Thanks received
    20
    Rep Power
    7
    setSidebarInterface(5, 22500);

    That's it, but there's more than just pasting that code think about it that will make everyone who logs in have curses.
    Quote Originally Posted by Joshinator View Post
    doesnt work when i comile now i get this

    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    Press any key to continue . . .
    Reply With Quote  
     

  6. #6  
    Donator


    Join Date
    Mar 2011
    Posts
    2,350
    Thanks given
    1,193
    Thanks received
    824
    Rep Power
    856
    You have to save last altar prayed at.

    Code:
    case 411:
    if(c.altarPrayed == 0) {
        c.altarPrayed = 1;
        c.setSidebarInterface(5, 22500);
        c.startAnimation(645);
        c.sendMessage("You sense a surge of power flow through your body!");
        c.getCombat().resetPrayers();
    } else {
        c.altarPrayed = 0;
        c.setSidebarInterface(5, 5608);
        c.startAnimation(645);
        c.sendMessage("You sense a surge of purity flow through your body!");
        c.getCurse().resetCurse();
    }
    If I'm not mistaken, you're missing what's in red and what's in red is what saves the last altar prayed at. I had the same problem. If you're still encountering this problem, I'll lead you though the whole tutorial.
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    Thanks bro that fixed it
    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. [PI] Ancient curses
    By marcbob in forum Help
    Replies: 2
    Last Post: 08-09-2010, 04:20 AM
  2. 508/525 Ancient Curses
    By Leanbow in forum Show-off
    Replies: 42
    Last Post: 08-08-2010, 06:05 PM
  3. Ancient Curses 508/525
    By The xx in forum Help
    Replies: 6
    Last Post: 07-31-2010, 07:01 PM
  4. Ancient Curses
    By shassan in forum Show-off
    Replies: 28
    Last Post: 07-22-2010, 04:04 PM
  5. Ancient Curses
    By `guthan mane in forum Show-off
    Replies: 10
    Last Post: 05-13-2010, 03:34 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
  •