CLEO Help read string from ini file & read dialog string

CLEO related
Status
Not open for further replies.

a10210319

Active member
Joined
Mar 21, 2014
Messages
38
Reaction score
0
Question 1.

Now, i have a problem

i try to read string from ini file , and i use 0AF4:

0AC8: 21@ = allocate_memory_size 260
0AC8: 17@ = allocate_memory_size 260
0AC8: 18@ = allocate_memory_size 260
0AF4: 21@v = read_string_from_ini_file "CLEO\ProAim.ini" section "AIM" key "Player1"
0AF4: 17@v = read_string_from_ini_file "CLEO\ProAim.ini" section "AIM" key "Player2"
0AF4: 18@v = read_string_from_ini_file "CLEO\ProAim.ini" section "AIM" key "Player3"
printf "%s %s" 5000 21@v 17@v

and ini file :
[AIM]
Player1=testname
Player2=testname
Player3=testname


but in the game , the result
XnmVr8a.jpg



what wrong?



Question 2.
i want to read dialog text , how can do that ?
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
17@v = 17@, 18@, 19@, 20@
So if you use 17@v you can't use 18@v then. Also, if you use 0ac8/9 you don't need to use @v.
So just remove the 'v' from all variables.
 

a10210319

Active member
Joined
Mar 21, 2014
Messages
38
Reaction score
0
springfield link said:
17@v = 17@, 18@, 19@, 20@
So if you use 17@v you can't use 18@v then. Also, if you use 0ac8/9 you don't need to use @v.
So just remove the 'v' from all variables.

thx you, Q1 is over

Anyone know how to read dialog string?
 
Status
Not open for further replies.
Top