Jump to content
  • 0

Help With Lua Script for data collection and creation of .csv file from it.


MrFundds

Question

Posted

Hi, I've been trying to collect data from a incremental game.

I can easily find the values I want to track, but what I want isn't really to hack the game, but to collect the information in a file. I haven't found any script made for this previously, sorry if there is already a answer for this.

What I was trying to find is a script, I think it's doable with Lua right? The goal was for the script to read the Tier and Wave values, and add the Health and Damage in a file, maybe a .csv style file for easy to use.

like:

Tier, Wave, Health, Damage

1, 1, 1.18, 3.15

1, 2, 1.53, 4.53

...

HD-Player_dSnIg2MDhD.thumb.png.48ea56ab1204d20bc1df8c119ad5cbbd.png

I know mostly are usually trying to hack and change values, my goal is actually to collect data from incremental games saving time in order to strategyse on them.

Thank you in advance.

6 answers to this question

Recommended Posts

Posted

Hi, i want to understand the operation ! you want to import data from the csv file or you want to write data to the csv file ?

Posted

I was trying to create a .csv file adding the values as they changed considering the image I've sent, the goal was a file like:

Tier,Wave,Damage,Health

1,1,1.18,3.35

1,2,1.69,4.59

...

Posted

Ah ok, so if i understand well you just want keep track of the saved list, if something changed you automatically get everything from the saved list and add to the csv file ?

Posted

Ok, so i uderstand,  tell me if it is what u want.

and also i have made a litle video to showhow the script work, link below

here i am using two gameguardian just to make change to the target value and trigger the script

 

to explain, the script just take watether value is in the saved list then watch them for change, if any value in the saved list change, all value are taken from the saved list then added to the csv file.

the file is created in the same directory level as the script is running


 

 

script.lua

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.