• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Lua Dump Result

mrkaloshavip

New Member
Joined
Jun 3, 2021
Messages
5
Reaction score
0
This is a Dumped Data Saved into text file
"{ 1 = { 1 = { amount = 9, price = 16000, type = 0, id = { 1 = 1647649095, 2 = 28117, } , state = 0, item = userdata: 0x0d2d5860, var = 3360, player = Anonymous, } , 2 = { amount = 1, price = 16002, type = 0, id = { 1 = 1648321492, 2 = 42865, } , state = 0, item = userdata: 0x0d487f10, var = 3360, player = Anonymous, } , } , } "
All i Need to fillter only price to be result like this
16000,
16002
-----
Can someone help please
 
Solution
B
Solved. Helped him on discord. He only wanted to grab the highest value, so writing to a text file was unnecessary :)
We still dont know what do you want.. it looks like a json. Maybe its just lua. Anyway, when it gets dump, where to parse it etc
 
We still dont know what do you want.. it looks like a json. Maybe its just lua. Anyway, when it gets dump, where to parse it etc
i need to Filter this Result >>> "{ 1 = { 1 = { amount = 9, price = 16000, type = 0, id = { 1 = 1647649095, 2 = 28117, } , state = 0, item = userdata: 0x0d2d5860, var = 3360, player = Anonymous, } , 2 = { amount = 1, price = 16002, type = 0, id = { 1 = 1648321492, 2 = 42865, } , state = 0, item = userdata: 0x0d487f10, var = 3360, player = Anonymous, } , } , } " <<<

TO get result like this :
price = 16000,
price = 16002
 
Back
Top Bottom