Page 1 of 1
character_name speaking w/ color 0x34
Posted: Sun May 01, 2016 8:31 am
by atreiu
Hello folks
when character said something then in server console i have this line
Code: Select all
character_name speaking w/ color 0x34
how to disable this? i am searching&searching but nothing helpful
thanks in advance
Re: character_name speaking w/ color 0x34
Posted: Sun May 01, 2016 1:46 pm
by CWO
Not sure about that one. I pulled up an old packethook I had for speech and it defined an acceptable range between 2 and 1001. This snippet is from years ago on POL096 but I'll paste it in case it helps you track it down. This was part of my 0xAD packethook. The actual reason for this color check in my script was a client side problem where the speech color was corrupted and would result in invisible speech.
Code: Select all
exported function HandleSpeech( character, byref packet )
var color := packet.GetInt16(4);
if ((color < 2) || (color > 1001))
SendSysMessage(character, "You are speaking with an out of range text color. Please go into your options and change your speech color.");
packet.SetInt16(4, 1001);
endif
return 0;
endfunction
Re: character_name speaking w/ color 0x34
Posted: Mon May 02, 2016 3:50 am
by atreiu
i've checked 0xAD packet hook and all *.src *.inc files on that words
situation become to mistical. mb search in server source code =(
Re: character_name speaking w/ color 0x34
Posted: Mon May 02, 2016 6:22 pm
by Skinny
Go to
pol.cfg file and find this lines:
Code: Select all
#
# ShowSpeechColors: If enabled, reports the speech colors clients are using when they talk.
#
ShowSpeechColors=0
Set "ShowSpeechColors" to 0 (zero).
Re: character_name speaking w/ color 0x34
Posted: Tue May 03, 2016 11:03 pm
by atreiu
thank you Skinny