Jump to content

1 Screenshot

  • 22.1k
  • 74
  • 23 kB
This area is intended for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



Vwsurfer

Posted

It was enabled. it started working after a few hours. No sure if there was a delay between the plugin and openai.

 

PoolsPats

Posted (edited)

I guess I don't know how this quote system works....refer to next post lol

 

Edited by PoolsPats
PoolsPats

Posted (edited)

On 11/6/2024 at 1:08 AM, S0TR said:

Interested in a way we are able to still allow chats to log into the console when using this plugin. Everything works flawlessly, but when it's active all in-game chats no longer show in my console. Would I need to create my own Fork for it and send to you to use in an update or can you implement the functionality yourself?

Never mind, it was a simple line of code I added to the main .cs file and now chats log to console

It became more than just a simple line of code. I have added the option to select a default language code for your server console in the config (ie. server admins speak English, so the default lang would be set to "en") and when anyone types in game chat, not only does the plugin function as expected in translating the messages to and from players communicating, but the messages are also now logged into the console only in the default language set in the config. I will be ironing out some lines of code and then offering this Fork to the Dev in hopes they will update their plugin with my improvements

UPDATE: I finished my Fork of this plugin. Adding implementation of Console Logs for Chats, both Global and Team; both translated to the language set in the config and eliminated any redundant logging. Also added a check for the AI to skip translations for players who's default language is the one a message was sent as. For example, if someone types in English, any players who's default language is English will not have the chat translated for them; the chat will be sent as-is. This avoids situations when someone is using slang terms and the AI attempts to translate it, completely changing what was said and losing the context of the message. This also helps remove any unnecessary translations for "LOL" or similar text lingo. At the same time, all this will improve performance of the plugin, given it does not need to translate certain languages. I will be attempted to gift this Fork to the Dev so he can use it as a whole, or take chunks of my code, and push an update for the plugin 🙂

ON A SIDE NOTE: The AI sometimes responds in the server console something along the lines of "LOL = Laugh out loud", or "<3 = heart", and at one point a player on my server sent in chat "?" and the AI responded in the console saying "Sure, send me a message and I will translate it for you". We want to avoid those situations because believe that also throws off the translation for certain players. Replacing the default prompt in the Config with this one below avoids just that

"Prompt": "Translate the following message into $lang. If the message consists only of symbols (like ?, !!!) or emotes (such as :), :P), pass it through without translation. When symbols or emotes appear within a longer message, retain their placement as per the target language conventions. Under no circumstances should you refer to the fact that you are an AI, explain any limitations, or say that something could not be translated. Only return the translated message:\r\n\r\n$text"

 

I have this issue where I have to disable this plugin in order for Battlemetrics rcon to show global chat. It shows team chat fine with the plugin enabled, but the lack of global chat support for rcon renders this useless to me.

 

Is the prompt that you've provided a fix for my issue like it was for your console issue?

 

Edited by PoolsPats

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

User Feedback

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.