EternalHarvest wrote:rocknroll wrote:so when openkore read (eg. • Dragon •) in config, it will be manipulate before sending a packet to server (which a string of guild name has change).
Why do you need to send it to server? Which guild name "can't be detected"? Your own, other players? How it "can't be detected"? There's empty name, or malformed name, or what?
my own and others too, because my server is enabling of use ascii on guild or party name. so openkore can't detect.
example : "R e b o r n" << that using non-breaking space (alt+0610) not normally space.
if i write in config.txt, openkore can't buff that player
Code: Select all
partySkill Blessing {
lvl 10
sp > 10%
target_isGuild R e b o r n
target_whenStatusInactive Blessing
notPartyOnly 1
i just try to filter the guild name before openkore send data to server so config.txt can be simply of buffing on guild name with ascii non-breaking space name.
so i got an idea to filter guild name on misc.pm, like this
Code: Select all
if ($config{$prefix."_isGuild"}) {
my $xchange = $player->{guild}{name};
$xchange =~ s/^\s+//;
$xchange =~ s/\s+$//;
$xchange =~ s/\s+/ /g;
return 0 unless ($player->{guild} && existsInList($config{$prefix . "_isGuild"}, $xchange));
}
well, i just filter it to trim the white-blank space on guild name which openkore can't detect it.
any idea for this??
*sory my bad english