killall gives exp and drops

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Account Upgraded | Title Enabled! PurpleMadness is online now
    MemberRank
    Jun 2007 Join Date
    191Posts

    killall gives exp and drops

    Okay, it's a minor modification. But I thought why not release it, there might be people who need it.
    This is for the rev 988 command system. But you're probably able to port it to older revision's command systems.
    Not making a patch file because it's so small.
    In client.messages.commands.MonsterInfoCommands.java (CommandProcessor.java for older revisions):
    Replace:
    Code:
    map.killMonster(monster, c.getPlayer(), false);
    With:
    Code:
    map.killMonster(monster, c.getPlayer(), true);
    And add right below that:
    Code:
    monster.giveExpToCharacter(c.getPlayer(), monster.getExp(), true, 1);
    EDIT: forgot this:
    In MapleMonster.java
    Code:
    private void giveExpToCharacter(MapleCharacter attacker, int exp, boolean highestDamage, int numExpSharers) {
    Change that to:
    Code:
    public void giveExpToCharacter(MapleCharacter attacker, int exp, boolean highestDamage, int numExpSharers) {
    And done ;p
    Last edited by PurpleMadness; 07-08-08 at 01:19 PM. Reason: forgot something


  2. #2
    Account Upgraded | Title Enabled! Azora is offline
    MemberRank
    Jun 2008 Join Date
    SwedenLocation
    466Posts

    Re: [RELEASE]!killall gives exp and drops

    Cool ^^

  3. #3
    Valued Member DkWar is offline
    MemberRank
    Jun 2008 Join Date
    SiNgApOrE , Beatty Secondary School.. Sec ?E2 Ask MeLocation
    103Posts

    Re: [RELEASE]!killall gives exp and drops

    Nt Bad

  4. #4
    Λκαяυz føяeνeя Roamer is offline
    MemberRank
    Jun 2008 Join Date
    215Location
    3,203Posts

    Re: [RELEASE]!killall gives exp and drops

    Not bad Good Release :P

  5. #5
    Account Upgraded | Title Enabled! PurpleMadness is online now
    MemberRank
    Jun 2007 Join Date
    191Posts

    Re: [RELEASE]!killall gives exp and drops

    forgot this:
    In MapleMonster.java
    Code:
    private void giveExpToCharacter(MapleCharacter attacker, int exp, boolean highestDamage, int numExpSharers) {
    Change that to:
    Code:
    public void giveExpToCharacter(MapleCharacter attacker, int exp, boolean highestDamage, int numExpSharers) {

  6. #6
    Valued Member felixxex is offline
    MemberRank
    May 2008 Join Date
    110Posts

    Re: [RELEASE]!killall gives exp and drops

    i use sean repack and i dont find that file is sean repack base on rev 988????

  7. #7
    Account Upgraded | Title Enabled! DudeMan2121 is offline
    MemberRank
    Jun 2008 Join Date
    SwedenLocation
    367Posts

    Re: [RELEASE]!killall gives exp and drops

    This seems to be nice xD
    Thanks!

    Edit: MonsterInfoCommand.java doesn't exist.

  8. #8
    Account Upgraded | Title Enabled! PinCrackerGod is offline
    MemberRank
    Apr 2008 Join Date
    458Posts

    Re: [RELEASE]!killall gives exp and drops

    Quote Originally Posted by DudeMan2121 View Post
    This seems to be nice xD
    Thanks!

    Edit: MonsterInfoCommand.java doesn't exist.
    Check your commandproccesor..

  9. #9
    Omega ihatehaxor is offline
    MemberRank
    Apr 2008 Join Date
    JerseyLocation
    5,461Posts

    Re: [RELEASE]!killall gives exp and drops

    nice thanks for the release

  10. #10
    Enthusiast rungey1 is offline
    MemberRank
    Jul 2008 Join Date
    25Posts

    Re: [RELEASE]!killall gives exp and drops

    Quote Originally Posted by DudeMan2121 View Post
    This seems to be nice xD
    Thanks!

    Edit: MonsterInfoCommand.java doesn't exist.
    if you using SeanPack its available in commandProcessor.java
    just search for !killall

  11. #11
    Account Upgraded | Title Enabled! PurpleMadness is online now
    MemberRank
    Jun 2007 Join Date
    191Posts

    Re: [RELEASE]!killall gives exp and drops

    Okay, thanks for telling the filename.
    Added (CommandProcessor.java for older revisions) in first post.

  12. #12
    Account Upgraded | Title Enabled! DudeMan2121 is offline
    MemberRank
    Jun 2008 Join Date
    SwedenLocation
    367Posts

    Re: [RELEASE]!killall gives exp and drops

    There's 2 of map.killMonster(monster, c.getPlayer(), false);
    Shall I replace both?

  13. #13
    Account Upgraded | Title Enabled! PurpleMadness is online now
    MemberRank
    Jun 2007 Join Date
    191Posts

    Re: [RELEASE]!killall gives exp and drops

    Quote Originally Posted by DudeMan2121 View Post
    There's 2 of map.killMonster(monster, c.getPlayer(), false);
    Shall I replace both?
    That's odd. Yeah, I guess, replace both.

  14. #14
    Apprentice StraightX is offline
    MemberRank
    Jun 2008 Join Date
    Player.hLocation
    24Posts

    Re: [RELEASE]!killall gives exp and drops

    Just tested it. Works great, good release. =D

  15. #15
    Account Upgraded | Title Enabled! Onesky is offline
    MemberRank
    Aug 2008 Join Date
    In Your BedLocation
    228Posts

    Re: [RELEASE]!killall gives exp and drops

    Nice =)



Page 1 of 2 12 LastLast

Advertisement