Jump to content
Sign in to follow this  
Sven

sending same special characters on different input locales?

Recommended Posts

Sven

I've run into a problem. I have a game that doesn't support ASC inputs, yet I need to pass commands to it like "/start" or "/reload". To make matters worse,

send("/start")
works well in outputting
/start
on my standard german input locale, however if I switch it to english the output becomes
&start
which is completely useless.

Any ideas how I can make it type

/start
regardless of input locale?

Share this post


Link to post
Share on other sites
Valuater

maybe..

Send(Chr(47) & "start", 1)

or...

Send('"' & Chr(47) & 'start"', 1)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
Sven

sorry, no go. If the input locale is set to english instead of german, the output is

&start

Share this post


Link to post
Share on other sites
Sven

Can noone help me?

Share this post


Link to post
Share on other sites
enaiman

Try

send("{/}start")

I don't know if it would work but I remember having a similar problem once when a "+" didn't want to be sent and I had to put it into brackets.

Sorry if this is not working.


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites
PsaltyDS

Try
send("{/}start")oÝ÷ Øhmz0ø­Â¥w
+»­"·¦zfÞ®¯x²)¢ªé®åzj'qì!zvªº~ªê-v'gßÛpj{m¡·¬z{ZÒ!iÛh¦ëb¶)í¡ºÚrG­±*+¯(¶¬Éè·
+)àþ«¨µàèm~àzÛay~V ~ÒzwRzwb׫¦·­²Ê&zÊ^r&¥r«iË^®Ë.r¬ùú+HrO}ߢ°MëNÛa¢ÇªÚr׫²X­z¶¥+¶Ø^D¨ºÚ"µÍÙ[
    ][ÝÕÈ
È]È[  ÌÌÎÉ][ÝËJ

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
Sven

Sorry enaiman and PsaltyDS, still "&" instead of "/"... Why the raw method doesn't work is beyond me. If it doesn't send raw no matter what, what's the point in having it?

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×