[Release] DarkEmulator - Private Server Emulator

06/21/2015 13:11 Chirdo#91
very nice thank you so much
06/21/2015 14:14 Alexandrexs#92
Quote:
Originally Posted by MS-Colder View Post
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 filiposd1#93
what a mistake in Init.php?

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(['<', '>', '\'', '\'', '\\'], ['<', '>', '"', ''', '&#92;'], $_POST);
$_GET = str_replace(['<', '>', '\'', '\'', '\\'], ['<', '>', '"', ''', '&#92;'], $_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 Diаmonds#94
Quote:
Originally Posted by filiposd1 View Post
what a mistake in Init.php?

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 fuckin error message. Let me give you an hint : PASSWORD.
06/29/2015 14:52 Oskar5054#95
[Only registered and activated users can see links. Click Here To Register...]

There is a problem with Trade. :c

I can also buy items in the store.
07/16/2015 12:47 kdrhn68#96
what is commad?
07/16/2015 13:21 cryz35#97
Quote:
Originally Posted by kdrhn68 View Post
what is commad?
Suicide();
07/16/2015 13:26 kdrhn68#98
spcaball?
07/16/2015 13:40 S7K Yuuki#99
This emulator is fucking broken xD i'm working on something new, maybe one day you can see something about it

[Only registered and activated users can see links. Click Here To Register...]

Regards.-
07/16/2015 14:42 Destiny#100
Quote:
Originally Posted by S7K Yuuki View Post
This emulator is fucking broken xD i'm working on something new, maybe one day you can see something about it

[Only registered and activated users can see links. Click Here To Register...]

Regards.-
hehe my dark ui xd
07/16/2015 15:06 S7K Yuuki#101
Quote:
Originally Posted by edox77 View Post
hehe my dark ui xd
*Edit: I don't know if it is yours, Cryz gave me the SWF :D

Regards.-
07/16/2015 16:33 manulaiko3.0#102
Quote:
Originally Posted by edox77 View Post
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 Destiny#103
Quote:
Originally Posted by manulaiko3.0 View Post
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 manulaiko3.0#104
Quote:
Originally Posted by edox77 View Post
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 Destiny#105
its cool see emulator for new client work with Bau cms <3 (mybe i play with friends on hamachi :D)