Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to Make something like this??

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
gamers01
Cheater
Reputation: 0

Joined: 27 Sep 2013
Posts: 45

PostPosted: Sun Jan 26, 2014 4:42 am    Post subject: How to Make something like this?? Reply with quote

we make a trainer already and we share but we want to add a msg in it like "download new version" so how can it also been show in the trainer that is already made????
ty Smile
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Sun Jan 26, 2014 7:46 pm    Post subject: Reply with quote

Unless you already scripted the trainer to check and display the message, you can't.
_________________
Back to top
View user's profile Send private message
Hatschi
Master Cheater
Reputation: 2

Joined: 28 Jan 2010
Posts: 327

PostPosted: Mon Jan 27, 2014 9:13 am    Post subject: Reply with quote

Of course he can but it requires assembly knowledge. Just jump from the entry point to a codecave where you created your webrequest or messagebox or whatever you want to do and jmp back.

If it shouldn't be directly on startup you may need to find another entry spot. But all in all it's more complicate than just editing the source code of your trainer.
Back to top
View user's profile Send private message
abhijeet1001
Advanced Cheater
Reputation: 0

Joined: 10 Apr 2013
Posts: 87

PostPosted: Mon Jan 27, 2014 12:30 pm    Post subject: Reply with quote

Code:
http = require("socket.http")

function timeZone()
  local now = os.time()
  return os.difftime(now, os.time(os.date('!*t',now)))
end

local ServerTime = http.request("http://worldtimeengine.com/function/sync")
local CurTime = tonumber(ServerTime:sub(21,-6))
local MaxTime = os.time{year=2014, month=5, day=14, hour=23, min=59, sec=59, isdst=false} + timeZone()

if MaxTime<=CurTime then showMessage("Your msg")  else return end


Use this script at begining of ur script it will check date and time from the server and return it , if u set it according to time u want to show message after , what u want can be accomplished

or another way is use lua socket to call ur scripts directly from ur server so then u can edit it on server and do
Code:
showMessage("whateer")


and thus anyone later who ever runs ur program can see that msg
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Mon Jan 27, 2014 4:24 pm    Post subject: Reply with quote

Uh, I think he's talking about the version that's already on other people's computers, which he can't edit...
_________________
Back to top
View user's profile Send private message
gamers01
Cheater
Reputation: 0

Joined: 27 Sep 2013
Posts: 45

PostPosted: Tue Jan 28, 2014 11:06 am    Post subject: Reply with quote

yes rydian i am talking about that kind of script Smile
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Tue Jan 28, 2014 8:18 pm    Post subject: Reply with quote

You can't edit the files that are already on their personal computers.

Unless you already put some sort of checking or remote notification script into those versions before they downloaded them, you can't do this.

_________________
Back to top
View user's profile Send private message
aailaa
How do I cheat?
Reputation: 0

Joined: 22 Oct 2012
Posts: 4
Location: India

PostPosted: Fri Feb 28, 2014 3:17 pm    Post subject: does it matter ? Reply with quote

Can you please explain it once more ?
_________________
-=
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites