And which service do you have Babel's config set to?
BabelChat
Moved
Total Downloads: 656 - First Release: Jun 10, 2016 - Last Update: Nov 19, 2017
- 5/5, 3 likes
-
Wulf Community Admin
-
Code:
{ "API key (if required)": "****", "Translation service": "yandex" }
-
Wulf Community Admin
-
Code:
Loaded plugin Babel v1.0.2 by Wulf/lukespragg
-
Wulf Community Admin
-
-
Wulf Community Admin
-
-
Wulf Community Admin
-
So, I'm trying to use Babel/BabelChat on my server, but I really really like the BetterChat plugin... And they don't play together very well, it seems... it would send messages twice, and would fudge up the BetterChat tags and such.
So I edited out the BetterChat references, and had BabelChat simply return the message (instead of checking against BetterChat)
Now the plugins work more or less how I would like... it still sends the message out twice, but the first message now doesn't mess up the BetterChat tags...
Is it a problem if, in console, it warns me of the conflict of the hooks being called?
Also, I would love if it wouldn't send messages twice, or wouldn't send messages twice if the original message is in the server language or something?
Any thoughts/help?
I attached my edited BabelChat file. If anyone sees anything I could change? -
Wulf Community Admin
-
-
Wulf Community Admin
-
What happens after I install both is that anytime someone chats, there is some garbage spit out before betterchat tags and such.--> [*55aaff][+15]<UserNameHere>[/+][/#] <-- then the betterchat tags, name, and message.
Then, it would print again, without betterchat tags. just clan tags and name -- I think this one is the translated message.
(and yes, it behaves this way with ShowOriginal set to false)
I also noticed it sends separate messages out to each player, regardless of "to" and "from" language names... I think it'd be smoother to only translate and only send translated messages if the "to" and "from" are different, if that's possible?
Let me know what you think Wulf!
And thanks for all your hard work!!! -
Wulf Community Admin
It already only sends messages if the to and from messages are different. -
The version I attached is edited, and works pretty well on my Rust server with BetterChat...
there's just a conflict, since both plugins use OnUserChat (and I don't know how to use OnBetterChat())
but it seems like it's just console spam? It translates only the messages that need to be translated, sends only those messages, doesn't send the original message twice... idk. It works pretty good. Just the hook conflict that I don't know how to reconcile...Attached Files:
Last edited by a moderator: Nov 26, 2017 -
-
I have a problem with codes around name like this [#55aaff][+14]Name[/+][/#] then tags. I use betterchat also and playerchallenge? how do i combine this? And i can not hide orginal message. https://i.gyazo.com/54602f2be225d5c400e73aac40e2b05b.png I have reported this also in BetterChat plugin page.
RCON:
(14:00:13) | Babel and BabelChat were compiled successfully in 1609ms
(14:00:13) | Unloaded plugin BabelChat v1.1.3 by Wulf/lukespragg
(14:00:13) | Unloaded plugin Babel v1.0.2 by Wulf/lukespragg
(14:00:13) | BabelChat plugin is waiting for requirements to be loaded: Babel
(14:00:13) | Loaded plugin Babel v1.0.2 by Wulf/lukespragg
(14:00:13) | Loaded plugin BabelChat v1.1.3 by Wulf/lukespragg
(14:00:14) | [Manifest] URI IS "https://api.facepunch.com/api/publi...xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
(14:00:21) | Plugin compilation is already queued: BabelChat (0.006 ago)
(14:00:21) | BabelChat and Babel were compiled successfully in 74ms
(14:00:21) | Unloaded plugin BabelChat v1.1.3 by Wulf/lukespragg
(14:00:21) | Unloaded plugin Babel v1.0.2 by Wulf/lukespragg
(14:00:21) | BabelChat plugin is waiting for requirements to be loaded: Babel
(14:00:21) | Loaded plugin Babel v1.0.2 by Wulf/lukespragg
(14:00:21) | Loaded plugin BabelChat v1.1.3 by Wulf/lukespragg
{
"Force default server language (true/false)": false,
"Log chat messages (true/false)": true,
"Show original message (true/false)": false,
"Use random name colors (true/false)": false
}Last edited by a moderator: Dec 15, 2017 -
Wulf Community Admin
-
-
Wulf Community Admin