5 define(
'IN_GAME', TRUE);
6 define(
'GAME_ROOT', substr(dirname(__FILE__), 0, -7));
7 define(
'GAMENAME',
'bra');
9 if(PHP_VERSION <
'4.3.0') {
10 exit(
'PHP version must >= 4.3.0!');
12 require
GAME_ROOT.
'./include/global.func.php';
13 error_reporting(E_ALL);
14 set_error_handler(
'gameerrorhandler');
28 date_default_timezone_set(
'Etc/GMT');
31 list($sec,$min,$hour,$day,$month,$year,$wday) = explode(
',',date(
"s,i,H,j,n,Y,w",
$now));
44 require
GAME_ROOT.
'./gamedata/system.php';
48 include
GAME_ROOT.
'./gamedata/combatinfo.php';
63 $plock=fopen(
GAME_ROOT.
'./gamedata/process.lock',
'ab');
64 flock($plock,LOCK_EX);
93 include_once
GAME_ROOT.
'./include/system.func.php';
117 include_once
GAME_ROOT.
'./include/system.func.php';
130 include_once
GAME_ROOT.
'./include/system.func.php';
152 }
elseif($gamestate < 40 && $gamestate >= 20 && $combonum &&
$deathnum >= $combonum){
159 $combonum = $real_combonum;
176 include_once
GAME_ROOT.
'./include/system.func.php';
186 include_once
GAME_ROOT.
'./include/system.func.php';
192 if($ginfochange || $lostfocus){
systemputchat($time, $type, $msg= '')
if(!defined('IN_GAME')) $hdamage
gameover($time=0, $mode= '', $winname= '')
addnews($t=0, $n= '', $a='', $b='', $c= '', $d= '', $e= '')
【生存者数:<?php echo $alivenum?> 人】< input type="button"value="显示全部幸存者"onClick="$('alivemode').value='all';$('gbmode').value='none';postCmd('alive','alive.php');"></p > if($gamblingon &&$gamestate >=20) elseif($gamblingon &&$gamestate<=10)
if(!defined('IN_GAME')) rs_game($mode=0)
config($file= '', $cfg=1)