You last visited: Today at 20:15
Advertisement
[Release] DarkEmulator - Private Server Emulator
Discussion on [Release] DarkEmulator - Private Server Emulator within the DarkOrbit forum part of the Browsergames category.
06/21/2015, 13:11
#91
elite*gold: 70
Join Date: Jun 2014
Posts: 510
Received Thanks: 88
very nice thank you so much
06/21/2015, 14:14
#92
elite*gold: 0
Join Date: Oct 2012
Posts: 13
Received Thanks: 2
Quote:
Originally Posted by
MS-Colder
my conextion mysql dont work please help in my emulator
Check the configuration,
Probably the topic has the answers,
And a printSc showing the error would also help a lot.
06/21/2015, 14:26
#93
elite*gold: 0
Join Date: Mar 2014
Posts: 7
Received Thanks: 0
Init.php Error
what a mistake in Init.php?
Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 52
Notice: Undefined variable: mysqli in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 56
Notice: Trying to get property of non-object in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 56
Error de Conexi?n MySQLi (1045)
what a mistake in Init.php?
Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 52
Notice: Undefined variable: mysqli in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 56
Notice: Trying to get property of non-object in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 56
Error de Conexi?n MySQLi (1045)
Init php:
Quote:
<?php
define('IP', str_replace('::1', '127.0.0.1', $_SERVER['REMOTE_ADDR']));
define('KERNEL', dirname(__FILE__) . DIRECTORY_SEPARATOR);
ini_set('default_charset', 'UTF-8');
ini_set('expose_php', 0);
ini_set('session.name', 'DO-BPP1');
ini_set('session.gc_probability', 10);
ini_set('session.gc_divisor', 100);
ini_set('session.cookie_httponly', 1);
ini_set('session.gc_maxlifetime', 600);
ini_set('zlib_output_compression', 'On');
$_SERVER['REQUEST_URI'] = str_replace('.php', '', strtolower($_SERVER['REQUEST_URI']));
if(strstr($_SERVER['REQUEST_URI'], '?')):
define ('URI', explode('?', $_SERVER['REQUEST_URI'])[0]);
else:
define ('URI', $_SERVER['REQUEST_URI']);
endif;
@session_start();
require_once(KERNEL . "/Server.Config.php");
if(!empty($_SERVER['SERVER_NAME'])):
$_Server = str_replace("www.", "", $_SERVER['SERVER_NAME']);
if(!empty($Config['URL']["devPrivateServer"]) && ($Config['URL']["devPrivateServer"] === $_SERVER['SERVER_NAME'])):
$Config['Lang'] = $Config['URL']['Default']['Lang'];
define("SERVER", "http://" . $_SERVER['SERVER_NAME']);
define("HOST", $_SERVER['SERVER_NAME']);
define("sSERVER", "http://" . $_SERVER['SERVER_NAME']);
elseif(isset($Config['URL']['Other'][$_Server])):
$Config['MySQL'] = $Config['URL']['Other'][$_Server]['MySQL'];
$Config['Lang'] = $Config['URL']['Other'][$_Server]['Lang'];
define("SERVER", ($Config['URL']['Other'][$_Server]["Require.www"]) ? "http://www." . $_Server : "http://" . $_Server);
define("HOST", ($Config['URL']['Other'][$_Server]["Require.www"]) ? "www." . $_Server : $_Server);
define("sSERVER", ($Config['URL']['Other'][$_Server]["SSL.enabled"]) ? "https://" . HOST : "http://" . HOST);
elseif(!empty($Config['URL']["Default"]["Server"])):
$Config['Lang'] = $Config['URL']['Default']['Lang'];
define("SERVER", ($Config["URL"]["Default"]["Require.www"]) ? "http://www." . $Config['URL']["Default"]["Server"] : "http://" . $Config['URL']["Default"]["Server"]);
define("HOST", ($Config["URL"]["Default"]["Require.www"]) ? "www." . $Config['URL']["Default"]["Server"] : $Config['URL']["Default"]["Server"]);
define("sSERVER", ($Config["URL"]["Default"]["SSL.enabled"]) ? "https://" . HOST : "http://" . HOST);
else:
echo "You don?t have access.";
exit;
endif;
else:
exit;
endif;
$MySQLi = new mysqli($Config['MySQL']["host"], $Config['MySQL']["user"], $Config['MySQL']["pass"], $Config['MySQL']["dbname"]);
if ($MySQLi->connect_error) {
die('Error de Conexi?n MySQLi (' . $MySQLi->connect_errno . ') '
. $mysqli->connect_error);
}
$_mysqliCharacter = $MySQLi->character_set_name();
require_once 'Class.Core.php';
$Core = new Core();
require_once 'Class.Users.php';
$Users = new Users();
require_once 'Class.GalaxyGate.php';
$GalaxyGate = new GalaxyGate();
require_once 'Class.inventory.php';
$inventory = new inventory();
require_once 'Class.reg.php';
$reg = new register();
require_once 'Class.shop.php';
$shop = new shop();
require_once 'Class.base.php';
$base = new base();
require_once 'Class.clan.php';
$clan = new clan();
require_once 'Class.rank.php';
$rnk = new rank();
require_once 'Class.auction.php';
$auc = new auction();
require_once 'Class.log.php';
$log = new log();
require_once 'Class.news.php';
require_once 'Class.db.php';
$db = new DB();
$db::getInstance();
$GLOBALS['DB'] = $db::$instance;
// AntiHTML & SQL Injection
$_POST = str_replace(['<', '>', '\'', '\'', '\\'], ['<', '>', '"', ''', '\'], $_POST);
$_GET = str_replace(['<', '>', '\'', '\'', '\\'], ['<', '>', '"', ''', '\'], $_GET);
DEFINE('FILES', KERNEL . 'Files/' . DIRECTORY_SEPARATOR . $Config['Lang'] . DIRECTORY_SEPARATOR);
DEFINE('GLOBALS', FILES . '/GLOBAL/');
DEFINE('DynHost', 'localhost');
$errorShown = false;
?>
06/21/2015, 14:37
#94
elite*gold: 1
Join Date: Oct 2013
Posts: 1,257
Received Thanks: 1,276
Quote:
Originally Posted by
filiposd1
what a mistake in Init.php?
Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 52
Notice: Undefined variable: mysqli in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 56
Notice: Trying to get property of non-object in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 56
Error de Conexi?n MySQLi (1045)
what a mistake in Init.php?
Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 52
Notice: Undefined variable: mysqli in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 56
Notice: Trying to get property of non-object in H:\xampp\htdocs\KERNEL-DOCMS\Init.php on line 56
Error de Conexi?n MySQLi (1045)
Init php:
Read the ****** error message. Let me give you an hint : PASSWORD.
06/29/2015, 14:52
#95
elite*gold: 0
Join Date: Feb 2011
Posts: 2
Received Thanks: 0
There is a problem with Trade. :c
I can also buy items in the store.
07/16/2015, 12:47
#96
elite*gold: 0
Join Date: Feb 2014
Posts: 10
Received Thanks: 0
what is commad?
07/16/2015, 13:21
#97
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
Quote:
Originally Posted by
kdrhn68
what is commad?
Suicide();
07/16/2015, 13:26
#98
elite*gold: 0
Join Date: Feb 2014
Posts: 10
Received Thanks: 0
spcaball?
07/16/2015, 13:40
#99
elite*gold: 0
Join Date: Apr 2015
Posts: 246
Received Thanks: 398
This emulator is ******* broken xD i'm working on something new, maybe one day you can see something about it
Regards.-
07/16/2015, 14:42
#100
elite*gold: 2
Join Date: Jun 2012
Posts: 990
Received Thanks: 565
Quote:
Originally Posted by
S7K Yuuki
This emulator is ******* broken xD i'm working on something new, maybe one day you can see something about it
Regards.-
hehe my dark ui xd
07/16/2015, 15:06
#101
elite*gold: 0
Join Date: Apr 2015
Posts: 246
Received Thanks: 398
Quote:
Originally Posted by
edox77
hehe my dark ui xd
*Edit: I don't know if it is yours, Cryz gave me the SWF
Regards.-
07/16/2015, 16:33
#102
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by
edox77
hehe my dark ui xd
I also made a Dark interface for DarkOrbit Remix PS really time ago and not for that I say everywhere there's a dark interface "Hey look, they're using my files!"
07/16/2015, 16:47
#103
elite*gold: 2
Join Date: Jun 2012
Posts: 990
Received Thanks: 565
Quote:
Originally Posted by
manulaiko3.0
I also made a Dark interface for DarkOrbit Remix PS really time ago and not for that I say everywhere there's a dark interface "Hey look, they're using my files!"
you make it for 4.1 client i make it for 9.0 i dont use your images
07/17/2015, 16:16
#104
elite*gold: 0
Join Date: May 2014
Posts: 663
Received Thanks: 1,154
Quote:
Originally Posted by
edox77
you make it for 4.1 client i make it for 9.0 i dont use your images
I've never said you did.
07/18/2015, 01:40
#105
elite*gold: 2
Join Date: Jun 2012
Posts: 990
Received Thanks: 565
its cool see emulator for new client work with Bau cms <3 (mybe i play with friends on hamachi
)
All times are GMT +2. The time now is 20:18 .