I get a error in the database.. it says [Err] 1062 - Duplicate entry '1' for key 'PRIMARY'
Fixed.. Now on the home page I get these
Quote:
Deprecated: Non-static method Auth::getUser() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\views\internalStart\index.php on line 71
Quote:
Deprecated: Non-static method Auth::getUser() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\views\internalStart\index.php on line 86
MMO
and
Quote:
Notice: Undefined property: View::$hall_of_fame_user in C:\xampp\htdocs\views\internalStart\index.php on line 112
players
public static function isLogged()
{
@session_start();
$logged = Session::get('loggedIn');
if($logged == true)
{
header('location: /internalStart');
exit;
}
}
public static function getUser($data)
{
@session_start();
$logged = Session::get('loggedIn');
if ($logged == true)
{
$db = new Database(DB_TYPE, DB_HOST, DB_NAME, DB_USER, DB_PASS);
$returnvalue = $db->select('SELECT '.$data.' FROM users WHERE id= :account_id', array('account_id' => Session::get('account_ID')));
return $returnvalue[0][$data];
}
}
public static function getUserSettings($data)
{
@session_start();
$logged = Session::get('loggedIn');
if ($logged == true)
{
$db = new Database(DB_TYPE, DB_HOST, DB_NAME, DB_USER, DB_PASS);
$returnvalue = $db->select('SELECT '.$data.' FROM users_settings WHERE playerid= :account_id', array('account_id' => Session::get('account_ID')));
return $returnvalue[0][$data];
}
}
public static function getUserByID($data, $id)
{
$db = new Database(DB_TYPE, DB_HOST, DB_NAME, DB_USER, DB_PASS);
$returnvalue = $db->select('SELECT '.$data.' FROM users WHERE id= :account_id', array('account_id' => $id));
return $returnvalue[0][$data];
}
}
?>
And also replace util/Server_status.php by this :
PHP Code:
<?php
class Server_status
{
public static function online_users()
{
$db = new Database(DB_TYPE, DB_HOST, DB_NAME, DB_USER, DB_PASS);
$req = $db->prepare('SELECT sval FROM server_statistics WHERE skey="active_connections"');
$req->execute();
Deprecated: Non-static method Auth::getUser() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\views\internalStart\index.php on line 71
Hi i have a problem the only problem i have on hamachi is this
when i go to trade the images of the ships and the scrollbar are okay
but when i click on the ship and buy it only make a refresh and follow with same ship (refresh of header.swf) also the under ship details are frozed there :
Speed : 360 Hit Points : 64000
Lasers : 6 Generators : 6
Extras : 1
[Open Beta] Orbit Reborn - Private Server 10/28/2014 - DarkOrbit - 105 Replies http://i.epvpimg.com/YgS1f.png
Presentation
Orbit Reborn is a DarkOrbit private server. This server try to bring back the old gameplay from 2008, that means there's no : PET, RSB, Hellstorm, ...
Features
- maps 1-1 / 2-1 / 3-1 / 4-1 / 4-2 / 4-3 / 4-4
- rockets : R-310, PLT-2026, PLT-2021
[Selling] Orbit Reborn Acc. 09/20/2014 - Browsergames Trading - 0 Replies Sellin "a" Orbit Reborn Acc with 275 Kills and Blue Design.^^
10 e*gold fast deal no probs.^^
[DarkOrbit] Orbit Reborn Private Server 02/28/2014 - DarkOrbit - 4 Replies Project presentation
Orbit Reborn is a private server of the game Dark Orbit. This server is developed only by me and is in Beta test.
How to join the server ?
You can join Orbit Reborn with this url = orbit-reborn
Orbit Reborn have also a TS3=orbit-reborn.com
orbit-reborn.com 01/20/2014 - Browsergames Trading - 1 Replies Orbit Reborn is the link its a darkorit remake but the old servers meaning just plain ships no pilot points pets rsb just x1,x2,x3,x4,sab its pvp battles private server you just sign up on the link its free to it keeps improving its awesome come join!!!!:rtfm::rtfm::rtfm::rtfm::rtfm: