Thread: Exp rate

Results 1 to 8 of 8
  1. #1 Exp rate 
    Project-Tenex Developer Uzumaki's Avatar
    Join Date
    Oct 2011
    Posts
    130
    Thanks given
    27
    Thanks received
    6
    Rep Power
    17
    How can I make it so that no one follows the same exp rate? What would I do to this:
    Code:
    Config.MELEE_EXP_RATE = 5000;
    To make it only apply to a single player
    For example I want 1 player to get 5000 xp per hit and another to get 500 xp per hit
    How would I do that?
    Quote Originally Posted by Grim Reaper View Post


    I need help with this..... Does anyone know how to fix this.
    You serious..?
    __________________________________________________ __________________________________________________ _________________________________________
    Quote Originally Posted by SeanQB View Post
    Thanks! And the error in your sig shouldn't matter when compiling. I get the same thing all the time and my files still work.
    Quote Originally Posted by SeanQB View Post
    What's so funny?
    Reply With Quote  
     

  2. #2  
    Registered Member Cruel Hand's Avatar
    Join Date
    May 2012
    Posts
    90
    Thanks given
    5
    Thanks received
    16
    Rep Power
    54
    you would have to change player rights or give them each a different attribute like
    "Character-exprate" or something of the like
    Reply With Quote  
     

  3. #3  
    Project-Tenex Developer Uzumaki's Avatar
    Join Date
    Oct 2011
    Posts
    130
    Thanks given
    27
    Thanks received
    6
    Rep Power
    17
    I was thinking that but I dont exactly know how to do it. Do you mind helping me?
    Quote Originally Posted by Grim Reaper View Post


    I need help with this..... Does anyone know how to fix this.
    You serious..?
    __________________________________________________ __________________________________________________ _________________________________________
    Quote Originally Posted by SeanQB View Post
    Thanks! And the error in your sig shouldn't matter when compiling. I get the same thing all the time and my files still work.
    Quote Originally Posted by SeanQB View Post
    What's so funny?
    Reply With Quote  
     

  4. #4  
    Registered Member Cruel Hand's Avatar
    Join Date
    May 2012
    Posts
    90
    Thanks given
    5
    Thanks received
    16
    Rep Power
    54
    Sure. How do you want to do it?
    Reply With Quote  
     

  5. #5  
    Project-Tenex Developer Uzumaki's Avatar
    Join Date
    Oct 2011
    Posts
    130
    Thanks given
    27
    Thanks received
    6
    Rep Power
    17
    Got a msn or skype?
    Quote Originally Posted by Grim Reaper View Post


    I need help with this..... Does anyone know how to fix this.
    You serious..?
    __________________________________________________ __________________________________________________ _________________________________________
    Quote Originally Posted by SeanQB View Post
    Thanks! And the error in your sig shouldn't matter when compiling. I get the same thing all the time and my files still work.
    Quote Originally Posted by SeanQB View Post
    What's so funny?
    Reply With Quote  
     

  6. #6  
    Project-Tenex Developer Uzumaki's Avatar
    Join Date
    Oct 2011
    Posts
    130
    Thanks given
    27
    Thanks received
    6
    Rep Power
    17
    Still need help with this.
    Here's a code we made:
    Code:
    		public static int MELEE_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 : hardMode ? 50 : extremeMode ? 10 : 1000;
            public static int RANGE_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 : hardMode ? 50 : extremeMode ? 10 : 1000;
            public static int MAGIC_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 : hardMode ? 50 : extremeMode ? 10 : 1000;
    Heres the errors I got:
    Code:
    src\server\Config.java:63: cannot find symbol
    symbol  : variable easyMode
    location: class server.Config
                    public static int MELEE_EXP_RATE = easyMode ? 5000 : mediumMode
    ? 500 : hardMode ? 50 : extremeMode ? 10 : 1000;
                                                       ^
    src\server\Config.java:63: cannot find symbol
    symbol  : variable mediumMode
    location: class server.Config
                    public static int MELEE_EXP_RATE = easyMode ? 5000 : mediumMode
    ? 500 : hardMode ? 50 : extremeMode ? 10 : 1000;
                                                                         ^
    src\server\Config.java:63: cannot find symbol
    symbol  : variable hardMode
    location: class server.Config
                    public static int MELEE_EXP_RATE = easyMode ? 5000 : mediumMode
    ? 500 : hardMode ? 50 : extremeMode ? 10 : 1000;
    
            ^
    src\server\Config.java:63: cannot find symbol
    symbol  : variable extremeMode
    location: class server.Config
                    public static int MELEE_EXP_RATE = easyMode ? 5000 : mediumMode
    ? 500 : hardMode ? 50 : extremeMode ? 10 : 1000;
    
                            ^
    src\server\Config.java:64: cannot find symbol
    symbol  : variable easyMode
    location: class server.Config
            public static int RANGE_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 :
    hardMode ? 50 : extremeMode ? 10 : 1000;
                                               ^
    src\server\Config.java:64: cannot find symbol
    symbol  : variable mediumMode
    location: class server.Config
            public static int RANGE_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 :
    hardMode ? 50 : extremeMode ? 10 : 1000;
                                                                 ^
    src\server\Config.java:64: cannot find symbol
    symbol  : variable hardMode
    location: class server.Config
            public static int RANGE_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 :
    hardMode ? 50 : extremeMode ? 10 : 1000;
    
    ^
    src\server\Config.java:64: cannot find symbol
    symbol  : variable extremeMode
    location: class server.Config
            public static int RANGE_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 :
    hardMode ? 50 : extremeMode ? 10 : 1000;
    
                    ^
    src\server\Config.java:65: cannot find symbol
    symbol  : variable easyMode
    location: class server.Config
            public static int MAGIC_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 :
    hardMode ? 50 : extremeMode ? 10 : 1000;
                                               ^
    src\server\Config.java:65: cannot find symbol
    symbol  : variable mediumMode
    location: class server.Config
            public static int MAGIC_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 :
    hardMode ? 50 : extremeMode ? 10 : 1000;
                                                                 ^
    src\server\Config.java:65: cannot find symbol
    symbol  : variable hardMode
    location: class server.Config
            public static int MAGIC_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 :
    hardMode ? 50 : extremeMode ? 10 : 1000;
    
    ^
    src\server\Config.java:65: cannot find symbol
    symbol  : variable extremeMode
    location: class server.Config
            public static int MAGIC_EXP_RATE = easyMode ? 5000 : mediumMode ? 500 :
    hardMode ? 50 : extremeMode ? 10 : 1000;
    
                    ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    12 errors
    Press any key to continue . . .
    Quote Originally Posted by Grim Reaper View Post


    I need help with this..... Does anyone know how to fix this.
    You serious..?
    __________________________________________________ __________________________________________________ _________________________________________
    Quote Originally Posted by SeanQB View Post
    Thanks! And the error in your sig shouldn't matter when compiling. I get the same thing all the time and my files still work.
    Quote Originally Posted by SeanQB View Post
    What's so funny?
    Reply With Quote  
     

  7. #7  
    Registered Member Cruel Hand's Avatar
    Join Date
    May 2012
    Posts
    90
    Thanks given
    5
    Thanks received
    16
    Rep Power
    54
    You have to make the variables p.easyMode, p.mediumMode, etc
    Reply With Quote  
     

  8. #8  
    Project-Tenex Developer Uzumaki's Avatar
    Join Date
    Oct 2011
    Posts
    130
    Thanks given
    27
    Thanks received
    6
    Rep Power
    17
    Quote Originally Posted by Cruel Hand View Post
    You have to make the variables p.easyMode, p.mediumMode, etc
    Please get on skype. I'm still getting errors
    Quote Originally Posted by Grim Reaper View Post


    I need help with this..... Does anyone know how to fix this.
    You serious..?
    __________________________________________________ __________________________________________________ _________________________________________
    Quote Originally Posted by SeanQB View Post
    Thanks! And the error in your sig shouldn't matter when compiling. I get the same thing all the time and my files still work.
    Quote Originally Posted by SeanQB View Post
    What's so funny?
    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. Exp Rate Help
    By Chatter in forum Help
    Replies: 4
    Last Post: 12-24-2011, 02:20 PM
  2. Exp Rate
    By Infexis in forum Voting
    Replies: 8
    Last Post: 06-01-2011, 07:32 PM
  3. [PI]Exp Rate Help
    By Dharmesh in forum Help
    Replies: 2
    Last Post: 09-25-2010, 02:16 PM
  4. EXP Rate
    By Kingdad38 in forum Help
    Replies: 5
    Last Post: 05-02-2009, 09:40 AM
  5. help with exp rate
    By jjman11 in forum Help
    Replies: 0
    Last Post: 08-14-2008, 12:47 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
  •