Thread: [PI] [317] Lunars saving on Log-Out

Results 1 to 6 of 6
  1. #1 [PI] [317] Lunars saving on Log-Out 
    Registered Member
    Join Date
    Mar 2014
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Hello guys, I need help with player-save.
    When i'm on lunars spell book and I log out it does not save and just goes back to my ancient spellbook, but the lunars book is fully working.
    Any help is appreciated, and also, I need a good animation for vengence since mine does not load the red skull.
    Reply With Quote  
     

  2. #2  
    ScapeRune Developer
    Syphco's Avatar
    Join Date
    Feb 2014
    Posts
    66
    Thanks given
    0
    Thanks received
    4
    Rep Power
    13
    I'm not that good at this kind of thing but it looks something like this I think.


    Code:
    if(playerMagicBook == 0) {
    setSidebarInterface(6, 1151); 
    }
    if(playerMagicBook == 1){
    setSidebarInterface(6, 12855);
    }
    if(playerMagicBook == 2){
    setSidebarInterface(6, 16640);
    }
    if(altarPrayed == 0) {
    setSidebarInterface(5, 5608);
    } else {
    setSidebarInterface(5, 22500);
    }

    I don't know your source though so idk.
    Reply With Quote  
     

  3. #3  
    ScapeRune Developer
    Syphco's Avatar
    Join Date
    Feb 2014
    Posts
    66
    Thanks given
    0
    Thanks received
    4
    Rep Power
    13
    You'll most likely have to take something like that and swap it out to fit your server.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Edd -'s Avatar
    Join Date
    Jul 2011
    Posts
    665
    Thanks given
    62
    Thanks received
    43
    Rep Power
    84
    find
    Code:
    setSidebarInterface(6, 12855);
    client .java

    add
    Code:
    	} else if (playerMagicBook == 2) {
    				setSidebarInterface(6, 29999); // lunar
    			}
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Mar 2014
    Posts
    18
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Edd - View Post
    find
    Code:
    setSidebarInterface(6, 12855);
    client .java

    add
    Code:
    	} else if (playerMagicBook == 2) {
    				setSidebarInterface(6, 29999); // lunar
    			}
    It looks like this

    Code:
    			if(playerMagicBook == 0) {
    				setSidebarInterface(6, 1151); //modern
    			} else {
    				setSidebarInterface(6, 12855); // ancient
    			}
    Reply With Quote  
     

  6. #6  
    Registered Member
    Edd -'s Avatar
    Join Date
    Jul 2011
    Posts
    665
    Thanks given
    62
    Thanks received
    43
    Rep Power
    84
    Quote Originally Posted by HysteriaPk View Post
    It looks like this

    Code:
    			if(playerMagicBook == 0) {
    				setSidebarInterface(6, 1151); //modern
    			} else {
    				setSidebarInterface(6, 12855); // ancient
    			}
    well change it then

    Code:
    if(playerMagicBook == 0) {
    				setSidebarInterface(6, 1151); //modern
    			} else if (playerMagicBook == 1) {
    				setSidebarInterface(6, 12855); // ancient
    			} else if (playerMagicBook == 2) {
    				setSidebarInterface(6, 29999); // lunar
    			}
    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. Prayer book not saving upon log out PI
    By p loves c in forum Help
    Replies: 8
    Last Post: 02-17-2013, 08:45 AM
  2. Wont save quest on log out [PI]
    By entrapreneur in forum Help
    Replies: 8
    Last Post: 10-08-2012, 09:20 PM
  3. [PI] Accounts reset on log out
    By Harambe_ in forum Help
    Replies: 5
    Last Post: 05-20-2012, 06:09 AM
  4. [317] My PkP Don't Save When Logging Out
    By learth houch in forum Help
    Replies: 12
    Last Post: 08-31-2011, 07:17 AM
  5. ]|525|[ Save On Log Out ]|525|[
    By Streax in forum Tutorials
    Replies: 15
    Last Post: 11-02-2009, 04:23 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
  •