[AutoIt]Read .lod files
#5

Okay I had tested a little bit and got this :

 

 

#include <array.au3>
Dim $MobName[1]
$number = 1
$File = FileOpen('mobname_usa.lod', 16)
$Read = FileRead($File)
FileClose($File)
$result = StringTrimLeft($Read, 18)
Do
$num = StringLeft($result, 2)
$result = StringTrimLeft($result, 8)
_ArrayAdd($MobName, BinaryToString("0x" & StringLeft($result, $num*2)))
$result = StringTrimLeft($result, $num *2 +8)
$number = $number +1
Until $number = 500
_ArrayDisplay($MobName)

 

 

not my work it's from fabi202cool copied



Messages In This Thread
[No subject] - by Sentence - 08-18-2012, 05:28 PM
[No subject] - by Wizatek - 08-18-2012, 05:32 PM
[No subject] - by Blackfire - 08-18-2012, 05:32 PM
[No subject] - by someone - 08-18-2012, 05:50 PM
[No subject] - by Sentence - 08-18-2012, 06:31 PM
[No subject] - by Sentence - 08-19-2012, 08:37 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)