Private Server Info and Support Thread

11/08/2014 23:13 Puma<3#1156
I have yet the vps server but i dont know what i must change on emulator anyone can help me :/ ?
11/09/2014 14:21 steppdroid#1157
At the end of the shift signature remains stuck at a blank page localhost/changeFirm/Update.
how do I get it back to localhost/changeFirm. ?

PHP Code:
<?php

$currentFirm 
Auth::getUser('factionid');
$array_faction = array(=> 'Mars Mining Operations (MMO)'=> 'Earth Industries Corporation (EIC)'=> 'Venus Resources Unlimited (VRU)');

?>
    <link type="text/css" href="public/css/changeFirm.css" rel="stylesheet" media="all" />
    <script>
    function openMiniMap()
    {
        console.log("works");
        window.open('<?php echo URL?>internalMap', '_blank', 'width=1280,height=900');
    }
    </script>
        <div id="left_start">
            
        </div>
        <div id="mainContentFirm">
            <div class="title"></div>
            <div class="currentFirm">
            <img src="<?php echo URL;?>public/images/faction<?php echo $currentFirm ?>.jpg">
            <span class="name"><?php echo $array_faction[$currentFirm]; unset($array_faction[$currentFirm]); ?></span>
            </div>
            <div class="infosFirm">
            <?php
                $members_count 
0;
                
$kill_count 0;
                foreach (
$this->FirmInfos as $key => $value) {
                    
$members_count += 1;
                    
$kill_count += $this->FirmInfos[$key]['user_kill'];
                }
            
?>
            <span>Members: <?php echo $members_count?></span><br>
            <span>Ships destroyed: <?php echo $kill_count?></span>
            </div>
            <div class="changeFirm">
            <?php
                $first 
0;
                foreach (
$array_faction as $key => $value
                {
                    if (
$first == 0)
                    {
                        echo 
'<form action="'.URL.'changeFirm/Update" method="post">';
                        echo 
'<input type="hidden" name="factionid" value="'.$key.'">';
                        echo 
'<input type="submit" class="faction'.$key.'" value="">';
                        echo 
'</form>';
                        echo 
'<span>Switch FIRM</span>';
                        
$first 1;
                    }
                    else
                    {
                        echo 
'<form action="'.URL.'changeFirm/Update" method="post">';
                        echo 
'<input type="hidden" name="factionid" value="'.$key.'">';
                        echo 
'<input type="submit" class="faction'.$key.'" value="" style="float: right;">';
                        echo 
'</form>';
                    }
                }
                
?>
            </div>
        </div>
11/09/2014 16:02 cryz35#1158
Quote:
Originally Posted by steppdroid View Post
At the end of the shift signature remains stuck at a blank page localhost/changeFirm/Update.
how do I get it back to localhost/changeFirm. ?

PHP Code:
<?php

$currentFirm 
Auth::getUser('factionid');
$array_faction = array(=> 'Mars Mining Operations (MMO)'=> 'Earth Industries Corporation (EIC)'=> 'Venus Resources Unlimited (VRU)');

?>
    <link type="text/css" href="public/css/changeFirm.css" rel="stylesheet" media="all" />
    <script>
    function openMiniMap()
    {
        console.log("works");
        window.open('<?php echo URL?>internalMap', '_blank', 'width=1280,height=900');
    }
    </script>
        <div id="left_start">
            
        </div>
        <div id="mainContentFirm">
            <div class="title"></div>
            <div class="currentFirm">
            <img src="<?php echo URL;?>public/images/faction<?php echo $currentFirm ?>.jpg">
            <span class="name"><?php echo $array_faction[$currentFirm]; unset($array_faction[$currentFirm]); ?></span>
            </div>
            <div class="infosFirm">
            <?php
                $members_count 
0;
                
$kill_count 0;
                foreach (
$this->FirmInfos as $key => $value) {
                    
$members_count += 1;
                    
$kill_count += $this->FirmInfos[$key]['user_kill'];
                }
            
?>
            <span>Members: <?php echo $members_count?></span><br>
            <span>Ships destroyed: <?php echo $kill_count?></span>
            </div>
            <div class="changeFirm">
            <?php
                $first 
0;
                foreach (
$array_faction as $key => $value
                {
                    if (
$first == 0)
                    {
                        echo 
'<form action="'.URL.'changeFirm/Update" method="post">';
                        echo 
'<input type="hidden" name="factionid" value="'.$key.'">';
                        echo 
'<input type="submit" class="faction'.$key.'" value="">';
                        echo 
'</form>';
                        echo 
'<span>Switch FIRM</span>';
                        
$first 1;
                    }
                    else
                    {
                        echo 
'<form action="'.URL.'changeFirm/Update" method="post">';
                        echo 
'<input type="hidden" name="factionid" value="'.$key.'">';
                        echo 
'<input type="submit" class="faction'.$key.'" value="" style="float: right;">';
                        echo 
'</form>';
                    }
                }
                
?>
            </div>
        </div>
[Only registered and activated users can see links. Click Here To Register...]
Or js history.back(-1)
Dude cmon, if you don't know the basics of html why do you even work on it, it's like writing "how do I write?" < (not troll)
11/09/2014 16:45 UND3RW0RLD#1159
I just wait for the question: How can I make color of texts red in the news. lol
11/09/2014 19:16 steppdroid#1160
Quote:
Originally Posted by cryz35 View Post
[Only registered and activated users can see links. Click Here To Register...]
Or js history.back(-1)
Dude cmon, if you don't know the basics of html why do you even work on it, it's like writing "how do I write?" < (not troll)
I do not understand why you answered here too .. (16:02)
saw that you had read that I had solved. ;)

H 15:17 pm [Only registered and activated users can see links. Click Here To Register...] with your answer at H 15:51 pm

[Only registered and activated users can see links. Click Here To Register...]
11/09/2014 19:39 UND3RW0RLD#1161
Quote:
Originally Posted by steppdroid View Post
I do not understand why you answered here too .. (16:02)
saw that you had read that I had solved. ;)

H 15:17 pm [Only registered and activated users can see links. Click Here To Register...] with your answer at H 15:51 pm

[Only registered and activated users can see links. Click Here To Register...]
better question: why you asked here too?

To make your answer obsolete: Because you are a leecher, stupid as fuck and need the full focus of ppl who really know what making a server is about..

ever thought about to team up with the other guy like you?

loyoblah.. i'm sure you know who i mean.. you are same kind of guy.. but maybe this is the problem.. :rolleyes:

@team: yes that was harsh. give me a point for it. it was worth it
11/09/2014 19:42 steppdroid#1162
Quote:
Originally Posted by ǝnd1ǝss-ɯonǝʎ View Post
better question: why you asked here too?

To make your answer absolete: Because you are a leecher, stupid as fuck and need the full focus of ppl with really know what making a server is about..

ever thought about to team up with the other guy like you?

loyoblah.. i'm sure you know who i mean.. you are same kind of guy.. but maybe this is the problem.. :rolleyes:

@team: yes that was harsh. give me a point for it. it was worth it
I said also here to try and get an answer from most people.
Are not the same type of guy, I just annoying.
11/09/2014 19:44 manulaiko3.0#1163
Quote:
Originally Posted by ǝnd1ǝss-ɯonǝʎ View Post
better question: why you asked here too?

To make your answer absolete: Because you are a leecher, stupid as fuck and need the full focus of ppl with really know what making a server is about..

ever thought about to team up with the other guy like you?

loyoblah.. i'm sure you know who i mean.. you are same kind of guy.. but maybe this is the problem.. :rolleyes:

@team: yes that was harsh. give me a point for it. it was worth it
Lovefull post

Quote:
Originally Posted by Requi View Post
Just asking. Why do you load everything at the start of the emulator and work with that, instead of using this query, if a user logs in:
SELECT ´name´ FROM ´accounts´ WHERE ´userid´= packetParser.getInt() AND ´sessionid` = packetParser.getString()

If you understand what I mean. If you do it with everything, which has to be initialized when the user logs in or has to be updated directly, no ammo can get lost, no error while logging in and so on.
Because loading accounts one by one is really slow, and I used sockets because are faster than MySQL, maybe with 1 - 2 accounts doesn't cares but with more than 500 it's really slow
11/09/2014 20:12 cryz35#1164
Quote:
Originally Posted by steppdroid View Post
I do not understand why you answered here too .. (16:02)
saw that you had read that I had solved. ;)

H 15:17 pm [Only registered and activated users can see links. Click Here To Register...] with your answer at H 15:51 pm

[Only registered and activated users can see links. Click Here To Register...]
Wow you are pro
I'm not your babysitter so don't double post next time

Quote:
Originally Posted by manulaiko3.0 View Post
Because loading accounts one by one is really slow, and I used sockets because are faster than MySQL, maybe with 1 - 2 accounts doesn't cares but with more than 500 it's really slow
Hey baby how you been :p, but then it will use many memory and TOO SLOW start up.
Think that you are loading 60k users on initializing - it will become a nightmare.
In 3 seconds, you can load user information + ammo + equipments from 5 (or 6, not sure) tables, parse them and add user to game. I didn't try to make it fast but I think its faster than enough :)
11/09/2014 20:30 steppdroid#1165
you are right ;)
11/10/2014 14:57 lCulito#1166
Hi good morning, can you give me a package with cms, emu and database? s: i can't found any package "stable", tnks...

Sorry for my english, i speak spanish only ;)
11/10/2014 15:34 Luffa#1167
Quote:
Originally Posted by lCulito View Post
Hi good morning, can you give me a package with cms, emu and database? s: i can't found any package "stable", tnks...

Sorry for my english, i speak spanish only ;)
Nope i don't think we are able to deliver that.

Best regards bau
11/10/2014 19:44 «Ice.Shock™#1168
Quote:
Originally Posted by lCulito View Post
Hi good morning, can you give me a package with cms, emu and database? s: i can't found any package "stable", tnks...

Sorry for my english, i speak spanish only ;)
Check Manulaiko's CMS + Emulator seems quite stable and good base to improve.
11/10/2014 19:47 manulaiko3.0#1169
Quote:
Originally Posted by cryz35 View Post
Wow you are pro
I'm not your babysitter so don't double post next time



Hey baby how you been :p, but then it will use many memory and TOO SLOW start up.
Think that you are loading 60k users on initializing - it will become a nightmare.
In 3 seconds, you can load user information + ammo + equipments from 5 (or 6, not sure) tables, parse them and add user to game. I didn't try to make it fast but I think its faster than enough :)
But once it's started the logon on the map is instantly, I prefere to wait 1 minute to start the emu than 3 seconds each time an user logs, you'll start the server one time, not all the time

btw: My phone is broken that's why I don't enter in whatsapp anymore u.u sorry
11/10/2014 22:21 lCulito#1170
I'm looking for a developer, i have a vps with 8gb ram in ovh....

(Only if u have: CMS, Emu, Database and you know about updates)

Please contact with me:

Skype: Jockersystem
Fb: [Only registered and activated users can see links. Click Here To Register...]

See you.

NOTE: I'm a developer, and i know different languages...

PHP, HTML, CSS, JS, JQUERY, ANGULARJS, MYSQL, SQL, POSTGRESQL etc... i can help you with updates