Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] !SendHint (update _ color)

Status
Not open for further replies.
Newbie Spellweaver
Joined
Oct 3, 2008
Messages
42
Reaction score
0
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();
}




노리님 - [Release] !SendHint (update _ color) - RaGEZONE Forums

!sendhint blue
red
green
purple



i used
v.60
v.61


sendhint




this CelestialMs Source

노리님 - [Release] !SendHint (update _ color) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Apr 24, 2008
Messages
89
Reaction score
0
Re: [Release] !SendHint setup

Been done, other people see what you sent but it'll be above their heads not yours.
Great release anyway
 
Divine Celestial
Loyal Member
Joined
Jul 19, 2008
Messages
830
Reaction score
2
Re: [Release] !SendHint

Great release, Korean boy
 
Junior Spellweaver
Joined
Jul 20, 2007
Messages
117
Reaction score
1
Re: [Release] !SendHint

Nice i like it
 
Experienced Elementalist
Joined
May 29, 2008
Messages
241
Reaction score
0
Re: [Release] !SendHint

nice release. looks good. btw, all players will see this above their heads if we use it?
 
Junior Spellweaver
Joined
Oct 15, 2008
Messages
188
Reaction score
0
Re: [Release] !SendHint setup

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.
 
Supreme Arcanarch
Loyal Member
Joined
Jul 21, 2008
Messages
969
Reaction score
1
Re: [Release] !SendHint

adding it now :)
 
Junior Spellweaver
Joined
Apr 5, 2008
Messages
126
Reaction score
26
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. :)
 
Junior Spellweaver
Joined
Oct 15, 2008
Messages
188
Reaction score
0
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.
 
Newbie Spellweaver
Joined
Apr 24, 2008
Messages
89
Reaction score
0
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
 
Master Summoner
Loyal Member
Joined
Jul 27, 2008
Messages
583
Reaction score
0
Re: [Release] !SendHint

If it's hide and seek, then, the point is that ppl see it under they heads.
 
Newbie Spellweaver
Joined
Apr 24, 2008
Messages
89
Reaction score
0
Re: [Release] !SendHint

LOL Why didn't I think of that :D
*adds it for whole channel*
 
Mythic Archon
Loyal Member
Joined
Nov 9, 2008
Messages
757
Reaction score
20
Re: [Release] !SendHint

Nice Release :]
 
Master Summoner
Loyal Member
Joined
Sep 25, 2008
Messages
501
Reaction score
0
Re: [Release] !SendHint

what does this do i dont get it
 
Status
Not open for further replies.
Back
Top