[Release] !hitall <damage>

Results 1 to 12 of 12
  1. #1
    Infraction Banned nejevoli is offline
    True MemberRank
    May 2008 Join Date
    ♥ In Your HeartLocation
    574Posts

    [Release] !hitall <damage>


    RaGEZONE Recommends

    RaGEZONE Recommends

    another release again, add this in your commandprocessor.

    how does this work? try doing this in game

    !hitall 123131 , it will damage all mobs with the damage you entered in bold

    } else if (splitted[0].equals("!hitall")) {
    MapleMap map = player.getMap();
    int damage = Integer.parseInt(splitted[1]);
    for (MapleMonster monster : map.spawnedMonstersOnMap()) {
    map.broadcastMessage(MaplePacketCreator.damageMonster(monster.getObjectId(), damage));
    map.damageMonster(player, monster, damage);
    }


  2. #2
    Account Inactive keane6 is offline
    InactiveRank
    Aug 2008 Join Date
    Great BiteLocation
    736Posts

    Re: [Release] !hitall <damage>

    Very cool kyle =D
    nice job ^^

  3. #3
    Account Inactive chuayaowei is offline
    InactiveRank
    Jul 2008 Join Date
    SingaporeLocation
    1,410Posts

    Re: [Release] !hitall <damage>

    Nice work dude :)

  4. #4
    Mother effin' clouds SaintsIan is offline
    GammaRank
    Apr 2008 Join Date
    fyrechat.netLocation
    2,840Posts

    Re: [Release] !hitall <damage>

    now this is a definite must add feature :O

  5. #5
    Account Upgraded | Title Enabled! Mgssidley is offline
    True MemberRank
    Apr 2008 Join Date
    443Posts

    Re: [Release] !hitall <damage>

    Wow epic release, cool to show off too.

  6. #6
    Account Inactive Shagakrath is offline
    InactiveRank
    May 2008 Join Date
    Maplestory WorldLocation
    1,061Posts

    Re: [Release] !hitall <damage>

    nejevoli what happen if a person level 1 do !hitall 10000? It function or not?

  7. #7
    IHF iPlayHard is offline
    True MemberRank
    Apr 2008 Join Date
    SingaporeLocation
    602Posts

    Re: [Release] !hitall <damage>

    Just wondering, let's say if you type !hitall 1333337, will the monster die or just display the damage only?


  8. #8
    Account Inactive Shagakrath is offline
    InactiveRank
    May 2008 Join Date
    Maplestory WorldLocation
    1,061Posts

    Re: [Release] !hitall <damage>

    It will hit all the monsters in the MAP 13333337 well I think.

  9. #9
    Account Inactive Miwi is offline
    InactiveRank
    Oct 2008 Join Date
    BannedLocation
    281Posts

    Re: [Release] !hitall <damage>

    cool.... ownange!

  10. #10
    Account Inactive CptObvious is offline
    InactiveRank
    Aug 2008 Join Date
    366Posts

    Re: [Release] !hitall <damage>

    Great release Kyle! Adding this on my source :X

  11. #11
    Account Inactive xblackcat is offline
    InactiveRank
    Aug 2008 Join Date
    nowhereLocation
    1,759Posts

    Re: [Release] !hitall <damage>

    useless, but it decent i guess

  12. #12
    Account Upgraded | Title Enabled! Mgssidley is offline
    True MemberRank
    Apr 2008 Join Date
    443Posts

    Re: [Release] !hitall <damage>

    Code:
                } else if (splitted[0].equals("!hitall")) {
                MapleMap map = player.getMap();
                int damage = Integer.parseInt(splitted[1]);
                for (MapleMonster monster : map.spawnedMonstersOnMap()) {
                map.broadcastMessage(MaplePacketCreator.damageMonster(monster.getObjectId(), damage));
                map.damageMonster(player, monster, damage);
                }
    I fixed it up a little but get these errors:
    Code:
    init:
    deps-jar:
    Compiling 308 source files to C:\Documents and Settings\Mgssidley\Desktop\MoograMS rev1.9.3\MoograMS Source\build\classes
    C:\Documents and Settings\Mgssidley\Desktop\MoograMS rev1.9.3\MoograMS Source\src\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:14: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release
    import com.sun.imageio.plugins.png.PNGImageReaderSpi;
    C:\Documents and Settings\Mgssidley\Desktop\MoograMS rev1.9.3\MoograMS Source\src\src\net\sf\odinms\client\messages\CommandProcessor.java:2108: cannot find symbol
    symbol  : method spawnedMonstersOnMap()
    location: class net.sf.odinms.server.maps.MapleMap
                for (MapleMonster monster : map.spawnedMonstersOnMap()) {
    C:\Documents and Settings\Mgssidley\Desktop\MoograMS rev1.9.3\MoograMS Source\src\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:47: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release
                            ImageReaderSpi readerSpi = iioRegistry.getServiceProviderByClass(PNGImageReaderSpi.class);
                                                                                             ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    2 warnings
    BUILD FAILED (total time: 15 seconds)




Advertisement