Page MenuHomeFeedback Tracker

Calling ChatPlayer from server throws an error on client
Closed, ResolvedPublic

Description

I don't know if it is intentional, but in older versions we were able to use ChatPlayer from server side just fine. Now, if you call it crom server, clients will have the following in their script.log and no message will be shown

SCRIPT : Chat: Unknown channel 0

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Modding
Steps To Reproduce

Call ChatPlayer from server when being connected on it, then check your client script.log (and the fact that there is no message popping up)

Event Timeline

Unknown Object (User) added a subscriber: Unknown Object (User).Feb 16 2019, 9:55 AM

Can you show code how do you calling it, because since last update in function ChatPlayer there is no option select channel, only text

GetGame().ChatPlayer("foo");

Anywhere serverside, this will errors out the said message for connected clients.

Geez changed the task status from New to Assigned.Feb 18 2019, 12:59 PM
rVn closed this task as Resolved.Mar 29 2019, 12:29 PM
rVn claimed this task.
rVn added a subscriber: rVn.

This looks to be working now without errors