WorldScape Blitz

Support => Tech Support => Topic started by: Real Ghost on August 01, 2008, 01:01:48 PM

Title: [off topic] Hey There Guys I Need Help If You Are Good Coding Servers.
Post by: Real Ghost on August 01, 2008, 01:01:48 PM
dont lock this please i couldnt find the board "the nerd's corner" but please read this below:

If Anyone Knows how to change max levels on servers like my own please let me know it would really help me, tell me what i need to do in Client.Java so i can change max combat levels in my server please.
i made my server a couple of weeks ago, its silab but i want to change max combat because max is 126, i want it to be 251, if anyone knows what i need to do in Client.Java please post it here, thanks for listening.
     sincerely,
                  Latin King.
Title: Re: [off topic] Hey There Guys I Need Help If You Are Good Coding Servers.
Post by: Cavallers on August 05, 2008, 06:41:50 PM
Open up client.java

search for something like

Quotepublic int getLevelForXP(int exp) {
          int points = 0;
          int output = 0;

          for (int lvl = 1; lvl <= ServerCP.Highestlevel; lvl++) {
         points += Math.floor((double)lvl + 300.0 * Math.pow(2.0, (double)lvl / 7.0));
         output = (int)Math.floor(points / 4);
         if (output >= exp) {
             return lvl;
         }
          }
          return ServerCP.Highestlevel;

   }

but when searching change the things that are on red to your max level

you will have your highest lvl like on rs it is 99...i have the  (ServerCP.Highestlevel)because i have a server manager that i made so.... hope this helps.
Title: Re: [off topic] Hey There Guys I Need Help If You Are Good Coding Servers.
Post by: Real Ghost on August 07, 2008, 01:59:21 PM
tyvm and oh...if you can help me once more lol. how do i change the xp rate everytime my character his.
example: if my character hits a 1 on any npc, it gives 20k xp?
how do i change the xp per hit, please post and ty. for ur help
Title: Re: [off topic] Hey There Guys I Need Help If You Are Good Coding Servers.
Post by: Cavallers on August 11, 2008, 12:44:14 AM
 Well uhmm i don't really have an answer for that :s.
sorry never tried to do that before.