Update sID.lua

This commit is contained in:
Ale32bit 2015-11-11 17:43:33 +01:00
parent ce44b94db0
commit cd3b2270de

View file

@ -33,7 +33,7 @@ end
clear()
print("Checking Server...")
isDown = http.get("http://sertex.esy.es/status.php").readAll()
isDown = http.get("http://sertex.x10.bz/status.php").readAll()
if isDown ~= "true" then
sPhone.winOk("The server is down", "Retry later")
return
@ -56,7 +56,7 @@ local function login()
term.clearLine()
pw = read("*")
sertextext.center(11, " Checking...")
rServer = http.post("http://sertex.esy.es/login.php", "user="..name.."&password="..pw).readAll()
rServer = http.post("http://sertex.x10.bz/login.php", "user="..name.."&password="..pw).readAll()
if rServer ~= "true" then
print(" Wrong Username/Password")
sleep(2)
@ -100,7 +100,7 @@ local function register()
term.clearLine()
end
end
local rServer = http.post("http://sertex.esy.es/register.php", "user="..name.."&password="..pw).readAll()
local rServer = http.post("http://sertex.x10.bz/register.php", "user="..name.."&password="..pw).readAll()
if rServer ~= "Success!" then
print("Username already exists")
sleep(2)