Jump to content

Recommended Posts

Posted

Sorry if its already posted.. I didn't find anything with SOCK so i post it here..

 

<?php
$ip = "127.0.0.1"; // Here edit your IP for GameServer
$ipl = "127.0.0.1"; // Here edit your IP for Login
$portg = "7777"; // Port for GameServer
$portl = "9014"; // Port for Login

if (! $sock = @fsockopen($ip, $portg, $num, $error, 5)) //Begin sock
echo '<B>Game : <FONT COLOR=red>Offline</b></FONT>';
else{
echo '<B>Game : <FONT COLOR=lime>Online</b></FONT>';

if (! $sock = @fsockopen($ipl, $portl, $num, $error, 5))
echo '<B>Login : <FONT COLOR=red>Offline</b></FONT>';
else{
echo '<B>Login : <FONT COLOR=lime>Online</b></FONT>';

fclose($sock); //Closing sock.
}
}
?>

 

I descripted some things so you can find if errors..

  • 1 month later...
  • 2 months later...
Posted

Sorry if its already posted.. I didn't find anything with SOCK so i post it here..

 

<?php
$ip = "127.0.0.1"; // Here edit your IP for GameServer
$ipl = "127.0.0.1"; // Here edit your IP for Login
$portg = "7777"; // Port for GameServer
$portl = "9014"; // Port for Login

if (! $sock = @fsockopen($ip, $portg, $num, $error, 5)) //Begin sock
echo '<B>Game : <FONT COLOR=red>Offline</b></FONT>';
else{
echo '<B>Game : <FONT COLOR=lime>Online</b></FONT>';

if (! $sock = @fsockopen($ipl, $portl, $num, $error, 5))
echo '<B>Login : <FONT COLOR=red>Offline</b></FONT>';
else{
echo '<B>Login : <FONT COLOR=lime>Online</b></FONT>';

fclose($sock); //Closing sock.
}
}
?>

 

I descripted some things so you can find if errors..

can you explain us what is sock? xD lol

Posted

Dude No Greek Allowed Here.Next time i will report it .

 

PS:Sorry for the simple member make warnings ;D

Off-Topic : So thas MxC??? A friend reports a friend,well i thought that i was on Greek section cuz i spend the most time there and what do you mean simple member ???as i see you are a simple member too but with more posts so qq...

 

On-Topic: Can anyone say what is SOCK??

Posted

On-Topic: Can anyone say what is SOCK??

A function of PHP(not only).

 

@Leeroy this has been shared already but I can't find it with search so leave this unlocked.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • PAYPAL& BINANCE PAYPAL& BINANCE
    • Short version: took Vanganth's classic Interlude pack as the starting point and rebuilt the rest on top of the Classic Secret of Empire client (protocol 166).   Stuff that got reworked, but not limited to: The AI is the one I'm proudest of. ~600 individual NPC behavior scripts, all parsed and verified against retail. Aggro range, follow logic, target switching, idle pattern, social actions. All behaving the way they do on the official server, not the way "close enough" L2J packs usually do. ~2,5k skills loaded, full enchant tree, soul crystal absorption rules. Every formula in Formulas.java and StatFunctions.java got rewritten to match retail. Geodata is not excluded. NPCs/spawns, 6k+ templates, 28k+ spawns, all raid bosses, all the standard event content (Olympiad, Seven Signs with Festival of Darkness, Castle Sieges, Clan Hall stuff, Fortress sieges, Dimensional Rift, Four Sepulchers, Cardiff Invasion). all quest scripts. The engine itself runs both Interlude (protocol 740–770) and Secret of Empire (166) off the same codebase, opcode-mapped. The thing I want to be clear about: this is as close to PTS as L2J realistically gets. Most, not all, L2J packs out there have approximated formulas, stub AI, patchy geodata, hardcoded raid scripts. We didn't take that route.   When can you actually play it:   Server most likely opens next year. If I get more dev time over the coming months a beta by end of this year is realistic, possibly earlier. No promises, depends on how much time I can put in.   The server is already playable since the most important work is done. So if you'd like to collaborate, you'll be able to test it fairly soon. The server files are really good. You might even want to use them for your own server if we decide to go that route.   Server tiers being considered: Low-rate retail - the flagship, most likely first server. Strict PTS. Mid-to-high rate, minimal customs - almost certainly happening as a second server. More accessible but the engine integrity stays. Old L2Finest pride-style (high-rate, heavy customs, the original flavor some of you remember) - very low chance and definitely not soon. It's on the list but well behind the first two.   That's where we are. More updates as open beta gets closer.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..