diff --git a/coordim.php b/coordim.php index 944fd5c..84bb859 100644 --- a/coordim.php +++ b/coordim.php @@ -80,7 +80,7 @@ while($row = mysql_fetch_array($result)) { $dsrcx=$dx*16-230; $dsrcy=$dy*16-160; - if((date("U")-$thetime)<=60) { + if((date("U")-$thetime)<=60 || $row['name'] == $u) { if($row['dir']==1) { imageCopyMerge($im, $images['chUp'], $dsrcx +230, $dsrcy +144, 0, 0, 12, 32,100); @@ -93,6 +93,7 @@ while($row = mysql_fetch_array($result)) { } //imageString($im,5, $dsrcx+230-(strlen($row['name'])*3), $dsrcy+129, ucfirst($row['name']), $black); + imageString($im,5, $dsrcx+233-(strlen($row['name'])*3)+1, $dsrcy+127+1, ucfirst($row['name']), $white); imageString($im,5, $dsrcx+233-(strlen($row['name'])*3), $dsrcy+127, ucfirst($row['name']), $black); } } diff --git a/register.php b/register.php index 0d562d2..77e1c46 100644 --- a/register.php +++ b/register.php @@ -40,7 +40,7 @@ if($_POST['reg']==1) { mysql_query("INSERT INTO `mrpg_users` ( `id` , `name` , `password` , `x` , `y` , `dir` , `inventory` , `level` , `lastact` , `mode` ) VALUES ( - '$id', '$u', '$p', '5', '3', '0', '', '0', '0', 'norm' + '$id', '$u', '$p', '5', '3', '4', '', '0', '0', 'norm' );"); mysql_query("INSERT INTO `mrpg_confirm` VALUES (