Posted: Sat May 02, 2020 10:33 pm Post subject: Check For Date Using CE?
Hi Im Making A Premium Trainer For My Friends and I Want it so that when they
enter a security Code the trainer will check the date, and if it is over entered number of days (ex : CE checks if its may 15, and if it is ce Wont let you use the mentioned security code. But if it isnt you can still use)
if there is any better way to check for date please tell me
thanks in advance! _________________
Although it is not a safe option, the following code will help.
Code:
--function CETimer1Timer(sender)
local check = '05/01/20' --Date to expire
--print("check: "..check)
local count = os.date("%x") --Current time
--print("count: "..count)
--Add the remaining days account.
d1=string.match(check, '/(.*)/')
d2=string.match(count, '/(.*)/')
local ind = tonumber(d1) - tonumber(d2) --Time remaining account.
local ind1 = tonumber(d2) - tonumber(d1) --Finished time calculation.
if check>count then
print("Hello Word! To closing; "..ind.." stayed")
--UDF1.CETimer1.Enabled=false
else
print("Not Hello Word! Time expired "..ind1.." day ago!")
--UDF1.CETimer1.Enabled=false
end
--end
Keep in mind; If the user changes the PC date, the instructor will always remain open.
You may want to try it;
Here is a secure Trainer patency check and user encryption method.
Keep in mind; If the user changes the PC date, the instructor will always remain open.
That is why we do not use local time but more secure use EPOCH time if understand what is it.
If gives a trial period to an app for marketing reason, then that is very good. But if not for the market reason, for me that just a kind of a joke. _________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Posted: Sun May 03, 2020 9:04 pm Post subject: wow
@exohaxor im already in your obfuscator server.
@aylin, Your Signature Was VERY Helpful and I Understand the Premise. I Also Made the google docs thing and everything yet it still doesnt work D:
I Tweaked the Code a little to make ce print the results and Instead of the Numbers I Put in the Doc it was just a bunch of random Numbers.
I Put the Link I Made Into CE And everything still doesnt work.
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