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 


Using getInternet() - How to make this work in 6.6?

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

Joined: 25 Mar 2014
Posts: 17

PostPosted: Thu Mar 02, 2017 9:33 am    Post subject: Using getInternet() - How to make this work in 6.6? Reply with quote

Hi,

I've been using CE 6.4, I was given this script by a friend a while back but am now trying to get this script working in 6.6. Right now, it's just doing nothing, but I'm guessing I've done something wrong.. (I have tried to make it work with the new 6.6 getInternet().

Code:

function login()

      local cmdData = "command="..tostring("login&name="..name.Text);
      local int2 = getInternet()
      local Data1, Status = int2.getURL(loginURL..'login.php', cmdData);
      
   if (Status == 200 and Data1) then
      Data1 = (Data1);
      
   if string.find(Data1, "FAILED") then
      showMessage("login failed")
      closeCE()
      
   elseif string.find(Data1, "SUCCESS") then

   end
   end
   
end


Any help is greatly appreciated!
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sat Mar 04, 2017 7:51 am    Post subject: Reply with quote

adding :

Code:
load(data1, status)


should work ?
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