Thread: xp lamp interface

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 xp lamp interface 
    You Own Me


    Join Date
    Jul 2015
    Posts
    193
    Thanks given
    68
    Thanks received
    35
    Rep Power
    206
    hey guys i wanne add tis into me server its a 718 version
    Attached image
    Attached image


    here is the code idk what i do wrong mabey if some one wanne help me shuld be nice


    Code:
    if (itemId == 23714  && itemId <= 23715  && itemId <= 23713 && itemId <= 23716) {
    				for (int i = 0; i < 45; i++)
    					player.getPackets().sendUnlockIComponentOptionSlots(1263, i, 0, 1, 0);
    		}	else {
    				for (int i2 = 13; i2 < 38; i2++)
    				    player.getPackets().sendUnlockIComponentOptionSlots(1263, i2, -1, 0, 0);
    					player.getInterfaceManager().sendInterface(1263);
    }
    greetings
    Reply With Quote  
     

  2. #2  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    4,132
    Thanks given
    1,077
    Thanks received
    1,137
    Rep Power
    5000
    what exactly is the problem? lol
    Reply With Quote  
     

  3. #3  
    You Own Me


    Join Date
    Jul 2015
    Posts
    193
    Thanks given
    68
    Thanks received
    35
    Rep Power
    206
    the lamps dont give the xp
    Reply With Quote  
     

  4. #4  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    4,132
    Thanks given
    1,077
    Thanks received
    1,137
    Rep Power
    5000
    That would be because you're not giving the player any experience points.
    Reply With Quote  
     

  5. #5  
    You Own Me


    Join Date
    Jul 2015
    Posts
    193
    Thanks given
    68
    Thanks received
    35
    Rep Power
    206
    well how can i fix it then cause ive no clue how to work this...
    Reply With Quote  
     

  6. #6  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    4,132
    Thanks given
    1,077
    Thanks received
    1,137
    Rep Power
    5000
    Same. I'm not familiar with ur codebase lol. Are there any classes named Skills or Skillset (anything along those lines)?
    Reply With Quote  
     

  7. #7  
    You Own Me


    Join Date
    Jul 2015
    Posts
    193
    Thanks given
    68
    Thanks received
    35
    Rep Power
    206
    asfar as i see, there is noting thats called somting like it only a class file skills.java but it have noting to do in there
    Reply With Quote  
     

  8. #8  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    4,132
    Thanks given
    1,077
    Thanks received
    1,137
    Rep Power
    5000
    Quote Originally Posted by max1995 View Post
    asfar as i see, there is noting thats called somting like it only a class file skills.java but it have noting to do in there
    Can you show me that class then? Pastebin it or something.
    Reply With Quote  
     

  9. #9  
    You Own Me


    Join Date
    Jul 2015
    Posts
    193
    Thanks given
    68
    Thanks received
    35
    Rep Power
    206
    Reply With Quote  
     

  10. #10  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    4,132
    Thanks given
    1,077
    Thanks received
    1,137
    Rep Power
    5000
    You need to know which skill is selected (which would be dependant on the button pressed)

    Code:
    player.getSkills().addXp(some_skill_id, some_xp_amount);
    Reply With Quote  
     

  11. Thankful user:


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. [718] XP-Lamp interface confirm button
    By Mariooo in forum Help
    Replies: 18
    Last Post: 02-04-2014, 08:13 AM
  2. Replies: 5
    Last Post: 12-06-2013, 06:50 AM
  3. 718 New Xp Lamp Interface?
    By Chaz in forum Requests
    Replies: 4
    Last Post: 08-10-2012, 08:41 PM
  4. Custom Xp lamp interface
    By D-I-V-I-N-E in forum Show-off
    Replies: 25
    Last Post: 08-04-2010, 01:12 AM
  5. XP Lamp interface
    By matthewcarter in forum Requests
    Replies: 2
    Last Post: 11-01-2008, 12:15 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
  •