[Release] !SendHint (update _ color)

Page 1 of 3 123 LastLast
Results 1 to 15 of 31
  1. #1
    Account Inactive 노리님 is offline
    InactiveRank
    Oct 2008 Join Date
    It's My 心 RobberyLocation
    75Posts

    [Release] !SendHint (update _ color)


    RaGEZONE Recommends

    RaGEZONE Recommends

    Anyone Commands,

    ex) CharCommands.java

    add

    code:
    else if (splitted[0].equals("!sendhint")) {
    String hint = StringUtil.joinStringFrom(splitted, 1);
    player.getMap().broadcastMessage(player, MaplePacketCreator.sendHint(hint), false);
    c.getSession().write(MaplePacketCreator.sendHint(hint));
    }


    and



    new CommandDefinition("sendhint", "", "", 100),


    goto

    MaplePacketCreator.java

    Find :
    public static MaplePacket sendHint(String hint) {


    to Fix

    public static MaplePacket sendHint(String hint) {
    MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter(16);
    mplew.writeShort(SendPacketOpcode.PLAYER_HINT.getValue());
    mplew.writeMapleAsciiString(hint);
    mplew.write(HexTool.getByteArrayFromHexString("FA 00 05 00 01"));

    return mplew.getPacket();
    }





    !sendhint blue
    red
    green
    purple



    i used
    v.60
    v.61


    sendhint




    this CelestialMs Source

    Attached Thumbnails Attached Thumbnails Maple0002.jpg   sendhint_color.png  
    Last edited by 노리님; 12-12-08 at 02:44 PM.


  2. #2
    Account Inactive happydud3 is offline
    InactiveRank
    Apr 2008 Join Date
    351Posts

    Re: [Release] !SendHint setup

    Been done, other people see what you sent but it'll be above their heads not yours.
    Great release anyway

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

    Re: [Release] !SendHint

    Great release, Korean boy

  4. #4
    Account Upgraded | Title Enabled! xXTeyXx is offline
    True MemberRank
    Jul 2007 Join Date
    281Posts

    Re: [Release] !SendHint

    Nice i like it

  5. #5
    Account Inactive thegamer1907 is offline
    InactiveRank
    May 2008 Join Date
    SingaporeLocation
    464Posts

    Re: [Release] !SendHint

    nice release. looks good. btw, all players will see this above their heads if we use it?

  6. #6
    Account Inactive acEvolution is offline
    InactiveRank
    Oct 2008 Join Date
    329Posts

    Re: [Release] !SendHint setup

    Quote Originally Posted by happydud3 View Post
    Been done, other people see what you sent but it'll be above their heads not yours.
    Great release anyway
    O.o it writes the character id of yourself how can it show above their heads.

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

    Re: [Release] !SendHint

    adding it now :)

  8. #8
    GoldMember XkelvinchiaX is offline
    True MemberRank
    Sep 2006 Join Date
    EarthLocation
    285Posts

    Re: [Release] !SendHint

    acEvolution summit there function into Valhalla Source?

  9. #9
    Ultimate Member Xterminatorz is offline
    MemberRank
    Apr 2008 Join Date
    CaliforniaLocation
    167Posts

    Re: [Release] !SendHint

    We already have this function in Valhalla already but our packet is just more complete. If you add this command in the source, it's gonna error you unless you know how to do simple fixes.

    But anyways, I made a similar command a long time ago but I can choose to broadcast to only the map, the whole channel, or the whole world. :)

  10. #10
    Account Inactive acEvolution is offline
    InactiveRank
    Oct 2008 Join Date
    329Posts

    Re: [Release] !SendHint

    and, by writing this packet : mplew.write(HexTool.getByteArrayFromHexString("FA 00 05 00 01"));
    you would be using a default height and width for it.

  11. #11
    Account Inactive Shadow465 is offline
    InactiveRank
    Jul 2008 Join Date
    456Posts

    Re: [Release] !SendHint

    Nice release.(:

  12. #12
    Infraction Banned XxOsirisxX is offline
    Alpha MaleRank
    Jul 2008 Join Date
    2,456Posts

    Re: [Release] !SendHint

    Pretty nice O_O

  13. #13
    Account Inactive happydud3 is offline
    InactiveRank
    Apr 2008 Join Date
    351Posts

    Re: [Release] !SendHint setup

    Quote Originally Posted by acEvolution View Post
    O.o it writes the character id of yourself how can it show above their heads.
    LOL I didn't understand that >< Explain D; ?

  14. #14
    Account Inactive Supiangel is offline
    InactiveRank
    Feb 2008 Join Date
    439Posts

    Re: [Release] !SendHint setup

    Quote Originally Posted by happydud3 View Post
    LOL I didn't understand that >< Explain D; ?
    Basically the hint is just for you i think :P.

  15. #15
    Account Inactive happydud3 is offline
    InactiveRank
    Apr 2008 Join Date
    351Posts

    Re: [Release] !SendHint

    player.getMap().broadcastMessage(player, MaplePacketCreator.sendHint(hint), false);

    People will see it as if it were on their head =/. That's what I'm trying to say lol




Page 1 of 3 123 LastLast

Advertisement