Jump to content

1 Screenshot

  • 21.1k
  • 63
  • 23 kB

Recommended Comments

Covfefe

Posted

please post a video of this in action

  • Like 1
flutes

Posted

27 minutes ago, Covfefe said:

please post a video of this in action

A video will be posted in the coming days (I try to post one during GMT+2 daytime)

  • Love 1
COSMO

Posted

So the plugin translation is referring to all the text from a plugin in game and in chat correct.?This automatically translates based on the users default language? In game chat is the same way based on default language? You should really get on that demonstration video

COSMO

Posted

Yeah I got it all figured out now. Used my second account to test everything. This is fantastic! I am not experiencing a lag like the guy in the review stated. 

COSMO

Posted

I would like to request the ability to translate lang files to more than 2 languages at one time. Adding every language possible is time consuming. I would also like the ability to exclude plugins from the auto translate all. All the admin type ones arent really needed and it does have the potential to break plugins. It for sure broke admin radar and wouldnt work until I went in and manually deleted every new lang file. 

COSMO

Posted (edited)

Web request produced exception (Url: https://api.openai.com/v1/chat/completions) in 'AITranslationPro v1.0.2' plugin (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Core.Libraries.WebRequests+WebRequest.<WaitForResponse>b__40_0 (System.IAsyncResult res) [0x00000] in <18d4f19bbc844191b11ed9e69284d09b>:0 

EDIT this went away sorry I assumed it was broke from update 

Edited by COSMO
Gust

Posted

这个插件是否允许将玩家消息实时翻译成预设语言?

COSMO

Posted

57 minutes ago, Gust said:

这个插件是否允许将玩家消息实时翻译成预设语言?

它将全局聊天消息翻译为您设置的游戏语言。 您可以使用第二个帐户测试它是否有效。

COSMO

Posted

Hello! Loving the plugin! I have in my server description that the chat is translated but that doesnt help the people who dont read English to know that it is. They end up getting confused at first about what is going on thinking the English players are Russian etc lol. I would like to request that something be printed to chat for the player upon connection in their language telling them that the chat is being translated to their language and they can freely talk to everyone. 

  • Like 1
nickw

Posted

Hi will this work with IQChat ?

COSMO

Posted

It will work with any chat plugin to my knowledge

COSMO

Posted

I want to use the plugin ColouredChat on umod. This plugin is making that plugin not work. Is this possible to fix this conflict?

COSMO

Posted

Or add support for IQChat

S0TR

Posted (edited)

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"

 

Edited by S0TR
Bad Cop

Posted

Is this alive/maintained ?

S0TR

Posted

14 hours ago, Bad Cop said:

Is this alive/maintained ?

It's bug free, does not need updated, and future proof at the moment. It works and works well.

Was a good investment for me!

Ryuu

Posted

On 11/6/2024 at 2:08 PM, 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"

 

Hi.
could you teach me how to make all the messages logged in the console, it helps us to check for bad players/spammers/racists

thanks in advance!!

Ryuu

Posted

hi could you add the ability to show historical messages in the console and start auto translation in team chat?thanks

S0TR

Posted

On 12/12/2024 at 6:17 AM, Ryuu said:

Hi.
could you teach me how to make all the messages logged in the console, it helps us to check for bad players/spammers/racists

thanks in advance!!

Hey, sorry about the delay response! Holidays!

I can certainly give you the line of code I added to get the messages to log into your console. I recommend DMing me directly so we can communicate more effectively.

Speak soon 🙂

Ryuu

Posted

 [AITranslationPro] [ChatTranslationAgent] Couldn't get a response from OpenAI

 [AITranslationPro] Couldn't get an answer from OpenAIServer code 403

 [AITranslationPro] [ChatTranslationAgent] Couldn't get a response from OpenAI

 [AITranslationPro] Couldn't get an answer from OpenAIServer code 403

Hi,

I'm getting this error message on the console, and it's not working 

S0TR

Posted

11 hours ago, Ryuu said:
 [AITranslationPro] [ChatTranslationAgent] Couldn't get a response from OpenAI

 [AITranslationPro] Couldn't get an answer from OpenAIServer code 403

 [AITranslationPro] [ChatTranslationAgent] Couldn't get a response from OpenAI

 [AITranslationPro] Couldn't get an answer from OpenAIServer code 403

Hi,

I'm getting this error message on the console, and it's not working 

Looks like you might need to go into your config file and make sure you have the correct API key (and other various ChatGPT options) set. If those are set correctly, go into your OpenAI account and make sure your API key wasn't changed or set as inactive. That's where I would start debugging given the error messages your provided.

Ryuu

Posted

11 hours ago, S0TR said:

Looks like you might need to go into your config file and make sure you have the correct API key (and other various ChatGPT options) set. If those are set correctly, go into your OpenAI account and make sure your API key wasn't changed or set as inactive. That's where I would start debugging given the error messages your provided.

thanks, it's fixed.
the server provider's ip was blocked by openai

  • Like 1

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.5m

Downloads

Total number of downloads.

7.2k

Customers

Total customers served.

107.5k

Files Sold

Total number of files sold.

2.2m

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.