密頻解決了[最佳解答在此:[url=http://bbs.wgun.net/thread-326762-1-1.html]http://bbs.wgun.net/thread-326762-1-1.html[/url]]
那廣播呢?
密頻解法那個Receive檔搜尋:↓
system_chat
搜尋第一次會跑出:↓
'009A' => ['system_chat', 'x2 Z*', [qw(message)]], #maybe use a* instead and $message =~ /\000$//; if there are problems
請吧Z改成a
搜尋第二次的時候 請把我下面這段直接覆蓋:↓
sub system_chat {
my ($self, $args) = @_;
my $message = bytesToString($args->{message});
if (substr($message,0,4) eq 'micc') {
$message = bytesToString(substr($args->{message},34));
}
stripLanguageCode(\$message);
chatLog("s", "$message\n") if ($config{logSystemChat});
# Translation Comment: System/GM chat
message TF("[GM] %s\n", $message), "schat";
ChatQueue::add('gm', undef, undef, $message);
Plugins::callHook('packet_sysMsg', {
Msg => $message
});
}
以上~這樣就能看到廣播了 方法來源"新 - 仙境外掛研究網" |
|