Posted: Sun Oct 23, 2016 6:33 am Post subject: Check Version in file .txt
Hi, I have a game hack program. I got some problem to upgrade that program. Do you have any lua that running as check ver into a .txt file?
That means when I want to upgrade, I just need to change the ver in that .txt file. The old program will have notification when it has a new update
local url = "http://my.webpage.com/version.txt"
local TRAINER_VERSION = 1
local http = getInternet()
local version = http.getURL(url)
if tonumber(version) > TRAINER_VERSION then
showMessage("There is a new version!")
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum