Thread: Achievements Interface Help

Results 1 to 4 of 4
  1. #1 Achievements Interface Help 
    Registered Member

    Join Date
    Feb 2015
    Posts
    830
    Thanks given
    12
    Thanks received
    200
    Rep Power
    118
    Hey, I've been trying to rework my achievements interface (terrible at client work).

    And when I try to add in a bunch of achievements, This is my outcome....

    Attached image


    Code:
    setChildren(16, Interface);
    			setBounds(29295, 8, 6, 0, Interface);
    			setBounds(29287, 8, 21, 1, Interface);
    			setBounds(29305, 8, 36, 2, Interface);
    			setBounds(29306, 8, 51, 3, Interface);
    			setBounds(29307, 8, 66, 4, Interface);
    			setBounds(29308, 8, 81, 5, Interface);
    			setBounds(29309, 8, 96, 6, Interface);
    			setBounds(29310, 8, 110, 7, Interface);
    			setBounds(29311, 8, 125, 8, Interface);
    			setBounds(29312, 8, 140, 9, Interface);
    			setBounds(29313, 8, 155, 10, Interface);
    			setBounds(29314, 8, 170, 11, Interface);
    			setBounds(29315, 8, 185, 12, Interface);
    			setBounds(29316, 8, 200, 13, Interface);
    			addHoverText(29295, "Easy Achievements", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29287, "Chop 25 Willow Logs", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29305, "Mine 25 Iron Ore", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29306, "Catch 25 Lobsters", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29307, "Kill 15 Rock Crabs", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29307, "Easy Achievement", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29308, "Easy Achievement 2", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29309, "Easy Achievement 3", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29310, "Medium Achievements", "View Achievements", TDA, 0, 0xFF981F, false, true, 150);
    			addHoverText(29311, "Kill 50 Rock Crabs", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29312, "Chop 30 Maple Logs", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29313, "Catch 30 Sharks", "View Achievements", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29314, "Mine 25 Mithril Ore", "View Achievements", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29315, "Test 1", "View Achievements", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29316, "Test 2", "View Achievements", TDA, 0, 0xff0000, false, true, 150);
    Reply With Quote  
     

  2. #2  
    Super Donator
    _sky's Avatar
    Join Date
    Aug 2015
    Posts
    151
    Thanks given
    116
    Thanks received
    72
    Rep Power
    59
    Quote Originally Posted by clivester90 View Post
    Hey, I've been trying to rework my achievements interface (terrible at client work).

    And when I try to add in a bunch of achievements, This is my outcome....
    You're setting children to an amount of 16, while you got 14 lines.

    So
    Code:
    setChildren(16, Interface);
    should be
    Code:
    setChildren(14, Interface);
    Also you're writing text to id 29307 twice.
    Code:
    addHoverText(29307, "Kill 15 Rock Crabs", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    addHoverText(29307, "Easy Achievement", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    Reply With Quote  
     

  3. #3  
    Boy Wonder


    Join Date
    Mar 2012
    Posts
    849
    Thanks given
    139
    Thanks received
    80
    Rep Power
    99
    Quote Originally Posted by _Sky View Post
    You're setting children to an amount of 16, while you got 14 lines.

    So
    Code:
    setChildren(16, Interface);
    should be
    Code:
    setChildren(14, Interface);
    Also you're writing text to id 29307 twice.
    Code:
    addHoverText(29307, "Kill 15 Rock Crabs", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    addHoverText(29307, "Easy Achievement", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    to add on to this, you should be writing text to the interface using packet 126 so you can change the color code of the achievement(s) to show if they are completed or not

    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Feb 2015
    Posts
    830
    Thanks given
    12
    Thanks received
    200
    Rep Power
    118
    Quote Originally Posted by _Sky View Post
    You're setting children to an amount of 16, while you got 14 lines.

    So
    Code:
    setChildren(16, Interface);
    should be
    Code:
    setChildren(14, Interface);
    Also you're writing text to id 29307 twice.
    Code:
    addHoverText(29307, "Kill 15 Rock Crabs", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    addHoverText(29307, "Easy Achievement", "Check Progress", TDA, 0, 0xff0000, false, true, 150);
    #Sillymistakes! Thanks _Sky losing my mind over silly little things.

    Quote Originally Posted by Metorrite View Post
    to add on to this, you should be writing text to the interface using packet 126 so you can change the color code of the achievement(s) to show if they are completed or not

    I've been doing that server sided.
    Reply With Quote  
     

  5. Thankful user:



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. Quest Open Interface help...
    By 0v3rc0m3 in forum Help
    Replies: 11
    Last Post: 02-01-2009, 11:54 PM
  2. teleport interface help
    By Bmxican in forum Help
    Replies: 2
    Last Post: 01-09-2009, 02:03 AM
  3. New interface help
    By Magers in forum Help
    Replies: 0
    Last Post: 12-01-2008, 12:46 AM
  4. item in interface help plz
    By garaa447 in forum Help
    Replies: 0
    Last Post: 11-25-2008, 02:51 AM
  5. [508] item on interfaces help
    By tinosk in forum Requests
    Replies: 7
    Last Post: 10-31-2008, 06:17 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
  •