Thread: How do I change my Starter spell page? (QUICK)

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 How do I change my Starter spell page? (QUICK) 
    programmer
    Existence's Avatar
    Join Date
    Aug 2008
    Posts
    94
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    When I first log on it shows the spell book as the normal one and it has all the teles in it. But I want it to be so that when I log in its a ancients page right away so I can start adding teles for that page.

    Help please?
    If you help me please tell me where to apply those changes.
     

  2. #2  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    3,114
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    Code:
    setSidebarInterface(6, 12855);

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for [Only registered and activated users can see links. ]
     

  3. #3  
    programmer
    Existence's Avatar
    Join Date
    Aug 2008
    Posts
    94
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    Quote Originally Posted by Paul Griffiths View Post
    Code:
    setSidebarInterface(6, 12855);
    where do i change that? which location. More info please.
     

  4. #4  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Quote Originally Posted by Critical View Post
    where do i change that? which location. More info please.
    Open client.java then search for "setsidebarinterface" You should see 11-12 that look like this although yours may be a little different
    Code:
    setSidebarInterface(0, 2423); // attack tab
    		setSidebarInterface(1, 3917); // skills tab
    		setSidebarInterface(2, 638); // quest tab
    		setSidebarInterface(3, 3213); // backpack tab
    		setSidebarInterface(4, 1644); // items wearing tab
    		setSidebarInterface(5, 5608); // pray tab
    					if (playerAncientMagics == 0) {
    						 setSidebarInterface(6, 1151);
    						 playerAncientMagics = 0;
    					}
    					if (playerAncientMagics == 1 && q3 == 15) {
    						setSidebarInterface(6, 12855);
    						 playerAncientMagics = 1;
    					}
    					if (playerAncientMagics == 2 && q10 == 15) {
    						setSidebarInterface(6, 18787);
    						 playerAncientMagics = 2;
    					}
    		setSidebarInterface(7, 962); // clan chat
    		setSidebarInterface(8, 5065); // friend
    		setSidebarInterface(9, 5715); // ignore
    		setSidebarInterface(10, 2449); // logout tab
    		setSidebarInterface(11, 4445); // wrench tab
    		setSidebarInterface(12, 147); // run tab
    		setSidebarInterface(13, 962); // harp tab
    Now i a cheap way to do this would be to change this with the code below
    Highlight this
    Code:
    if (playerAncientMagics == 0) {
    						 setSidebarInterface(6, 1151);
    						 playerAncientMagics = 0;
    					}
    					if (playerAncientMagics == 1 && q3 == 15) {
    						setSidebarInterface(6, 12855);
    						 playerAncientMagics = 1;
    					}
    					if (playerAncientMagics == 2 && q10 == 15) {
    						setSidebarInterface(6, 18787);
    						 playerAncientMagics = 2;
    					}
    And replace it with this
    Code:
    if (playerAncientMagics == 0) {
    						 setSidebarInterface(6, 12855);
    						 playerAncientMagics = 0;
    					}
    					if (playerAncientMagics == 1 && q3 == 15) {
    						setSidebarInterface(6, 1151);
    						 playerAncientMagics = 1;
    					}
    					if (playerAncientMagics == 2 && q10 == 15) {
    						setSidebarInterface(6, 18787);
    						 playerAncientMagics = 2;
    					}
    This makes it to where you start on ancients each time and use the ancient altar to switch to regular that way both books are still accessible. And for future reference sometimes it takes days to get the help you need. Posting that no one helps isnt going to get people to want to help you. We are not here to assist you at your leisure.

    [Only registered and activated users can see links. ]
     

  5. #5  
    programmer
    Existence's Avatar
    Join Date
    Aug 2008
    Posts
    94
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    Yeah. My bad man. But thanks. I kind of figured it out already. But thanks!
     

  6. #6  
    Insayne
    Guest
    edit nvm
     

  7. #7  
    programmer
    Existence's Avatar
    Join Date
    Aug 2008
    Posts
    94
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    I've done eveything but now whenever I click on a teleport in the new book that it shows. I get it turned back to the old book ingame. How do i make it so that the book always stays the same ingame and doesn't change cause of a click.
     

  8. #8  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Quote Originally Posted by Critical View Post
    I've done eveything but now whenever I click on a teleport in the new book that it shows. I get it turned back to the old book ingame. How do i make it so that the book always stays the same ingame and doesn't change cause of a click.
    Try mine, it should work fine, I dont know cause i just did it here. If you used Insanes one his just swaps the books temporarily if you read the commented text. Mine should make it work indefinitely

    [Only registered and activated users can see links. ]
     

  9. #9  
    Insayne
    Guest
    I guess you could totally delete the normal magic book.
    But um, check your cases for each spell, if there's any lines containing setSideBarInterfae or whatever, delete that line.
     

  10. #10  
    Registered Member
    Deadly Uzi's Avatar
    Join Date
    Jul 2008
    Posts
    994
    Thanks given
    177
    Thanks received
    87
    Rep Power
    362
    Everything that happens when the player logs in is in void initiliaze() in Client.java...
    Attempting to develop a multi-revision library. [Only registered and activated users can see links. ] on GitHub.
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •