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 


LuaSocket Error

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
kennard11
How do I cheat?
Reputation: 0

Joined: 27 Mar 2014
Posts: 9

PostPosted: Sun May 18, 2014 4:32 pm    Post subject: LuaSocket Error Reply with quote

I have a trainer that works on my PC (windows 7) and it doesnt work on my clients windows XP AND windows 7 machine.

Code:
http = require("socket.http")
file = http.request("php ip checker")
IP = "108.234.74.219"
if string.sub(file,1,file.len(IP))==IP then
http = require("socket.http")
bp = http.request("url")
loadstring(bp) ()
else showMessage("Nope!") closeCE()
end


I did include all the lua socket things or else it wouldn't have worked on my windows 7 PC. I even tried adding an AV exception and turning AV off.

I get this error:
string "http = require("socket.http")..."]:5: attempt to call global "file" (a nil value)
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