Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
translate RAW data to integer
translate RAW data to integer
12-04-2008, 01:22 PM
#1
BestZero
I tried
JASS:
call
BJDebugMsg
(
I2S
(
'Ac09'
))
the result is
1097019449
and it always be the same no matter what, so I assume that RAW data can be translated into integer. Is it true? If yes what is the formula of this translation?
12-04-2008, 01:52 PM
#2
Captain Griffen
'Ac09' is an integer, just not in decimal.
12-04-2008, 02:14 PM
#3
akolyt0r
was is it then ? hex ?
12-04-2008, 02:19 PM
#4
Captain Griffen
ASCII if I remember correctly.
12-04-2008, 02:41 PM
#5
BestZero
Quote:
Originally Posted by
Captain Griffen
ASCII if I remember correctly.
So do you know how to convert them to decimal? or at least what's next of
'Ac09'
. I tried
'Ac10' 'Ac1a' 'Ac1A'
but non of them are the next.
12-04-2008, 03:05 PM
#6
akolyt0r
if its ascii it should be
'Ac0:'
http://www.cdrummond.qc.ca/cegep/inf...ges/ascii1.gif
12-04-2008, 03:19 PM
#7
BestZero
Quote:
Originally Posted by
akolyt0r
if its ascii it should be
'Ac0:'
http://www.cdrummond.qc.ca/cegep/inf...ges/ascii1.gif
Yes, it is! My bad to not look carefully.
Thanks very much for you two, but so bad I don't have rep to give you.