• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Channel multicolor message

Leo32

Getting back into it...
Joined
Sep 21, 2007
Messages
987
Solutions
14
Reaction score
532
Hi Guys,

I would like to replicate the NPC channel keyword functionality for another channel (Specifically - the functionally where you can highlight a keyword by enclosing them in { }).

I've been digging and digging but can't find that code in the source.

I did stumble across this which I haven't seen before:
https://github.com/otland/forgotten...4d262f7f743cb7c/src/luascript.cpp#L8597-L8622

I can't test the functionality of message.secondary.color/message.primary.color as I'm at work..
But am I on the right track here?

Anyone with more expertise able to shed some light?
 
Above was a deadend.

Back-tracked on TALKTYPE_PRIVATE_NP and Speakclasses which leads back to the raw data sent to and from the client.

Is this all defined on the client side?
 
Above was a deadend.

Back-tracked on TALKTYPE_PRIVATE_NP and Speakclasses which leads back to the raw data sent to and from the client.

Is this all defined on the client side?
Special channels funcionality and colors are on client-side [at least it was up to 8.6].
 
I swear I've seen this done before, specifically with loot messages.
Wonder how it was done.

Might need to look at this from another angle.
 
Back
Top