Thread: Double experiance ring - 718

Results 1 to 10 of 10
  1. #1 Double experiance ring - 718 
    Registered Member
    Join Date
    Dec 2012
    Posts
    16
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    Hello,

    I am making a project and I would like to know
    is it possible to make a ring that gives double xp
    or a set amount so double xp for 13m xp?

    Thanks!

    - Xe q
    Reply With Quote  
     

  2. #2  
    The stupid noob


    Join Date
    May 2011
    Age
    26
    Posts
    2,227
    Thanks given
    2,446
    Thanks received
    1,100
    Rep Power
    852
    Add a check into the addxp method if the player is wearing the ring, double the experience I guess.
    Working on a 592 project c:
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2011
    Posts
    396
    Thanks given
    29
    Thanks received
    57
    Rep Power
    9
    Code:
    		if (player.getEquipment().getRingId() == 1)
    			exp *= 1;
    put that into addXp in skills.java change the numbers to ur liking.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2012
    Posts
    16
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by CheaterXman View Post
    Code:
    		if (player.getEquipment().getRingId() == 1)
    			exp *= 1;
    put that into addXp in skills.java change the numbers to ur liking.
    I get a error saying
    Code:
    exp *=1;
    I don't get it? I've tried to fix it and is their any other way of doing it if this way doesn't work? 718 matrix base.

    BUMP

    - Xe q
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Nov 2010
    Posts
    1,527
    Thanks given
    1,019
    Thanks received
    349
    Rep Power
    240
    Try putting a space after =, might not get the error...

    Code:
    exp *=1;
    to
    Code:
    exp *= 1;
    ..also, for double xp I think it should be number 2
    None.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Dec 2012
    Posts
    16
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Mojo! View Post
    Try putting a space after =, might not get the error...

    Code:
    exp *=1;
    to
    Code:
    exp *= 1;
    ..also, for double xp I think it should be number 2
    I still got a error :/ [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Dec 2011
    Age
    25
    Posts
    1,326
    Thanks given
    146
    Thanks received
    151
    Rep Power
    0
    try changing exp to experience or xp... or just look for something similar to it and change it to that
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Dec 2012
    Posts
    16
    Thanks given
    3
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by iZlkmx View Post
    try changing exp to experience or xp... or just look for something similar to it and change it to that
    Still doesn't work
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Jun 2012
    Posts
    320
    Thanks given
    51
    Thanks received
    19
    Rep Power
    0
    Quote Originally Posted by Xe q View Post
    Still doesn't work
    dude it works fine in skills.java add that code under
    Code:
    if (skill != ATTACK && skill != DEFENCE && skill != STRENGTH
    				&& skill != MAGIC && skill != RANGE && skill != HITPOINTS)
    Maybe you need to add this method in skills.java to.

    Code:
    public void setXp(int skill, double exp) {
    		xp[skill] = exp;
    		refresh(skill);
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Nov 2010
    Posts
    1,527
    Thanks given
    1,019
    Thanks received
    349
    Rep Power
    240
    Maybe you a different variable for xp, I don't use that source so no clue



    Why do you have a custom line in your compiler that states "no errors detected"?? LOL
    None.
    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. Replies: 4
    Last Post: 02-15-2014, 08:38 PM
  2. Replies: 4
    Last Post: 12-03-2012, 12:30 AM
  3. Ring that gives Double XP
    By Moronic in forum Snippets
    Replies: 23
    Last Post: 08-26-2011, 08:06 PM
  4. [PI]Double XP Ring
    By LoveandPower in forum Help
    Replies: 8
    Last Post: 06-06-2011, 07:16 AM
  5. [562]Double Experience Ring
    By xJames in forum Snippets
    Replies: 5
    Last Post: 01-22-2011, 07:58 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
  •