Update sID.lua
This commit is contained in:
parent
b26eacf979
commit
da70d603ad
1 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ end
|
||||||
|
|
||||||
clear()
|
clear()
|
||||||
print("Checking Server...")
|
print("Checking Server...")
|
||||||
isDown = http.get("http://sertex.esy.es/status.php").readAll()
|
isDown = http.get("http://sertex.webege.com/status.php").readAll()
|
||||||
if isDown ~= "true" then
|
if isDown ~= "true" then
|
||||||
sPhone.winOk("The server is down", "Retry later")
|
sPhone.winOk("The server is down", "Retry later")
|
||||||
return
|
return
|
||||||
|
@ -56,7 +56,7 @@ local function login()
|
||||||
term.clearLine()
|
term.clearLine()
|
||||||
pw = read("*")
|
pw = read("*")
|
||||||
sertextext.center(11, " Checking...")
|
sertextext.center(11, " Checking...")
|
||||||
rServer = http.post("http://sertex.esy.es/login.php", "user="..name.."&password="..pw).readAll()
|
rServer = http.post("http://sertex.webege.com/login.php", "user="..name.."&password="..pw).readAll()
|
||||||
if rServer ~= "true" then
|
if rServer ~= "true" then
|
||||||
print(" Wrong Username/Password")
|
print(" Wrong Username/Password")
|
||||||
sleep(2)
|
sleep(2)
|
||||||
|
@ -100,7 +100,7 @@ local function register()
|
||||||
term.clearLine()
|
term.clearLine()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local rServer = http.post("http://sertex.esy.es/register.php", "user="..name.."&password="..pw).readAll()
|
local rServer = http.post("http://sertex.webege.com/register.php", "user="..name.."&password="..pw).readAll()
|
||||||
if rServer ~= "Success!" then
|
if rServer ~= "Success!" then
|
||||||
print("Username already exists")
|
print("Username already exists")
|
||||||
sleep(2)
|
sleep(2)
|
||||||
|
|
Loading…
Reference in a new issue