0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
52
Location
LongForgotten <-> 0x32789
I wanted to make this again and use it for some time and make it translate dialog and other shit but I've lost motivation for it. It works fine and all, but it does not translate dialogs and other things, only chat messages. The chat messages you send and get. Uses yandex api as same as the old 0.3.7 version and you can set if you want outgoing messages to be cyrillic or not (works only in russian and serbian) I also figured how to type russian and serbian properly or if thats what I think is proper because again I'm not slavic and I don't know what means what except some phrases from online gaming ofcourse the famous cyka blyat.

Activation:
/tppr


NOTE: When translating and you know the source language or destination or both, please make sure you set it in /tppr setlang as it increases the accuracy. FOr example if you know the incoming text has to be translated from RUSSIAN to ENGLISH, rather than typing /tppr setlang in en, you should /tppr setlang in ru-en so it can know it's translating from RUSSIAN to ENGLISH and it will increase and so it does not detect as another language that is similar to RUSSIAN.
And trust me, this helps.


Commands:
/tppr setlang [in/out] [language code]
e.g. /tppr setlang in en-it - It will convert incoming languages from english to italian.
How it appears: You set it to fr-en, it will convert french to english. Now when someone messages "bonjour" it will appear hello on your screen.
e.g. outgoing: /tppr setlang out en-tr - It will convert outgoing messages to turkish from english.
How it appears: I don't know turkish but hte example is, if you type hello on chat box and send it. Others will see "Merhaba" but if you have incoming language translating aswell, you will see "Hello" but others will read Merhaba.

/tppr toggle [in/out/cyrillic]
/tppr toggle in converts incoming aka the messages server send to the language you set.
toggle out converts outgoing aka the ones you send to destination language.

/tppr toggle cyrillic [out] (Only out is made by now)
It will convert from cyrillic to non cyrillic or rather, toggle that function. So the special characters will be converted into latin versions, this only works when you are sending not on incoming languages.
So people who don't have their locale set can see the russian. (No you don't need this to play russian servers)

/tcmd [command]
Usage: /tcmd /ooc Hello there
wot?: It translates a command you want to send, the parameters are translated not the name to avoid it from bugging or sending invalid cmd, anyways this tool doesn't natively translate commands or any other RPC except chat and sendmessage so to send command or translated commands you gotta start it with /tcmd, so to pm in turkish you gotta /tcmd /pm [id] hello there my turkish friend


How to play russian servers or servers with special chars?
Only for windows I know this:
Go to region settings, (if windows 10, click on Additiona region settings in the region settings area)
Click on administrative, aka this:
ay.PNG

Then click on change system locale:
Set the locale to Russia (Russia)
and click Beta: Use unicode UTF-8 for worldwide language support (This will allow you to use other languages like Arabic aswell, though note it is in beta so.. idk)
aay2.PNG


https://www.virustotal.com/gui/file...7921cf5891907efe4e105b0865c31b5b49a/detection
Is the virus total for the ASI, now it's based on my raknet hook here, that gave some virus thing aswell but its 3/50 or whatever, who cares. But all I wanna say is that the source is provided, you can look its not big and shit and nor its a virus. nor do I spread viruses and trojan.

IF YOU ARE GONNA COMPILE, MAKE SURE YOU COMPILE IN X86, it WONT compile on X64 ARCHITECTURE.
and who the fuck wants a plugin that only works in X64?
majority of samp players are on potatoes so make sure its potato friendly, don't use too much queues and shit.

Credits:
Springfield, helping with the raknet crashing base thingy.
me me me, for making this and copying old source from the old version.
s0biet creators, for allowing me to peek into its source and copy raknet.cpp and shit and make a hook.
stackoverflow or wherever I copied the concurrentqueue.h from. (nvm its here https://github.com/cameron314/concurrentqueue)

thanx
download in the attachments



Oh and I fixed a bug where the old translator couldn't translate too many incoming messages, it's fixed now. This uses queue'd translating on multiple threads (3 by default) so it will translate 3 messages together. si si, hope thats enough.
maybe this shouldd work with 0.3.7 I have no idea because there is a version for 0.3.7 and I only intended this for 0.3DL, anyways no more shit. I'm not motivated with this anymore, while making this thread I wanted to shit myself 3 times and quit with it it took time so pls appreciat. thanks and bye


UPDATE: 8/10/19
Fixed chat color thanks to @springfield and @0x688, the source and ASI is in attachments.
 

Attachments

  • TranslatePPR.asi
    390 KB · Views: 166
  • TranslatePlusPlusReloaded.zip
    71.3 KB · Views: 189
  • TranslatePlusPlusReloaded_8-10-19.zip
    276.5 KB · Views: 340
  • TranslatePPR_8-10-19.asi
    391 KB · Views: 207
Last edited:

Husnain

Well-known member
Joined
May 20, 2016
Messages
228
Reaction score
9
Location
Mars
I have 0.3.7 and when I enter the command [/tppr] it doesn't show anything. It's say No such command exists. Please, help me to fix this
.
 

Husnain

Well-known member
Joined
May 20, 2016
Messages
228
Reaction score
9
Location
Mars
But there is no Russian Server in 0.3dl. You could have created one for 0.3.7
 

Noobie009

Active member
Joined
May 2, 2015
Messages
27
Reaction score
0
Yeah it doesn't work for 0.3.7 Sadly
 
Last edited:

Noobie009

Active member
Joined
May 2, 2015
Messages
27
Reaction score
0
Add command translate to 0.3.7 version please, this is really good work...
 

Bill29

New member
Joined
May 9, 2020
Messages
1
Reaction score
0
Location
Italia
Hi, sorry if I bother you. @0x32789

I am Italian I don't speak English, just for this reason I wanted to ask you a question how to install the Translator Plus Plus for 0,3dl?

you could kindly indicate me step by step ... For me it is fundamental to use this program.
 

poppingoutbenz

New member
Joined
Dec 27, 2014
Messages
3
Reaction score
0
Hi, @0x32789 !
I have a problem with activation, namely when I turn on the command "/tppr toggle in", then a message comes out in the chat and my game will crash.
Before writing "/tppr toggle in" command, I entered "/tppr setlang in en-ru" command.
Exactly the same situation is with [out].
 

SobFoX

Expert
Joined
Jul 14, 2015
Messages
1,463
Solutions
5
Reaction score
916
Location
Israel
can't install
It doesn't work anymore, the api that translates stopped working. Search in blasthack I remember they made something new (but they are all pretty bad)
 
Top