speaking with out-of-range color 0x7620

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.

Moderator: POL Developer

Post Reply
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

speaking with out-of-range color 0x7620

Post by BELL »

if im use ML client. its fixed?
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Re: speaking with out-of-range color 0x7620

Post by BELL »

client 5.0.1.h
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada

Re: speaking with out-of-range color 0x7620

Post by *Edwards »

BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Re: speaking with out-of-range color 0x7620

Post by BELL »

tnx, go --->
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Re: speaking with out-of-range color 0x7620

Post by BELL »

sorry
antics im using )) on not fixed speech error
GetUOStatus .. im using 96 POL, packet need 97 pol
and im not find on this packed fix my error - out of range color....
----
im bad speak and read eng, sorry... may be im no understand?
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Re: speaking with out-of-range color 0x7620

Post by BELL »

BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Re: speaking with out-of-range color 0x7620

Post by BELL »

im no view road to fix (((
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada

Re: speaking with out-of-range color 0x7620

Post by *Edwards »

I'm not admin here but Please post all in one reply.

Pol096 handle packethooks.
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Re: speaking with out-of-range color 0x7620

Post by BELL »

ok, sorry
packethooks- yes, but what id packet i do hook?
1) [0x03] Talk Request
2) [0xAD] Unicode/Ascii speech request
3) [0xB3] Chat Text ????
i dont know ((
User avatar
CWO
POL Expert
Posts: 1158
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: speaking with out-of-range color 0x7620

Post by CWO »

Packet 0xAD

Code: Select all

use uo;
use os;
use polsys;

program HookStart()
	return 1;
endprogram

exported function HandleSpeech( character, byref packet )
	var color := packet.GetInt16(4);
	if ((color < 2) || (color > 1001))
		packet.SetInt16(4, 1001);
	endif
endfunction
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Re: speaking with out-of-range color 0x7620

Post by BELL »

CWO wrote:Packet 0xAD

Code: Select all

use uo;
use os;
use polsys;

program HookStart()
	return 1;
endprogram

exported function HandleSpeech( character, byref packet )
	var color := packet.GetInt16(4);
	if ((color < 2) || (color > 1001))
		packet.SetInt16(4, 1001);
	endif
endfunction

Code: Select all

Packet 0xAD
{
  Length		variable
  ReceiveFunction	speech:HandleSpeech
}
its right - working
thx, many great thx, sorry bad englush )))))
Post Reply