Jump to content

imabigkidnow

Member
  • Content count

    17
  • Joined

  • Last visited

About imabigkidnow

  • Rank
    Bronze Member
  1. [quote name='Time']When you click one of the options, can you show me the action it performs in clicking buttons?[/QUOTE] [CODE]if (c.normal == 1 || c.medium == 1 || c.hard == 1 || c.insane == 1) { c.nextChat = -1; } else { c.nextChat = 4763; c.easy == 1; c.getDH().sendDialogues(4763, -1); } if(c.openChatInterfaceId == -1) { c.sendMessage("Invalid interface."); return; } else if (c.dialogueAction == 28) { for (int i = 0; i < Config.MAX_PLAYERS; i++) { if (Server.playerHandler.players[i] != null) { Client c2 = (Client)Server.playerHandler.players[i]; c2.sendMessage("@[email protected][Server]: [MENTION=231]red[/MENTION]@"+ Misc.optimizeText(c.playerName) +" has chosen Easy-Mode for a difficulty."); } }[/CODE] Thats just 1/4 of thee code i put in clickingbuttons because theres 4 cases i covered
  2. [quote name='Time']Don't have teamviewer, but I can point you in the right direction. Make sure in your Config.class that the exp variables are set up correctly. Also for the player files thing, I meant make sure that the experience choice is actually saving to the player's account.[/QUOTE] Thats my Config Class public static final int RANGE_EXP_RATE = 1; public static final int MELEE_EXP_RATE = 1; public static final int MAGIC_EXP_RATE = 1; public static final int SERVER_EXP_BONUS= 1; Not sure of any other way of changing it. otherwise the plaersave has all the things it needs or should have.
  3. [quote name='Time']Is everything that gives experience only giving 1 exp? Also check your player files and make sure the option is saving.[/QUOTE] No all skilling skills get normal xp likle they should but the combat xp's are all switched to 1 once they relog. My player files all save. Could you help me over teamviewer?
  4. [quote name='Time']First thing, are there any errors? Next, using the [code] tags, post the exp choosing method.[/QUOTE] No there are no errors whatsoever. The Code Goes a little something like this. Not to sure of forsure what your asking but ill put a couple of the things done. DialogueHandler.java [CODE] case 21: sendStatement("Please select a difficulty mode."); c.nextChat = 22; break; case 22: sendOption5("Easy", "Normal", "Medium", "Hard", "Insane"); c.dialogueAction = 28; c.dialogueId = 22; c.teleAction = 0; break; case 23: sendStatement("You have selected [MENTION=231]red[/MENTION]@[email protected]@."); c.endDifficulty = false; c.startDifficulty = true; c.nextChat = 28; break; case 24: sendStatement("You have selected [MENTION=231]red[/MENTION]@[email protected]@."); c.endDifficulty = false; c.startDifficulty = true; c.nextChat = 28; break; case 25: sendStatement("You have selected [MENTION=231]red[/MENTION]@[email protected]@."); c.endDifficulty = false; c.startDifficulty = true; c.nextChat = 28; break; case 26: sendStatement("You have selected [MENTION=231]red[/MENTION]@[email protected]@."); c.endDifficulty = false; c.startDifficulty = true; c.nextChat = 28; break; case 27: sendStatement("You have selected [MENTION=231]red[/MENTION]@[email protected]@."); c.endDifficulty = false; c.startDifficulty = true; c.nextChat = 28; break; case 28: sendStatement("You may now customize your character."); c.nextChat = 29; break; case 29: c.nextChat = 0; c.middleDifficulty = false; c.endDifficulty = true; c.getPA().showInterface(3559); c.canChangeAppearance = true; break; case 30: sendStatement("You must first select a difficulty mode before walking."); c.nextChat = 22; break; case 31: sendStatement("You haven't customized your character yet, please do so before walking."); c.nextChat = 29; break; case 32: sendStatement("Click accept to confirm your character style before walking."); c.nextChat = 29; break; case 33: sendStatement("You must first select a difficulty mode before teleporting."); c.nextChat = 22; break; case 34: sendStatement("Click accept to confirm your character style before teleporting."); c.nextChat = 29; break; case 35: sendStatement("Customize your character before teleporting."); c.nextChat = 29; break; [/CODE] Now in Client.JAva where when you login its Initialized its this [CODE] if (!startDifficulty) { getDH().sendDialogues(20, -1); } [/CODE] Then Finally If your wanting the PlayerAssistant.java thats holds the adjustments its this [CODE] public boolean addSkillXP(int amount, int skill){ if (amount+c.playerXP[skill] < 0 || c.playerXP[skill] > 200000000) { if(c.playerXP[skill] > 200000000) { c.playerXP[skill] = 200000000; } return false; } amount *= Config.SERVER_EXP_BONUS * Config.DOUBLE_EXP_BONUS; if (c.easy == 1) { amount *= 24; } else if (c.normal == 1) { amount *= 18; } else if (c.medium == 1) { amount *= 10; } else if (c.hard == 1) { amount *= 4; } else if (c.insane == 1) { amount *= 1; } int oldLevel = getLevelForXP(c.playerXP[skill]); c.playerXP[skill] += amount; if (oldLevel < getLevelForXP(c.playerXP[skill])) { if (c.playerLevel[skill] < c.getLevelForXP(c.playerXP[skill]) && skill != 3 && skill != 5) c.playerLevel[skill] = c.getLevelForXP(c.playerXP[skill]); levelUp(skill); c.gfx100(199); requestUpdates(); } setSkillLevel(skill, c.playerLevel[skill], c.playerXP[skill]); refreshSkill(skill); return true; } [/CODE]
  5. Hey guys i am having an issue with XP Rates. So say i chose Easy i get 2k xp per hit. I log out and log back in, and now i only get 1xp. Can someone help me fix this please!! Tried Everything!
  6. So i added the code you put, and all the imports, and changed up the stuf from yours to mine. but it still does not show?? any reason why it still shows this? [IMG]http://i.imgur.com/5ULiIqH.png[/IMG]
  7. Running a 667 server beastpk source, it will not let me drop items, anyway i can fix this? thanks would appreciate some help:)
  8. Beastpk's its a 667 remake of tizenX
  9. [quote name='Fuzen Seth']Do you mean the task tab?[/QUOTE] Yes i want to redesign it, but idk how to get rid of all the tasks it has, so i can put like simple text's and links in it? can you help?
  10. imabigkidnow

    Task System!

    667 Server, i was wondering on how i can remove the task system? and Add Buttons, or just text there instead? Thanks could use the help!
  11. 667 Server, need help on removing a door! Please anyone:/ skype is xxprodegyxx
  12. Cache isnt loading... not to hard to figure out. Missing a file? Not in there? named right? data/cache/ anything?
  13. I need help on making everywhere PvP No safe zones, except specific spots. Is there anyway someone can help me? Ive tried two different tutorials none work... Please someone:/ Thanks!
  14. Whenever i try to change simple things like the Quest Tabs, Control List, to different commands and such it works for a minute until i click on it, and then changes back to Poanizer's Project and all of his commands? How do i fix that... Help please!
×