Forum - Space Odyssey MMORPG - a massive free online space game

Feedback Terminal => "Bugs" and Problems => Topic started by: ash on August 11, 2006, 12:14:38 PM



Title: login problem
Post by: ash on August 11, 2006, 12:14:38 PM
Incorect username or password!
Your session may have expired. If you have trouble logging in, check no cookies option.


thats all it says

thanks Xerox

i think my account has been deleted????

but not by me??


erm sir emi can u bring it back?


Title: Re: login problem
Post by: fat monkey13 on August 12, 2006, 08:21:29 AM
Maybe you just got your username or password wrong. Just give it another few goes and then go on the forgot password button.


Title: Re: login problem
Post by: MasterOfOblivion on August 29, 2006, 07:06:49 PM
i am having the same problem on all my accounts someone help me


Title: Re: login problem
Post by: fat monkey13 on August 30, 2006, 09:01:18 AM
Maybe your accounts have been deleted because they've been inactive for a while. I'm not sure if that happens, but it's a possibility.


Title: Re: login problem
Post by: Hellsword on August 30, 2006, 09:49:19 AM
If htey do it takes quite a while, cause i found one of my freinds from a different game used to paly, convinced him to come back, and his account (# in 3ks) was still active...


Title: Re: login problem
Post by: Gunfighter Frank on September 01, 2006, 02:44:20 AM
there is a whole mess of problems with SO I am sure E is working on them.  We will just have to deal with them as best we can and give E time to find the problems


Title: Re: login problem
Post by: UberPWNZ0R on September 01, 2006, 05:18:49 AM
I noticed, that i cant login from some time if i do not check "no cookies"...
But i dont understand that login troubles, its a standard functionality of php with lots of examples, not some unusual game code, and it doeasnt work well :14:
Code:
	
// $remember is checkbox remember me :P
function auth($user_login, $user_password, $remember=false){

    if ($user_password && $user_login) {
    $user_password=md5($user_password);
        $sql="SELECT user_id, user_login, user_password etc FROM users WHERE user_login='".$user_login."' LIMIT 1";
        $row=$db->quick_fetch($sql); // fetch row with user
        if ($row['user_id']>0){
       
            if ($user_password==$row['user_password']) {
            $_SESSION['user_id']=$row['user_id'];

if($remember){
$this->_set_autologin_cookie(); // Set cookie to for autologin feature
}
return true;
            }
            else {
                return false;
            }
        }else{
            return false;
        }
    }else{
        return false;
    }
}

function _set_autologin_cookie($unset=false){
if($_SESSION['user_id'] > 0){
        $cookie=md5(uniqid(rand(0,10000),1));
        $sql="UPDATE users SET user_cookie='".$cookie."' WHERE user_id='".$_SESSION['user_id']."'";
        $this->db->query($sql);
        $cookie = serialize(array($_SESSION['user_id'], $cookie));
        setcookie('autologin', $cookie, time() + SESSION_TIME, COOKIE_PATH);
        }
        if($unset){
        setcookie('autologin', $cookie, 0, COOKIE_PATH);
        $_COOKIE['autologin']='';
        }
}
// Now when user visit page, and is not signed call _autologin();
function _autologin(){
    list($user_id, $cookie) = @unserialize(stripslashes($_COOKIE['autologin']));
    if (!$user_id or !$cookie) {
        return;
    }

$sql="SELECT user_id, user_login, user_cookie FROM users WHERE user_cookie = '".$cookie."' LIMIT 1";
$row=$this->db->quick_fetch($sql);
// printr($row);
if(($row['user_id']==$user_id) && ($row['user_cookie']==$cookie)){
$_SESSION['user_id']=$row['user_id'];
$this->_set_autologin_cookie(); // Set new cookie
}


}
Thats all deal with login :P Its part of class, so it will not work, but its just sample...


Title: Re: login problem
Post by: Hellsword on September 01, 2006, 03:31:31 PM
yeah also remember me check box doesnt work anymroe apparently.


Title: Re: login problem
Post by: Maverick Calrissian on September 18, 2006, 07:27:30 AM
im having the same problem last night i was on it fine and this morning i cant log in, username and password both correct but still no joy then i clicked forgot password and got a new password but still cant log in.


Title: Re: login problem
Post by: SirEmi on September 18, 2006, 07:32:59 AM
sorry about that, we had the items update up that caused a login problem, it should work fine now


Title: Re: login problem
Post by: SirEmi on September 18, 2006, 07:44:31 AM
Uber, Space Odyssey uses a complex method to authentication method across different servers, designed by me, and also a customized encryption method. It has many fail-safe measures that will not let you log in if it detects something is wrong in the system, or any anti-hacking fail-safe does not correspond...


Title: Re: login problem
Post by: Maverick Calrissian on September 18, 2006, 07:47:47 AM
ah ok  lol thanks. i think its good to have a very secure website. very good job sir


Title: Re: login problem
Post by: Seither on September 19, 2006, 11:44:42 AM
Too bad the forums aren't that secure *remembers when forums were hacked by some guy who was bored and wonders if maybe someone could hav done that to help the spambots get in and post*