Private Server Info and Support Thread

01/06/2016 22:16 manulaiko3.0#2371
Quote:
Originally Posted by =INFINITY= View Post
sweet
[Only registered and activated users can see links. Click Here To Register...]
You don't need to post a pic of everything you do
01/08/2016 13:08 nykomc#2372
Please help! I want to move station eic and vru in 1-1 wath i change ?
01/08/2016 13:42 Requi#2373
Quote:
Originally Posted by nykomc View Post
Please help! I want to move station eic and vru in 1-1 wath i change ?
The position parameter
01/09/2016 04:40 stars093#2374
Hello someone can give php files , or tell me where I can find them for the hall of fame for the clan destroyed ships and factions = )
01/09/2016 05:11 cryz35#2375
Quote:
Originally Posted by stars093 View Post
Hello someone can give php files , or tell me where I can find them for the hall of fame for the clan destroyed ships and factions = )
You don't, you code
01/11/2016 09:14 nykomc#2376
Quote:
Originally Posted by Requi View Post
The position parameter

I change mapID in IndexInternal.es
if (isset($_GET['action'])):
if ($_GET['action'] === 'internalCompanyChoose' && $Users->DataRow['factionId'] === '0'):
$factory->setId($Users->DataRow['ID'], $Users->DataRow['playerID']);
if (isset($_GET['subaction'], $_GET['factionID']) && $_GET['subaction'] === 'factionChoose' && $_GET['factionID'] > 0 && $_GET['factionID'] < 4):
$mapId = 1;
if ($_GET['factionID'] === '1') {
$mapId = 16;
$x = 1000;
$y = 1000;
} elseif ($_GET['factionID'] === '2') {
$mapId = 16;
$x = 19800;
$y = 1000;
} else {
$mapId = 16;
$x = 10000;
$y = 11700;
};


And i change in emulator this

public void SendStations()
{


if (MapId == 1)
{
Send("0|s|0|1|redStation|1|1500|1000|1000");
}
else if (MapId == 16)
{
Send("0|s|0|1|blueStation|2|1500|19800|1000");
}
else if (MapId == 16)
{
Send("0|s|0|1|greenStation|3|1500|19600|11900");
}


}

when i send this in emulator no see the base

wath i need to change to see the bases in 4-4?
01/11/2016 10:43 Diаmonds#2377
Quote:
Originally Posted by nykomc View Post
Code:
else if (MapId == 16)
{
Send("0|s|0|1|blueStation|2|1500|19800|1000");
}
else if (MapId == 16)
{
Send("0|s|0|1|greenStation|3|1500|19600|11900");
}

You checking the same thing twice. Don't know if that's THE issue, but it's already one issue.
01/11/2016 13:52 manulaiko3.0#2378
Quote:
Originally Posted by nykomc View Post
I change mapID in IndexInternal.es
if (isset($_GET['action'])):
if ($_GET['action'] === 'internalCompanyChoose' && $Users->DataRow['factionId'] === '0'):
$factory->setId($Users->DataRow['ID'], $Users->DataRow['playerID']);
if (isset($_GET['subaction'], $_GET['factionID']) && $_GET['subaction'] === 'factionChoose' && $_GET['factionID'] > 0 && $_GET['factionID'] < 4):
$mapId = 1;
if ($_GET['factionID'] === '1') {
$mapId = 16;
$x = 1000;
$y = 1000;
} elseif ($_GET['factionID'] === '2') {
$mapId = 16;
$x = 19800;
$y = 1000;
} else {
$mapId = 16;
$x = 10000;
$y = 11700;
};


And i change in emulator this

public void SendStations()
{


if (MapId == 1)
{
Send("0|s|0|1|redStation|1|1500|1000|1000");
}
else if (MapId == 16)
{
Send("0|s|0|1|blueStation|2|1500|19800|1000");
}
else if (MapId == 16)
{
Send("0|s|0|1|greenStation|3|1500|19600|11900");
}


}

when i send this in emulator no see the base

wath i need to change to see the bases in 4-4?
Your code gave me such a shame that I'm just going to fix it so you can copy paste it and leave the forum for a while:

IndexInternal.es:
PHP Code:
if(!empty($_GET["action"])) {
    if(
$_GET["action"] == "internalCompanyChoose" &&
       
$Users->DataRow["factionId"] == 0) {
        
$factory->setId($Users->DataRow["ID"], $Users->DataRow["playerID"]);
        if(!empty(
$_GET["subaction"]) && $_GET["subaction"] == "factionChoose") {
            if(empty(
$_GET["factionID"]) || !in_array(array(123), $_GET["factionID"])) {
                die(
"Manulaiko was here :)");
            }

            
$mapId 16;
            
$x     10000;
            
$y     11700;

            if(
$_GET["factionID"] == 1) {
                
$x 1000;
                
$y 1000;
            } else if(
$_GET["factionID"] == 2) {
                
$x 19800;
                
$y 1000;
            }
        }
    }

Emulator:
Code:
public void SendStations()
{
    Send("0|s|0|1|redStation|1|1500|1000|1000");
    Send("0|s|0|1|blueStation|2|1500|19800|1000");
    Send("0|s|0|1|greenStation|3|1500|19600|11900");
}
doesn't look nicer now? Now is your turn to find the rest of the 1ab34d3ef214cf14513e bugs in your code and fix them.
01/11/2016 16:37 hugomailliot#2379
What is the best private server pls?
01/14/2016 16:39 45the45#2380
Hello,

Can sombody send me the wwwroot. files pls I have a problem in xammp during 176 days and I need help to fix:

C:\inetpub\wwwroot\phpmyadmin\

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
01/15/2016 16:57 Destiny#2381
quest work
[Only registered and activated users can see links. Click Here To Register...]
01/17/2016 15:16 ZeusReally#2382
hi guys i need nice chatserver sql and emulator bcz my chat hacked localhost who help me plz
01/17/2016 16:41 Ready*12#2383
Quote:
Originally Posted by ZeusReally View Post
hi guys i need nice chatserver sql and emulator bcz my chat hacked localhost who help me plz
uhauhu it's engrossing i wonder who would hack your the best server :rolleyes:
further when your server was hacked i wonder your face-expression m.r the best coder.if we comes to that issue about the chatserver there is a solution , its do yourself a favor and stop making the private server , i think that decision is gonna be fine for everyone amk jooo jeee
01/25/2016 17:28 stars093#2384
someone can give me the source of DarkEmulator ??
01/25/2016 19:22 karas17#2385
What are packet for missions ?

EDIT. nevermind, I already have :)