Page 1 of 1

getText() reversing

Posted: Sat Dec 21, 2013 9:59 am
by gloover
Hey rock and other experts

I'm trying to create some waypoints for international using so at this time I'm using ChoiceOptionByName("Join the Silvershadow Adventurers' Guild?") and want to write this in ChoiceOptionByName(getTEXT("SC_425068_0")) [excerpt from Bill D Cat's wp].

So how can I get this number "SC_425068_0" ?

thx in advance

Re: getText() reversing

Posted: Sat Dec 21, 2013 10:56 am
by rock5
There are a number of ways.

1. Use the language viewer tool. http://www.solarstrike.net/phpBB3/viewt ... 258#p22258
2. Use the relatively new bot function getKeyString. Start the commandline waypoint file and then type

Code: Select all

print(getKeyString("Your local text here"))
This should print the 'key string' (that's what I call strings like "SC_425068_0"). If you need to use special characters you will have to use slash codes for the utf8 characters eg. \195\132 (I'll be fixing that in the future).
3. Lisa's way (I think this is how Lisa does it) of searching in memory using CheatEngine and finding the key string that way.

Can't think of any other ways.

Re: getText() reversing

Posted: Sat Dec 21, 2013 7:32 pm
by lisa
Pretty much, I use CE because you don't even need to be logged into the game, just need it started and at login screen.

A bot function to do it would be handy though ;)