i'm playing mro , using bot version 2.0.7, syn version
when a character name called *:+:Morocc:+:* talked a "a" word
[dist=2] * (2): +:Morocc:+:* : a << then it will display like this
my receive.pm
if ($message =~ /:/) {
($chatMsgUser, $chatMsg) = split /:/, $message, 2;
$chatMsgUser =~ s/ $//;
$chatMsg =~ s/^ //;
stripLanguageCode(\$chatMsg);
$actor = Actor::get($args->{ID});
$dist = "unknown";
if (!$actor->isa('Actor::Unknown')) {
$dist = distance($char->{pos_to}, $actor->{pos_to});
$dist = sprintf("%.1f", $dist) if ($dist =~ /\./);
}
$message = "$chatMsgUser ($actor->{binID}): $chatMsg";
bug bug about bot cant detect special character when talking
Moderators: Moderators, Developers
bug bug about bot cant detect special character when talking
Last edited by toro88 on 20 Mar 2009, 13:45, edited 2 times in total.
-
- Super Moderators
- Posts: 801
- Joined: 06 May 2008, 12:47
- Noob?: No
Re: bug bug
Yes, its a bug.
But afaik decent servers don't allow such naming.
btw, change your topic title.
But afaik decent servers don't allow such naming.
btw, change your topic title.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!