Go Back   Champions of Regnum > English > The Inn

The Inn A place to gather around and chat about almost any subject

Reply
 
Thread Tools Display Modes
Old 08-31-2007, 02:18 AM   #1
Eli2
Apprentice
 
Eli2's Avatar
 
Join Date: Jun 2007
Posts: 73
Eli2 is on a distinguished road
Lightbulb Ingame Chat Translation

I just wanted to tell u about a project i am working on.
Currently i am building a small java programm to take a screenshot of the chat window.
Run it thu a simple 1bit ocr ^^.
Look for a string like "+trans (Message)".
Send the Message to the google translate Page.
Look for the translation in the returned html code.
And display it in a second window automatically.

To answer i type my message in the window and my tool types it automatically into the regnum window using simulated keystrokes.

The OCR and the keystroke simulation already workes.
But making a complete programm out of this is a completely different thing,(and a lot of work).

Now my question would you have use for such a tool ?

Edit:
Here is a small screenshot of the current status.
Attached Images
File Type: jpg RegnumTranslate.jpg (115.4 KB, 75 views)

Last edited by Eli2; 08-31-2007 at 05:40 AM.
Eli2 no ha iniciado sesión   Reply With Quote
Old 08-31-2007, 02:49 AM   #2
putkonen
Banned
 
putkonen's Avatar
 
Join Date: Jan 2007
Location: Helsinki, Finland
Posts: 221
putkonen can only hope to improve
Default

Sounds interesting, i would use that kind of tool.
putkonen no ha iniciado sesión   Reply With Quote
Old 09-05-2007, 01:35 PM   #3
DaggerSpell
Pledge
 
DaggerSpell's Avatar
 
Join Date: Jun 2007
Posts: 27
DaggerSpell is on a distinguished road
Default

Nice work ELI, If you need any help with the code I am more than willing to help. Just find me in game and let me know. Hope you get it finished soon this would be a great tool for regnum. Only problem is we have to make your on dictonary for it because of the slang used. Such as grax and things like that. Also your own dictonary will also make it run faster with out lagging the game speed since is not using google. Anyways Nice Work
__________________
Thesis (Warlock) Alsius lvl 50 - La Fragua -
DaggerSpell no ha iniciado sesión   Reply With Quote
Old 09-05-2007, 07:16 PM   #4
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Is it OpenSource???? I'd love to see how it works!!!!
It's cool!!!!

You could check the ROLGps project if you want :P
(http://rolgps.sourceforge.net)
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión   Reply With Quote
Old 09-05-2007, 10:04 PM   #5
Eli2
Apprentice
 
Eli2's Avatar
 
Join Date: Jun 2007
Posts: 73
Eli2 is on a distinguished road
Default

Here is a small update:
The screen shot shows my self made, soon to be useless auto map.

It is my first java program and it was fun to code so i am only slightly sad it it is already implemented on the beta server.

Edit:
@DaggerSpell: Regnum is not slowed down because it is a separate program.
@Xephandor: I don't know if i am going to release it as Open Source since it can be used to do BadThings(tm).
Attached Images
File Type: jpg RegnumTranslate2.jpg (196.2 KB, 49 views)

Last edited by Eli2; 09-06-2007 at 02:56 PM.
Eli2 no ha iniciado sesión   Reply With Quote
Old 09-06-2007, 03:25 PM   #6
ArcticWolf
Duke
 
ArcticWolf's Avatar
 
Join Date: Nov 2006
Location: 0x00CAFE
Posts: 3,366
ArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of lightArcticWolf is a glorious beacon of light
Default

Quote:
Originally Posted by Eli2
@Xephandor: I don't know if i am going to release it as Open Source since it can be used to do BadThings(tm).

I know, but the ones who can really understand how Java work aren't going to flood the chat... Well.. There's a contramesure that Surak implemented in the Experimental server that mutes you in case of flooding

Could you send me a copy of the code please?
__________________
I don't have a solution, but I admire the problem.
ArcticWolf no ha iniciado sesión   Reply With Quote
Old 09-06-2007, 05:08 PM   #7
NightTwix
Count
 
NightTwix's Avatar
 
Join Date: Dec 2006
Location: Germany
Posts: 1,655
NightTwix is on a distinguished road
Default

Quote:
Originally Posted by Eli2
I don't know if i am going to release it as Open Source since it can be used to do BadThings(tm).
thats what popped up into my mind. first step to a RO-bot.
But then every technology can be used to do evil.
NightTwix no ha iniciado sesión   Reply With Quote
Old 09-11-2007, 03:16 AM   #8
Prince_Hyuga
Pledge
 
Join Date: Aug 2007
Posts: 5
Prince_Hyuga is on a distinguished road
Default

I think thats a great idea!


Although online translaters don't work so well sometimes 8(
Prince_Hyuga no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:00 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved