Thread: Need Modern & Ancient spell tabs

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1 Need Modern & Ancient spell tabs 
    Donator
    Will_'s Avatar
    Join Date
    Oct 2013
    Age
    26
    Posts
    153
    Thanks given
    14
    Thanks received
    8
    Rep Power
    11
    Can anyone share the code for the modern and ancient magic tabs? I've been messing with mine for a few days, can't seem to get it to to work properly. Will +rep, my code below.

    Code:
    public static void normalSpellbookEdit(GameFont[] t) {
    		Widget tab = addTabInterface(39000);
    		Widget spellButtons = interfaceCache[12424];
    		spellButtons.scrollMax = 0;
    		spellButtons.height = 260;
    		spellButtons.width = 190;
    		int[] spellButton = { 1196, 1199, 1206, 1215, 1224, 1231, 1240, 1249,
    				1258, 1267, 1274, 1283, 1573, 1290, 1299, 1308, 1315, 1324,
    				1333, 1340, 1349, 1358, 1367, 1374, 1381, 1388, 1397, 1404,
    				1583, 12038, 1414, 1421, 1430, 1437, 1446, 1453, 1460, 1469,
    				15878, 1602, 1613, 1624, 7456, 1478, 1485, 1494, 1503, 1512,
    				1521, 1530, 1544, 1553, 1563, 1593, 1635, 12426, 12436, 12446,
    				12456, 6004, 18471 };
    		tab.totalChildren(63);
    		tab.child(0, 12424, 13, 24);
    		
    		for (int i1 = 0; i1 < spellButton.length; i1++) {
    			int yPos = i1 > 34 ? 8 : 183;
    			tab.child(1, 1195, 13, 24);
    			tab.child(i1 + 2, spellButton[i1], 5, yPos);
    			addButton(1195, 1, "Cast @gre@Home Teleport");
    			Widget homeButton = interfaceCache[1195];
    			homeButton.hoverType = 1196;
    		}
    		
    	}
    Quote Originally Posted by Liam_ View Post
    I wouldn't be surprised if some of you just come here for content and not contribute to rune-server or the community in anyway.
    Attached image
    Reply With Quote  
     

  2. #2  
    WhiteDownMb | HYBRID JEFE
    Brett the Don's Avatar
    Join Date
    Dec 2009
    Posts
    2,117
    Thanks given
    349
    Thanks received
    556
    Rep Power
    2540
    What exactly is the problem? and what base?

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself




    Reply With Quote  
     

  3. #3  
    Donator
    Will_'s Avatar
    Join Date
    Oct 2013
    Age
    26
    Posts
    153
    Thanks given
    14
    Thanks received
    8
    Rep Power
    11
    Quote Originally Posted by Brett the Don View Post
    What exactly is the problem? and what base?
    Screenshot

    Two sprites overlapping for the home teleport button, and the outline of the text box I deleted, but it refuses to go away for whatever reason.
    Quote Originally Posted by Liam_ View Post
    I wouldn't be surprised if some of you just come here for content and not contribute to rune-server or the community in anyway.
    Attached image
    Reply With Quote  
     

  4. #4  
    WhiteDownMb | HYBRID JEFE
    Brett the Don's Avatar
    Join Date
    Dec 2009
    Posts
    2,117
    Thanks given
    349
    Thanks received
    556
    Rep Power
    2540
    What sprites are 1195/1196

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself




    Reply With Quote  
     

  5. #5  
    Donator
    Will_'s Avatar
    Join Date
    Oct 2013
    Age
    26
    Posts
    153
    Thanks given
    14
    Thanks received
    8
    Rep Power
    11
    Quote Originally Posted by Brett the Don View Post
    What sprites are 1195/1196
    I believe it's the sprites causing the issue (Actual home button, and the blue orb overlapping). But if I delete either of those lines for the sprites, the interface turns in to the Thesselisa's Legs interface for some reason. I've checked all IDs, and none of them are duplicates. If I open the interface (::interface 12424) it's fine, doesn't have the issue.
    Quote Originally Posted by Liam_ View Post
    I wouldn't be surprised if some of you just come here for content and not contribute to rune-server or the community in anyway.
    Attached image
    Reply With Quote  
     

  6. #6  
    WhiteDownMb | HYBRID JEFE
    Brett the Don's Avatar
    Join Date
    Dec 2009
    Posts
    2,117
    Thanks given
    349
    Thanks received
    556
    Rep Power
    2540
    I'm asking you to post the sprites that are 1195 and 1196

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself




    Reply With Quote  
     

  7. #7  
    Donator
    Will_'s Avatar
    Join Date
    Oct 2013
    Age
    26
    Posts
    153
    Thanks given
    14
    Thanks received
    8
    Rep Power
    11
    Quote Originally Posted by Brett the Don View Post
    I'm asking you to post the sprites that are 1195 and 1196
    The home teleport button is sprite 1195. I can't find what 1196 is.
    Quote Originally Posted by Liam_ View Post
    I wouldn't be surprised if some of you just come here for content and not contribute to rune-server or the community in anyway.
    Attached image
    Reply With Quote  
     

  8. #8  
    WhiteDownMb | HYBRID JEFE
    Brett the Don's Avatar
    Join Date
    Dec 2009
    Posts
    2,117
    Thanks given
    349
    Thanks received
    556
    Rep Power
    2540
    change the 1196 and see what happens

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself




    Reply With Quote  
     

  9. #9  
    Donator
    Will_'s Avatar
    Join Date
    Oct 2013
    Age
    26
    Posts
    153
    Thanks given
    14
    Thanks received
    8
    Rep Power
    11
    Quote Originally Posted by Brett the Don View Post
    change the 1196 and see what happens
    Screenshot

    Got rid of the blue orb, but now these boxes for the spell hovers showed up. I have no clue why, I got rid of the hovers a while ago while diagnosing the sprite issues.
    Quote Originally Posted by Liam_ View Post
    I wouldn't be surprised if some of you just come here for content and not contribute to rune-server or the community in anyway.
    Attached image
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Sep 2018
    Posts
    59
    Thanks given
    2
    Thanks received
    14
    Rep Power
    15
    What source are you using?
    Reply With Quote  
     

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

Similar Threads

  1. ancient magic tab-adding more spells
    By ilike to own in forum Requests
    Replies: 1
    Last Post: 04-27-2011, 10:51 AM
  2. Modern To Ancients
    By Jordon old in forum Help
    Replies: 10
    Last Post: 01-08-2009, 03:39 AM
  3. My Ancient spells
    By Bitlord44 in forum Projects
    Replies: 4
    Last Post: 09-21-2008, 05:46 PM
  4. Ancients Spell book (Icon)
    By OnandOff in forum Graphics
    Replies: 4
    Last Post: 11-05-2007, 04:52 AM
  5. Replies: 27
    Last Post: 09-14-2007, 12:35 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
  •