Comments (18)
Thank you. Could you describe the problem in details? Also it seemed as you were only having that problem with messages sent by the server at one point, is it every message or just the server messages?
from easychat.
When I did "say testing" from the server console with the EasyChat's custom HUD disabled, I could see the console's text but not text from other players.
from easychat.
Do you have a list of addons you use on your server I can look into?
Because so far I'm unable to reproduce this problem
from easychat.
https://steamcommunity.com/sharedfiles/filedetails/?id=1648401086
from easychat.
Have you checked "actchatcommands" ? Also have you tried to switch your server to another gamemode to be sure it wasnt the gamemode?
from easychat.
Trying that now
from easychat.
Hey so I actually just got around to removing actchatcommands, switching to Sandbox, and nothing worked
from easychat.
Event "OnPlayerChat", GAMEMODE,
in "lua/easychat/easychat.lua" (lines 2924 to 2966),
found in Workshop addon « EasyChat », returned:
Arg #1 = true
Ran a clientside conflict finder and it keeps returning true, which unless I'm mistaken in this case, suppresses the message.
from easychat.
Your conflict finder is finding a GAMEMODE function which is not a hook. The default return of OnPlayerChat is true which is the case here as expected. "OnPlayerChat" is a client function anyway so this appears to be unrelated.
from easychat.
Since I can't reproduce this problem on my end here's something that you can do:
Remove everything except your gamemode, check that it works.
If it does, add back each addon until it doesn't work anymore.
See message below for things that might help you find the culprit, or the solution to your problem.
from easychat.
@KekkyShmekky I was just thinking of something, your server is a dedicated one right? Because the server console won't print player messages in there if it's not dedicated.
You may want to look for things like:
- "game.IsDedicated" overrides
- "MsgC" overrides
- a global called "_MsgC"
- "PlayerCanSeePlayersChat" hooks
- Make sure your messages are not all local, because console won't show local messages from players due to privacy concerns
from easychat.
Server is dedicated, messages were not local, PlayerCanSeePlayerChat returned this:
Event "PlayerCanSeePlayersChat", GAMEMODE,
in "gamemodes/base/gamemode/player.lua" (lines 747 to 756),
not found in Workshop addons, returned:
Arg #1 = true
I printed MsgC() in console and it returned a blank line.
Some other addons use MsgC, but I doubt that should mean they're to blame.
I've also noticed the console messages print into a chat that's visually "behind" EasyChat. Not sure if this is intended.
from easychat.
I've also noticed the console messages print into a chat that's visually "behind" EasyChat. Not sure if this is intended.
The chat you're talking about is probably the default source chat, you can't really remove it, and it's useful if you want to disable easychat on your client.
I printed MsgC() in console and it returned a blank line.
MsgC is a function that allows you to make colorful messages in the console, so if you pass no arguments it will print a blank line for sure.
Some other addons use MsgC, but I doubt that should mean they're to blame.
I agree with you, using MsgC won't do anything particularly unexpected, however it would be useful to check if that function has been detoured by any addon you may have installed or the gamemode you're playing on.
Event "PlayerCanSeePlayersChat", GAMEMODE, in "gamemodes/base/gamemode/player.lua" (lines 747 to 756), not found in Workshop addons, returned: Arg #1 = true```
Could you past here the hook content of this?
from easychat.
function GM:PlayerCanSeePlayersChat( strText, bTeamOnly, pListener, pSpeaker )
if ( bTeamOnly ) then
if ( !IsValid( pSpeaker ) || !IsValid( pListener ) ) then return false end
if ( pListener:Team() != pSpeaker:Team() ) then return false end
end
return true
end
from easychat.
Alright well this seems pretty normal. I don't have any other leads for now.
from easychat.
Actually I noticed you made a function local. Gonna test this on the next player that joins, unless you'd like to test it with me. My Discord is >KEKSQUAD#7054. IP is in the bio.
from easychat.
@KekkyShmekky Do you still need me to test this bug out with you, did my change fix your issue?
(Sorry for the late answer, I got busy)
from easychat.
Seeing the lack of response I'm gonna assume it's fixed, if it isn't please open a new issue.
from easychat.
Related Issues (20)
- Allow swappable translation engines HOT 1
- PlayerSay gets called in CLIENT realm HOT 2
- Homicide gamemode cannot chat when plyaer dead HOT 2
- Fetch Emoji data from Emojibase instead of a local lookup HOT 3
- How do you properly install this? HOT 8
- i cant copy and paste, none work HOT 2
- Tabulation characters ('\t') are not rendered in chat HOT 7
- EasyChat does not allow you to properly hide chat HOT 6
- EasyChat Error message HOT 2
- Keyboard shortcuts on non-english layouts not working properly HOT 3
- crashes when player reconnect to server HOT 2
- Fresh install HOT 1
- Problem with chat showing team
- #breencast.br_overwatch07 HOT 2
- Unable to use ESC, console after attempting to enter chat. HOT 8
- [easychat-master] HTTP failed - ISteamHTTP isn't available! HOT 1
- RichNick returns SteamName and not player Nick which breaks DarkRP compatibility HOT 3
- Exploit causes client crashes HOT 5
- EZ Chat HOT 2
- Question about net HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easychat.