0x32789
Expert
Hey guys, Some months ago I was working on a plugin (.sf) called Translate Plus Plus, I stopped working it for like weeks now, and I was cleaning my HDD (no space for new games :-/ ) and now since I had stopped working, I am abandoning it and making it open source due to my lack of interest in this project and not having enough time to work on it. It works but for only english based languages like italian, which has english character. For other languages like russian it will only show those "????" question mark characters, which I believe is a buffer problem as 0x688 told me, anyways anyone is allowed to edit it, re-distribute it, release his own version as long as he credits me for this base. And while editing, please do not use my translate api which is inside the already-compiled latest version as of 22nd April 2017, In the open-source code version, I will remove the API key, you can get one for free at translate.yandex, just google it.
Here is the video showing the functionality and usage as of 22nd April 2017:
[video=youtube]https://youtu.be/uQU2ElPN8eU[/video]
Requirements:
Microsoft Visual C++ 2015 Redistributables (x64/x86 Both)
MSXML6 Supported Windows (All windows after Windows XP Service Pack 3 support MSXML6 including 7, 8 and 10)
SAMPFUNCS (SAMPFuncs must be installed in GTA SA folder and SAMPFunc's requirements apply like CLEO)
Credits:
Yandex.Translate - Translator API
0x688 - Helping with chat messages
ini - Helping with chat messages
Google - Fixing a lot of problems (somehow forgot this credits)
UGBase Community - Idea
Downloads (Click the text below):
Source & Pre-compiled install & play file (Uplodaded on media-fire because ugbase.eu internal uploader exceeds the file-limit) (Click me for Virus Total for this Download)
Version2:
http://ugbase.eu/attachment.php?aid=5053
[attachment=5053]
I added version 2.zip file, It only has the .SF, I added those things in version 2:
1) Translate your outgoing chat, Whatever you type gets translated but you have to set the translation for it first (/tpp setlangchat target-language-code)
2) /tpp reset.
3) What else? IDK check the source yourself lol.
AND NO Russian support is not added. I don't even know why the fuck am I working on a abandoned project, (probably cause I wanna play romanian server)
JUST TYPE /TPP help don't ask me in this thread. If it crashes install SAMP Funcs.
VERSION 2 IS IN ATTACHMENTS ITS SOURCE IS ALSO IN ATTACHMENT, UNLIKE BEFORE IT WONT BE COMPLETE SOURCE AND WONT BE BIG -ASS.
~0X32789
NOTE: VERSION 2 HASN'T BEEN APPROVED YET, IF THE ATTACHMENT OR LINK ABOVE DON'T WORK, DOWNLOAD IT FROM HERE: http://www.datafilehost.com/d/4aace380
IDK WHY THOSE ADMINS AND MODS WON'T APPROVE IT OR THEY ARE LAZY.
The virus total (3 anti-viruses) shows:
1) trojanspy.win32.skeeyah.a!rfn
2) Trojan.Clicker.r
3) Suspici.1C0E4023
I believe there is no virus or trojan inside it, it might be due to the source because it's kind of thinking the connecting online and sending data to yandex website as trojan.spy, in real, Its not a virus or trojan you can check it yourself. I have given the complete source.
Installation For Players:
Drop the .SF at the start of the .zip archive in your SAMPFuncs plugin folder and you are ready to go, just type /tpp help for starter guide.
Installation For Developers:
I have given the full source, including the project files which were created using Microsoft Visual Studio 2015, To avoid any compiler problems, linker problems or compability problems, I suggest you to use microsoft visual studio 2015 to open this project else you may have a hard time fixing some linker problems and project conversion & toolset.
There is only one main .cpp file which contains all code, The code might look messy to you. And since again, I had no time to add in a XML parser, so I did the grabbing of the translated text in my own way, Feel free to fix that thing but my way works without any problems.
Here is the video showing the functionality and usage as of 22nd April 2017:
[video=youtube]https://youtu.be/uQU2ElPN8eU[/video]
Requirements:
Microsoft Visual C++ 2015 Redistributables (x64/x86 Both)
MSXML6 Supported Windows (All windows after Windows XP Service Pack 3 support MSXML6 including 7, 8 and 10)
SAMPFUNCS (SAMPFuncs must be installed in GTA SA folder and SAMPFunc's requirements apply like CLEO)
Credits:
Yandex.Translate - Translator API
0x688 - Helping with chat messages
ini - Helping with chat messages
Google - Fixing a lot of problems (somehow forgot this credits)
UGBase Community - Idea
Downloads (Click the text below):
Source & Pre-compiled install & play file (Uplodaded on media-fire because ugbase.eu internal uploader exceeds the file-limit) (Click me for Virus Total for this Download)
Version2:
http://ugbase.eu/attachment.php?aid=5053
[attachment=5053]
I added version 2.zip file, It only has the .SF, I added those things in version 2:
1) Translate your outgoing chat, Whatever you type gets translated but you have to set the translation for it first (/tpp setlangchat target-language-code)
2) /tpp reset.
3) What else? IDK check the source yourself lol.
AND NO Russian support is not added. I don't even know why the fuck am I working on a abandoned project, (probably cause I wanna play romanian server)
JUST TYPE /TPP help don't ask me in this thread. If it crashes install SAMP Funcs.
VERSION 2 IS IN ATTACHMENTS ITS SOURCE IS ALSO IN ATTACHMENT, UNLIKE BEFORE IT WONT BE COMPLETE SOURCE AND WONT BE BIG -ASS.
~0X32789
NOTE: VERSION 2 HASN'T BEEN APPROVED YET, IF THE ATTACHMENT OR LINK ABOVE DON'T WORK, DOWNLOAD IT FROM HERE: http://www.datafilehost.com/d/4aace380
IDK WHY THOSE ADMINS AND MODS WON'T APPROVE IT OR THEY ARE LAZY.
The virus total (3 anti-viruses) shows:
1) trojanspy.win32.skeeyah.a!rfn
2) Trojan.Clicker.r
3) Suspici.1C0E4023
I believe there is no virus or trojan inside it, it might be due to the source because it's kind of thinking the connecting online and sending data to yandex website as trojan.spy, in real, Its not a virus or trojan you can check it yourself. I have given the complete source.
Installation For Players:
Drop the .SF at the start of the .zip archive in your SAMPFuncs plugin folder and you are ready to go, just type /tpp help for starter guide.
Installation For Developers:
I have given the full source, including the project files which were created using Microsoft Visual Studio 2015, To avoid any compiler problems, linker problems or compability problems, I suggest you to use microsoft visual studio 2015 to open this project else you may have a hard time fixing some linker problems and project conversion & toolset.
There is only one main .cpp file which contains all code, The code might look messy to you. And since again, I had no time to add in a XML parser, so I did the grabbing of the translated text in my own way, Feel free to fix that thing but my way works without any problems.