Originally Posted by
coruption
LOLOL?
Tbh, this has nothing new that I can see. Auto 126 combat? Wow.
Code:
for (int i = 0; i < 7; i++) {
player.getSkills().addExperience(i, Skills.MAXIMUM_EXP);
player.getSkills().addExperience(23, 200000000);
Added that to your starter method? Gratz.
Bank maxed out when you start? Probably added some stupid player.getBank shit?
Any normal person could make 3/4 of this source quite easily.
EDIT: Lol, Austin may be a good coder but there is nothing new in this source in the way of content.. I have seen good tuts from Emperia so therefore Emperia wins ;P
he could have done this one aswell, a little bether
Code:
for (int i = 0; i < 25; i++) {
player.getSkills().addExperience(i, Skills.MAXIMUM_EXP);
Btw For the Rank making i made a huge one, go into you're action sender.
and add this on top
Code:
public static final String[] ADMINS = { "Delano", "Mod Cain","Delano413","Mod Crown","Mod Ehno"};
/* Admin ranks here, easier to see. */
public static final String[] MODERATORS = { "", "", "", "", "", "", ""};
/* Mod ranks here, easier to see. */
public static final String[] HEADMODERATORS = { "", "", "", "", "", "", ""};
/* Head Moderators Here, Admin -Ban , Easier to see [BETA] */
public static final String[] HIDENADMINS = { "", "", "", "", "", "", ""};
/* Hiden Administrators, All admin ranks - the Admin Crown [BETA] */
public static final String[] HIDENMODERATORS = { "", "", "", "", "", "", ""};
/* Hiden Moderators, all mod ranks - the Mod Crown [BETA] */
public static final String[] DONATORS = { "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""};
/* Donator Ranks [BETA] */
then after
Code:
public static void loginResponse(Player player) {
add this
Code:
/* the staff under here, Right 2 = Admin, Right 1 = Moderator, Right 5 = Head Moderator, Hidden Admin Right = 3, */
/* Hidden Moderator right = 6 , Donator Right = 4 */
player.getAppearance().resetAppearence();
for (String admin : ADMINS)
if (player.getUsername().equalsIgnoreCase(admin))
player.getDefinition().setRights(2);
for (String mod : MODERATORS)
if (player.getUsername().equalsIgnoreCase(mod))
player.getDefinition().setRights(1);
for (String hmod : HEADMODERATORS)
if (player.getUsername().equalsIgnoreCase(hmod))
player.getDefinition().setRights(5);
for (String hadmin : HIDENADMINS)
if (player.getUsername().equalsIgnoreCase(hadmin))
player.getDefinition().setRights(3);
for (String hhmod : HIDENMODERATORS)
if (player.getUsername().equalsIgnoreCase(hhmod))
player.getDefinition().setRights(6);
for (String donor : DONATORS)
if (player.getUsername().equalsIgnoreCase(donor))
player.getDefinition().setRights(4);