Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Stickies

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 06.05.2005, 12:27   #12
astranger
Архивный участник
 
Join Date: Mar 2005
Posts: 41
Default

I know how to use that man, the thing that I'm searching for months now and can't find it is how to ENFORCE changes made in sql. Lineage 2 server caches ALL the sql data even if a user is NOT online, and then somehow it manipulates the cache system and forces server to re-read data from sql.I just can't figure out how to do that on php....
Thanks for your time

Quote:
Originally Posted by PhDoc
Quote:
Originally Posted by astranger
man can you please give me an example on php on how to use that ?
Lazzy?
Quote:
Originally Posted by reijii
[php:1:4f6c359507]
$fp = fsockopen("xx.xx.xx.xx", 2009, $errno, $errstr);
if (!$fp) {
echo "$errstr ($errno)
\n";
} else {
$out = "5"."\t".$char_name."\t"."\r\n";
fwrite($fp, $out);
stream_set_timeout($fp, 2);
$answ = fgets($fp,8);
if ($answ==1) {
print"Character is successfully kicked.";
} else {
print"Error.";
}
fclose($fp);
} [/php:1:4f6c359507]
astranger is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:40.