|
You last visited: Today at 06:27
Advertisement
Private Server Info and Support Thread
Discussion on Private Server Info and Support Thread within the DarkOrbit forum part of the Browsergames category.
10/20/2014, 03:38
|
#1036
|
elite*gold: 0
Join Date: Jun 2011
Posts: 297
Received Thanks: 14
|
I need a Emulator :-)
|
|
|
10/20/2014, 07:19
|
#1037
|
elite*gold: 3570
Join Date: Dec 2012
Posts: 13,043
Received Thanks: 8,252
|
Quote:
Originally Posted by Puma<3
I need a Emulator :-)
|
Like I told you in PM. Then code one by yourself.
|
|
|
10/20/2014, 21:16
|
#1038
|
elite*gold: 0
Join Date: Sep 2014
Posts: 270
Received Thanks: 21
|
i have a problem , i can't see the ship and drones in it
1
2.
|
|
|
10/21/2014, 00:43
|
#1039
|
elite*gold: 0
Join Date: Oct 2014
Posts: 35
Received Thanks: 1
|
These are the lines that I can understand.
Notice: Undefined index: in C:\xampp\KERNEL-DOCMS\Init.php on line 52
Notice: Undefined index: darkorbit in C:\xampp\KERNEL-DOCMS\Init.php on line 52
Notice: Trying to get property of non-object in C:\xampp\htdocs\index.php on line 10
These are my real problems
Quote:
$MySQLi = new mysqli($Config['MySQL']["host"], $Config['MySQL']["user"], $Config['MySQL'][""], $Config['MySQL']["do"]);
if ($MySQLi->connect_error) {
die('Error de Conexión MySQLi (' . $MySQLi->connect_errno . ') '
. $mysqli->connect_error);
}
|
Quote:
|
if(strlen($_POST['loginForm_default_password']) < 6 || strlen($_POST['loginForm_default_password']) > 20 || !preg_match('`[0-9]`', $_POST['loginForm_default_password']) || $_POST['loginForm_default_password'] === '******' || strlen($_POST['loginForm_default_username']) < 3 || strlen($_POST['loginForm_default_username']) > 20):
|
Can you help me somehow?
Source from :
I look somehow not
Thanks in advance
|
|
|
10/21/2014, 01:19
|
#1040
|
elite*gold: 1
Join Date: Aug 2010
Posts: 1,330
Received Thanks: 1,724
|
#CORBELLIvonTIE
Can you please tell us more information, connection sintax and a conditional don't help us much to find your solution?
What's your problem exactly?
|
|
|
10/21/2014, 02:11
|
#1041
|
elite*gold: 0
Join Date: Oct 2014
Posts: 35
Received Thanks: 1
|
My past mistakes You know now:
Notice: Undefined index: in C:\xampp\KERNEL-DOCMS\Init.php on line 52
Notice: Undefined index: darkorbit in C:\xampp\KERNEL-DOCMS\Init.php on line 52
This is but mine appears, if I start the localhost.
When I try to login, but just adds an error.
Notice: Trying to get property of non-object in C:\xampp\htdocs\index.php on line 10
and by registration have i this error :
Notice: Trying to get property of non-object in C:\xampp\htdocs\index.php on line 47
I have to do whatever localhost/index.php, as only localhost does not work.
I think it is somewhere at the MySQL in the area login.
What do you want for still have more accurate?
Can provide everything from love to pure Init.php and index.php if it helps.
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(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'][""], $Config['MySQL']["do"]);
if ($MySQLi->connect_error) {
die('Error de Conexión MySQLi (' . $MySQLi->connect_errno . ') '
. $mysqli->connect_error);
}
$_mysqliCharacter = $MySQLi->character_set_name();
require 'Class.Core.php';
$Core = new Core();
require 'Class.Users.php';
$Users = new Users();
// 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/');
?>
|
index.php
Quote:
<?php
require '../KERNEL-DOCMS/Init.php';
if(isset($_POST['loginForm_default_username'], $_POST['loginForm_default_password'], $_POST['loginForm_default_login_submit']) && $_POST['loginForm_default_login_submit'] === 'Login'):
$errorData = "";
if(strlen($_POST['loginForm_default_password']) < 6 || strlen($_POST['loginForm_default_password']) > 20 || !preg_match('`[0-9]`', $_POST['loginForm_default_password']) || $_POST['loginForm_default_password'] === '******' || strlen($_POST['loginForm_default_username']) < 3 || strlen($_POST['loginForm_default_username']) > 20):
$errorData .= '<p class="singup_errorMessage signup_errorMessage">Username and password combination doesn\'t exist.<br>Please check your info and try again.</p>';
else:
$query = $MySQLi->query('SELECT ID, Email FROM users WHERE Name = \'' .$_POST['loginForm_default_username'] . '\' AND pwHash = \'' . md5($_POST['loginForm_default_password']) . '\' LIMIT 1');
if($query->num_rows === 1):
$row = $query->fetch_assoc();
$sessionId = $Core::GenerateRandom(18, true, false);
$MySQLi->query('UPDATE users SET sessionId = \' ' . $sessionId . '\' WHERE ID = ' . $row['ID'] . '');
$_SESSION['server1']['user']['sessionId'] = $sessionId;
$_SESSION['server1']['user']['email'] = $row['Email'];
header('Location: /indexInternal.es?action=internalStart');
else:
$errorData .= '<p class="singup_errorMessage signup_errorMessage">Username and password combination doesn\'t exist.<br>Please check your info and try again.</p>';
endif;
endif;
elseif(isset($_POST['signup_winnings'], $_POST['signup_username'], $_POST['signup_submit'], $_POST['signup_province'], $_POST['signup_passwordRepeat'], $_POST['signup_password'], $_POST['signup_newsletter'], $_POST['signup_instance'], $_POST['signup_email'], $_POST['signup_country'], $_POST['signup_birthdayYear'], $_POST['signup_birthdayMonth'], $_POST['signup_birthdayDay'])):
if($_POST['signup_submit'] == 'Register'):
$errorData = "";
if(strlen($_POST['signup_password']) < 6):
$errorData .= '<p class="singup_errorMessage signup_errorMessage">The password is too short. Please choose a new password which has between 4 and 20 characters.</p>';
elseif(strlen($_POST['signup_password']) > 20):
$errorData .= '<p class="singup_errorMessage signup_errorMessage">The password is too long. Please choose a new password which has between 4 and 20 characters.</p>';
elseif(!preg_match('`[0-9]`', $_POST['signup_password'])):
$errorData .= '<p class="singup_errorMessage signup_errorMessage">The password must include numbers.</p>';
endif;
if(strlen($_POST['signup_username']) < 3):
$errorData .= '<p class="singup_errorMessage signup_errorMessage">This username is too short. Please choose a new username which has between 3 and 20 characters.</p>';
elseif(strlen($_POST['signup_username']) > 20):
$errorData .= '<p class="singup_errorMessage signup_errorMessage">This username is too long. Please choose a new username which has between 3 and 20 characters.</p>';
endif;
if(empty($_POST['signup_email']) || strlen($_POST['signup_email']) > 50 || preg_match("/^[a-z0-9_\.-]+@([a-z0-9]+([\-]+[a-z0-9]+)*\.)+[a-z]{2,7}$/i", $_POST['signup_email']) !== 1):
$errorData .= '<p class="singup_errorMessage signup_errorMessage">Your e-mail address doesn\'t seem to be correct. Please enter a valid e-mail address.</p>';
endif;
if(!isset($_POST['signup_termsAndCondition']) || $_POST['signup_termsAndCondition'] !== '1'):
$errorData .= '<p class="singup_errorMessage signup_errorMessage">Please confirm that you have accepted our Terms & Conditions. Afterwards, you may continue with your registration.</p>';
endif;
if($errorData === ''):
if($MySQLi->query('SELECT null FROM users WHERE Name = \'' .$_POST['signup_username'] . '\'')->num_rows > 0):
$errorData .= '<p class="singup_errorMessage signup_errorMessage">This username already exists. Please select another username.</p>';
else:
$sessionId = $Core::GenerateRandom(18, true, false);
if($MySQLi->query('INSERT INTO users (Email, Name, pwHash, Servers, sessionId) VALUES (\'' . $_POST['signup_email'] . '\', \'' . $_POST['signup_username'] . '\', \'' . md5($_POST['signup_password']) . '\', \'\', ' . $sessionId . ');')):
$userId = $MySQLi->insert_id;
$MySQLi->multi_query('INSERT INTO server_1_players (userId, settings) VALUES (' . $userId . ', \'\');UPDATE users SET Servers = \'[{1:' . $MySQLi->insert_id . '}]\' WHERE ID = \'' . $userId . '\'');
$_SESSION['server1']['user']['sessionId'] = $sessionId;
$_SESSION['server1']['user']['email'] = $_POST['signup_email'];
header('Location: /indexInternal.es?action=internalCompanyChoose');
endif;
endif;
endif;
endif;
endif;
require GLOBALS . 'doc.php';
require GLOBALS . 'header.php';
require FILES . 'INDEX/header.php';
require GLOBALS . 'sajax.php';
require GLOBALS . 'xajax.php';
require GLOBALS . 'headerEndJS.php';
require FILES . 'INDEX/jsSubmit.php';
echo '</head>';
require FILES . 'INDEX/bodyHeader.php';
require FILES . 'INDEX/body.php';
require FILES . 'INDEX/bodyFooter.php';
?>
|
These are the two relevant things, but login and register did not go so far.
Or what you are looking for?
Moreover, the offered emulator was there goes not with me.
Windows then says always that the was wrong and the program closes without error message.
Recommended I found not just that.
Whether with me at all times which can work?
Is really no longer bearable.
The Dark Orbit Server OLD worked well, only fully bugged -.-
Sorry for my bad English, really do not speak any language other than German
|
|
|
10/21/2014, 03:18
|
#1042
|
elite*gold: 0
Join Date: Oct 2014
Posts: 84
Received Thanks: 100
|
Quote:
Originally Posted by CORBELLIvonTIE
My past mistakes You know now:
Notice: Undefined index: in C:\xampp\KERNEL-DOCMS\Init.php on line 52
Notice: Undefined index: darkorbit in C:\xampp\KERNEL-DOCMS\Init.php on line 52
This is but mine appears, if I start the localhost.
When I try to login, but just adds an error.
Notice: Trying to get property of non-object in C:\xampp\htdocs\index.php on line 10
and by registration have i this error :
Notice: Trying to get property of non-object in C:\xampp\htdocs\index.php on line 47
I have to do whatever localhost/index.php, as only localhost does not work.
I think it is somewhere at the MySQL in the area login.
What do you want for still have more accurate?
Can provide everything from love to pure Init.php and index.php if it helps.
Init.php
index.php
These are the two relevant things, but login and register did not go so far.
Or what you are looking for?
Moreover, the offered emulator was there goes not with me.
Windows then says always that the was wrong and the program closes without error message.
Recommended I found not just that.
Whether with me at all times which can work?
Is really no longer bearable.
The Dark Orbit Server OLD worked well, only fully bugged -.-
Sorry for my bad English, really do not speak any language other than German 
|
Hello, thanks for taking the time to provide us with information to help you. However, I don't think that this is relevant information you're providing us. If you don't mind, adding me on Skype or something and passing me your TeamViewer so I can take a look at the CMS and fix your issue, I'd be glad to help.
Best Regards,
DarkSkiesDO
Skype: reptilen13
|
|
|
10/21/2014, 04:13
|
#1043
|
elite*gold: 0
Join Date: Oct 2014
Posts: 35
Received Thanks: 1
|
big thanks to you.
DarkSkiesDO
Can only recommend it.
|
|
|
10/21/2014, 13:56
|
#1044
|
elite*gold: 0
Join Date: Oct 2014
Posts: 84
Received Thanks: 100
|
Quote:
Originally Posted by CORBELLIvonTIE
You have a PN from me 
|
I fixed your errors. I must go to school now. Bye.
Best Regards,
DarkSkiesDO
|
|
|
10/22/2014, 13:47
|
#1045
|
elite*gold: 0
Join Date: Oct 2014
Posts: 35
Received Thanks: 1
|
Does anyone know how I make new ships into the game?
The SWF is now ship200.swf added to ship206.swf already have
Do I have something in mind when the old server so that it accepts?
On the Azure are indeed available, just not on the old server.
Now I want to integrate with the missing, only on the map then it shows always the Yamato. *arg*
Meanness
|
|
|
10/22/2014, 19:42
|
#1046
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
|
Quote:
Originally Posted by CORBELLIvonTIE
Does anyone know how I make new ships into the game?
The SWF is now ship200.swf added to ship206.swf already have
Do I have something in mind when the old server so that it accepts?
On the Azure are indeed available, just not on the old server.
Now I want to integrate with the missing, only on the map then it shows always the Yamato. *arg*
Meanness 
|
Spacemap/xml/resources.xml and game.xml
if your client is 2.x you should add them to spacemap.swf
|
|
|
10/22/2014, 19:52
|
#1047
|
elite*gold: 2
Join Date: Jun 2012
Posts: 988
Received Thanks: 562
|
2.x use game xml know my v2.1.20
only old have all in spacemap.swf
|
|
|
10/22/2014, 20:39
|
#1048
|
elite*gold: 0
Join Date: Jul 2013
Posts: 22
Received Thanks: 3
|
How can i open the emulator?
|
|
|
10/22/2014, 20:45
|
#1049
|
elite*gold: 0
Join Date: Jan 2012
Posts: 1,997
Received Thanks: 3,422
|
Quote:
Originally Posted by AceHardlightHUN
How can i open the emulator?
|
Double click on it.
|
|
|
10/22/2014, 20:53
|
#1050
|
elite*gold: 0
Join Date: Jul 2013
Posts: 22
Received Thanks: 3
|
Quote:
Originally Posted by NoCheatImPGM
Double click on it.
|
-.- java emulator Double click??? -.- funny
|
|
|
Similar Threads
|
Private private server :P READ FOR MORE INFO
12/01/2010 - SRO Private Server - 12 Replies
hey guys im wondering if there is anyway to make a real private server like ZSZC or SWSRO or MYSRO but to where i can only play and level a character and as if it was a real private server. but just for me, not like an emulator where im already lvl 90 or 120 or whatever. i mean one where i set the rates and i level. if not then ok u can close this. but i was just wondering.
|
All times are GMT +1. The time now is 06:27.
|
|