Jump to content
Sign in to follow this  
_walker_

Request cc in foreign language

Recommended Posts

Request cc in foreign language

I want to implement modification for mybot to support cc requests in Russian (and may be other langs)
I've tried to use the same code as in Simbios mod to implement it:

					SetLog("Request in russian", $COLOR_BLUE)
					AutoItWinSetTitle('MyAutoItTitle')
					_WinAPI_SetKeyboardLayout(WinGetHandle(AutoItWinGetTitle()), 0x0419)
					Sleep(200)
					ControlFocus($g_hAndroidWindow, "", "")
					Sleep(200)
					SendKeepActive($g_hAndroidWindow)
					AutoItSetOption("SendKeyDelay", 50)
					If _SendExEx($g_sRequestTroopsText) = 0 Then
						Setlog(" Request text entry failed, try again", $COLOR_ERROR)
						Return
					EndIf

But it does not work. There are no error in logs. It's just types nothing. 
If I run Simbios mod it can type Russian requests. But it doesn't work for mybot even on the same memu (with the same configs)
@cosote does mybot supports typing using win method or it supports only adb method now?
Am I missed something?..
Is there somebody who tried the same? If so, could you share your experience?

Share this post


Link to post
Share on other sites
35 minutes ago, 13Bjorn said:

Bot already supports cyrillic and other alphabets, look closer at "Donate Troops" tab.

I think you are talking about different thing... look at the "Request Troops" tab

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...