Comments (9)
Hey @asupreme1337 thank you for the report, do you possibly have any other addons that uses the chat installed?
Oh and knowing the gamemode would also help!
from easychat.
So I've found the bug, it's in the gamemode you're using, specifically here: https://github.com/NotMyWing/GarrysModAmongUs/blob/3357ce9ee2ae4b963918d16416a8540ae4fcd80b/src/gamemodes/amongus/gamemode/cl_init.moon#L246
This line is responsible for dictating the color displayed in the chat except well if you're alive it stays a boolean and not a color hence the reason as to why every message you send is prepended by false
when you are alive.
from easychat.
No other chat addons were installed.
My server uses a new gamemode - Among Us. I do not argue, perhaps it can create such an error, but why then it is in the general chat and with your addon... In a normal chat, everything is fine. I also looked at the code of this gamemod, but I didn't find any points that could conflict with your chat.
GM: https://steamcommunity.com/workshop/filedetails/?id=2308955070
from easychat.
Tested in DarkRP, sandbox & murder. It does seem to be from the gamemode. I'm going to look into it
from easychat.
Oh, that would be great. Thank you. I will wait for the fix.
from easychat.
If you have lua access on your server add this line to run on your clients to fix the problem temporarily:
hook.Remove("OnPlayerChat", "NMW AU DeadSay")
from easychat.
Maybe then it would be better to just edit this code a little to set the color for live players? This game mod is fully present on my server and I can edit it.
I understand that this is not your job (to dig into this code), but if you can suggest a little fix for this, then it will be great. 😄
from easychat.
Unfortunately this gamemode is written in a language that compiles to lua (moonscript), and the source code on github only contains the moonscript files, I have no idea what the compiled code would look like but I have my suspicions that the file should be called the same so look for something called cl_init.lua
. In that file look for the hook called NMW AU DeadSay
and try replacing this line:
chat.AddText(prefixColor, prefixText, ply:GetPlayerColor():ToColor() or ply:GetColor(), ply:Nick(), Color(255, 255, 255), ": ", ply:IsDead() and Color(220, 220, 220), text)
With this one:
chat.AddText(prefixColor, prefixText, ply:GetPlayerColor():ToColor() or ply:GetColor(), ply:Nick(), Color(255, 255, 255), ": ", ply:IsDead() and Color(220, 220, 220) or Color(255, 255, 255), text)
Hope this help, I'm sorry to say I can't help much more, you could try opening an issue on their repo or leave a comment on their workshop page.
from easychat.
Yes, it really helped me. Thank you very much!
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.