push my Thread
Beiträge von DJTechno
-
-
okay es hat doch geklappt ich gib dr 10/10 ist voll cillig die pvp
-
also ich hab jetzt mal die alte arena überschrieben und dann kamm verbindung zum spiel unterbrochen was hab ich falsch gemacht?
-
hey shiet voll cool aus und kommen die im client rein oder in den Ordner wo man die server starten muss?
-
ZitatAlles anzeigen
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--Name : Hyper Flyff
Description: Welcome to Hyper Flyff.
Version : 1.0
Released : 20091004-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Hyper Flyff</title>
<meta name="keywords" content="" />
<meta name="Gestured" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<!-- start header -->
<div id="header">
<div id="menu">
<ul id="main">
<li class="current_page_item"><a href="index.php">Homepage</a></li>
<li><a href="Register.php">Register</a></li>
<li><a href="Downloads.php">Downloads</a></li>
<li><a href="Ranking.php">Ranking</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="#"><span>Hyper Flyff</span></a></h1>
<p>Website done by Hyper Flyff</p>
</div>
</div>
<!-- end header -->
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<ul>
<li>
<h2>Server Stats</h2>
<ul>
<li>Exp: 30</li>
<li>Drop: 15</li>
<li>Penya: 100</li>
<li>Raining Event: X2 exp</li>
<li>Special Event: x2 Exp, Drop, Penya</li>
</ul>
</li>
<li>
<h2>Status</h2>
<ul><br><li>Account Server:
<?php
$online = @fsockopen("127.0.0.1", 12001, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li><br><li>Login Server:
<?php
$online = @fsockopen("127.0.0.1", 28000, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li>
<br><li>World Server:
<?php
$online = @fsockopen("127.0.0.1", 2101, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li>
</ul>
</li>
<li>
<h2>Server Specs</h2>
<ul>
<li>Cpu: AMD Dual Core 5000+</li>
<li>Ram: 4 GB DDR 800 Mhz</li>
<li>HDD: x2 750 Sata 2 Drives</li>
</ul>
</li>
</ul>
</div>
<!-- start content -->
<div id="content">
<div class="post">
<div class="entry">
<p>
<?php
require('./configs/reg_conf.php');
function doesUsernameExist($name){
$exit = FALSE;
$result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'");
if (mssql_num_rows($result) != 0){
$exit = TRUE;
}
return $exit;
}if(isset($_POST['submit'])){
$user = preg_replace ("[^A-Za-z0-9]", "", $_POST['username']);
$pass = preg_replace ("[^A-Za-z0-9]", "", $_POST['password']);
if($_POST['username'] == ""){
echo '<font color="red">Enter a user.</font><br /><br />';
}
else if($_POST['password'] == ""){
echo '<font color="red">Enter a password.</font><br /><br />';
}
else if ((strlen($_POST['username']) > 16) || (strlen($_POST['username']) < 3)){
echo '<font color="red">The user should be 3 to 16 characters.</font><br /><br />';
}
else if ((strlen($_POST['password']) > 16) || (strlen($_POST['password']) < 3)){
echo '<font color="red">The password should be 3 to 16 characters.</font><br /><br />';
}
else if($_POST['username'] != $user){
echo '<font color="red">User with invalid characters.</font><br /><br />';
}
else if($_POST['password'] != $pass){
echo '<font color="red">Password with invalid characters.</font><br /><br />';
}
else {
$pass = md5('kikugalanet' . $pass);
if(!doesUsernameExist($user)){
$stmt = mssql_init('webCreateAcc', $link);
mssql_bind($stmt, '@account', $user, SQLVARCHAR, false, false, 15);
mssql_bind($stmt, '@password', $pass, SQLVARCHAR, false, false, 36);
mssql_bind($stmt, '@birthday', $bday, SQLVARCHAR, false, false, 120);
mssql_free_statement($stmt);
echo '<font color="Green">Register Successfull.</font><br /><br />';
}
else {
echo '<font color="red">User already Exist.</font><br /><br />';
}
}
mssql_close();
}
echo '<form action="#" method="post">';
echo 'Username: <input type="text" name="username" /><br />';
echo 'Password: <input type="password" name="password" /><br />';
echo 'Birthday: <input type="birthday" name="birthday" /><br />';
echo '<input type="submit" name="submit" value="Register" />';
echo '</form>';?>
</div>
</div>
</div>
<!-- end content -->
<!-- start sidebars -->
<div id="sidebar2" class="sidebar">
<ul>
<li>
<h2>Calendar</h2>
<div id="calendar_wrap">
<table summary="Calendar">
<caption>
October 2009
</caption>
<thead>
<tr>
<th abbr="Monday" scope="col" title="Monday">M</th>
<th abbr="Tuesday" scope="col" title="Tuesday">T</th>
<th abbr="Wednesday" scope="col" title="Wednesday">W</th>
<th abbr="Thursday" scope="col" title="Thursday">T</th>
<th abbr="Friday" scope="col" title="Friday">F</th>
<th abbr="Saturday" scope="col" title="Saturday">S</th>
<th abbr="Sunday" scope="col" title="Sunday">S</th>
</tr>
</thead>
<tfoot>
<tr>
<td abbr="September" colspan="3" id="prev"><a href="#" title="View posts for September 2009">« Sep</a></td>
<td class="pad"> </td>
<td colspan="3" id="next"> </td>
</tr>
</tfoot>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
</tr>
<tr>
<td>8</td>
<td>9</td>
<td>10</td>
<td>11</td>
<td>12</td>
<td>13</td>
<td>14</td>
</tr>
<tr>
<td>15</td>
<td>16</td>
<td>17</td>
<td>18</td>
<td>19</td>
<td>20</td>
<td>21</td>
</tr>
<tr>
<td>22</td>
<td>23</td>
<td>24</td>
<td>25</td>
<td>26</td>
<td>27</td>
<td id="today">28</td>
</tr>
<tr>
<td>29</td>
<td>30</td>
<td>31</td>
<td class="pad" colspan="4"> </td>
</tr>
</tbody>
</table>
</div>
</li>
<li>
<h2>More Info</h2>
<ul><?php
require('./configs/t_account_conf.php');
echo 'Total Accounts: ' . mssql_num_rows($query);
?><br>
<?php
require('./configs/t_character_conf.php');
echo 'Total Characters: ' . mssql_num_rows($query);
?><br>
<?php
require('./configs/t_user_conf.php');
echo 'Users Online: ' . mssql_num_rows($query);
?></ul>
</li>
</ul>
</div>
<!-- end sidebars -->
<div style="clear: both;"> </div>
</div>
<!-- end page -->
</div>
<div id="footer">
</div>
</body>
</html>hier meine register skript kann es auch sein das es nicht geht da ich noch v14 habe?
-
also ich habs jetzt geschaft das es die scheiße codes nicht mehr anzeigt aber jetzt hab ich des problem wenn ich auf Regiser klicke kommt die felder nicht wo ich die sachen ein tragen muss kann mir einer helfen vllt. über icq skye oder msn ?
-
Zitat von dummerchen;139438
Das Ist ein Spoiler
Es Gibt ein Spoiler, sie sind dafür da texte die nicht zu lange sind Klickweise auf und wieder Zu zuschiebenn:Psmiley:
:heart:
wie geht des?
-
ma Register geht immer noch nicht so wie die Ranking seite soll ich mal die phps posten?
-
hab ich gemacht mir ist aber aufgefallen das in den anderen zeilen auch welche sind die auch weg machen oder nur die bei mssql
-
Zitat von Grapefruit;138712
Jetzt kannst deine Hamachi Ip als URL in deinem Browser eingeben, dann zeigt es die Dateien von deinem www Ordner an...
Du musst aber vorher den Ordner mit der Homepage da reinkopieren und dann über http://5.xx.xxx.x/~ORDNERNAME~/ aufrufen dann wirds richtig angezeigt, jedoch nur wenn du in deiner config.php alles richtig eingetragen hast.
Grape~
Edit: Versuch bitte Doppelposts zu vermeiden =/
ja sry hatte probs mit inet danke hab ich gemacht also oben hamachi ip eingegeben und wenn ich aber auf register klicke zeigt es gar nix an wie kann ich des beheben mus ich noch in der index.php order in der regiser.php was ändern wenn ja was?
-
okay habs jetzt gemacht über appserv und xampp und was muss ich in der Index php ändern?und wo muss ich meine Hamachi Ip eintragen?
-
bei den configs? oder wo meinst du?
-
Hey also hab mir mal versuch die Homepage zu machen nur bei Register
kommt das hier dann wie kann ich des ändern das da nicht mehr der ganze code
dran steht?

hier meine Configs
Zitat<?php
$link = @mssql_connect("SEAN-PC\SQLEXPRESS", "sa", "") ;
$db = @mssql_select_db("CHARACTER_01_DBF");
?>ZitatAlles anzeigen<?php
$link = @mssql_connect("SEAN-PC\SQLEXPRESS", "sa", "") or die ("Server is down!");
$db = @mssql_select_db('ACCOUNT_DBF') or die ("Accout table is missing!");
$b = '';
$mail = '';
?>ZitatAlles anzeigen<?php
$link = @mssql_connect("SEAN-PC\SQLEXPRESS", "sa", "") or die ("Server is down!");
$db = @mssql_select_db('ACCOUNT_DBF') or die ("Account table is missing!");
$b = '';
$mail = '';
$query = mssql_query('SELECT * FROM [ACCOUNT_TBL_DETAIL]');
?>ZitatAlles anzeigen<?php
$link = @mssql_connect("SEAN-PC\SQLEXPRESS", "sa", "") or die ("Server is down!");
$db = @mssql_select_db('CHARACTER_01_DBF') or die ("Character table is missing!");
$b = '';
$mail = '';
$query = mssql_query('SELECT * FROM [CHARACTER_TBL]');
?>ZitatAlles anzeigen<?php
$link = @mssql_connect("SEAN-PC\SQLEXPRESS", "sa", "") or die ("Server is down!");
$db = @mssql_select_db('ACCOUNT_DBF') or die ("Account table is missing!");
$b = '';
$mail = '';
$query = mssql_query("SELECT * FROM [ACCOUNT_TBL_DETAIL] WHERE isuse = 'J' ");
?>ZitatAlles anzeigen<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--Name : Hyper Flyff
Description: Welcome to Hyper Flyff.
Version : 1.0
Released : 20091004-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Hyper Flyff</title>
<meta name="keywords" content="" />
<meta name="Gestured" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<!-- start header -->
<div id="header">
<div id="menu">
<ul id="main">
<li class="current_page_item"><a href="index.php">Homepage</a></li>
<li><a href="Register.php">Register</a></li>
<li><a href="Downloads.php">Downloads</a></li>
<li><a href="Ranking.php">Ranking</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="#"><span>Hyper Flyff</span></a></h1>
<p>Website done by Hyper Flyff</p>
</div>
</div>
<!-- end header -->
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<ul>
<li>
<h2>Server Stats</h2>
<ul>
<li>Exp: 30</li>
<li>Drop: 15</li>
<li>Penya: 100</li>
<li>Raining Event: X2 exp</li>
<li>Special Event: x2 Exp, Drop, Penya</li>
</ul>
</li>
<li>
<h2>Status</h2>
<ul><br><li>Account Server:
<?php
$online = @fsockopen("5.23.172.100", 12001, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li><br><li>Login Server:
<?php
$online = @fsockopen("5.23.172.100", 28000, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li>
<br><li>World Server:
<?php
$online = @fsockopen("5.23.172.100", 2101, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li>
</ul>
</li>
<li>
<h2>Server Specs</h2>
<ul>
<li>Cpu: AMD Dual Core 5000+</li>
<li>Ram: 4 GB DDR 800 Mhz</li>
<li>HDD: x2 750 Sata 2 Drives</li>
</ul>
</li>
</ul>
</div>
<!-- start content -->
<div id="content">
<div class="post">
<h1 class="title"><a href="#">Downloads are locate here!</a></h1>
<div class="entry">
<p>Client Files:
<li><a href="#">Here.</a></p>
<p>Patch Files:
<li><a href="#">Here.</a></p>
</div>
</div>
</div>
<!-- end content -->
<!-- start sidebars -->
<div id="sidebar2" class="sidebar">
<ul>
<li>
<h2>Calendar</h2>
<div id="calendar_wrap">
<table summary="Calendar">
<caption>
October 2009
</caption>
<thead>
<tr>
<th abbr="Monday" scope="col" title="Monday">M</th>
<th abbr="Tuesday" scope="col" title="Tuesday">T</th>
<th abbr="Wednesday" scope="col" title="Wednesday">W</th>
<th abbr="Thursday" scope="col" title="Thursday">T</th>
<th abbr="Friday" scope="col" title="Friday">F</th>
<th abbr="Saturday" scope="col" title="Saturday">S</th>
<th abbr="Sunday" scope="col" title="Sunday">S</th>
</tr>
</thead>
<tfoot>
<tr>
<td abbr="September" colspan="3" id="prev"><a href="#" title="View posts for September 2009">« Sep</a></td>
<td class="pad"> </td>
<td colspan="3" id="next"> </td>
</tr>
</tfoot>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
</tr>
<tr>
<td>8</td>
<td>9</td>
<td>10</td>
<td>11</td>
<td>12</td>
<td>13</td>
<td>14</td>
</tr>
<tr>
<td>15</td>
<td>16</td>
<td>17</td>
<td>18</td>
<td>19</td>
<td>20</td>
<td>21</td>
</tr>
<tr>
<td>22</td>
<td>23</td>
<td>24</td>
<td>25</td>
<td>26</td>
<td>27</td>
<td id="today">28</td>
</tr>
<tr>
<td>29</td>
<td>30</td>
<td>31</td>
<td class="pad" colspan="4"> </td>
</tr>
</tbody>
</table>
</div>
</li>
<li>
<h2>More Info</h2>
<ul><?php
require('./configs/t_account_conf.php');
echo 'Total Accounts: ' . mssql_num_rows($query);
?><br>
<?php
require('./configs/t_character_conf.php');
echo 'Total Characters: ' . mssql_num_rows($query);
?><br>
<?php
require('./configs/t_user_conf.php');
echo 'Users Online: ' . mssql_num_rows($query);
?></ul>
</li>
</ul>
</div>
<!-- end sidebars -->
<div style="clear: both;"> </div>
</div>
<!-- end page -->
</div>
<div id="footer">
</div>
</body>
</html>ZitatAlles anzeigen<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--Name : Hyper Flyff
Description: Welcome to Hyper Flyff.
Version : 1.0
Released : 20091004-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>WorldofFlying</title>
<meta name="keywords" content="" />
<meta name="Gestured" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<!-- start header -->
<div id="header">
<div id="menu">
<ul id="main">
<li class="current_page_item"><a href="index.php">Homepage</a></li>
<li><a href="Register.php">Register</a></li>
<li><a href="Downloads.php">Downloads</a></li>
<li><a href="Ranking.php">Ranking</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="#"><span>Hyper Flyff</span></a></h1>
<p>Website done by Hyper Flyff</p>
</div>
</div>
<!-- end header -->
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<ul>
<li>
<h2>Server Stats</h2>
<ul>
<li>Exp: 30</li>
<li>Drop: 15</li>
<li>Penya: 100</li>
<li>Raining Event: X2 exp</li>
<li>Special Event: x2 Exp, Drop, Penya</li>
</ul>
</li>
<li>
<h2>Status</h2>
<ul><br><li>Account Server:
<?php
$online = @fsockopen("5.23.172.100", 12001, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li><br><li>Login Server:
<?php
$online = @fsockopen("5.23.172.100", 28000, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li>
<br><li>World Server:
<?php
$online = @fsockopen("5.23.172.100", 2101, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li>
</ul>
</li>
<li>
<h2>Server Specs</h2>
<ul>
<li>Cpu: AMD Dual Core 5000+</li>
<li>Ram: 4 GB DDR 800 Mhz</li>
<li>HDD: x2 750 Sata 2 Drives</li>
</ul>
</li>
</ul>
</div>
<!-- start content -->
<div id="content">
<div class="post">
<h1 class="title"><a href="#">Welcome to Our Website!</a></h1>
<p class="byline">Posted on October 28th, 2009 by PillPopper (Jason)</p>
<div class="entry">
<p><strong>Hyper Flyff</strong> Is a fun and enjoyable server. We try our hardest to make sure the you the players are satisfied with out service. We will be implenting a Donation Panel next week. Untill then please take screen shots of all transactions and we'll try our hardest to satisfy you.</p>
</div>
</div>
<div class="post">
<h2 class="title"><a href="#">Some Infomation About The Server</a></h2>
<p class="byline">Posted on October 28th, 2009 by PillPopper (Jason)</p>
<div class="entry">
<h3>Information</h3>
<blockquote>
<p>Here is some information regarding what server files, Admins, GM's, Dev's ect </p>
</blockquote>
<h3>Server Information</h3>
<ul>
<li>V11 Offical Server Files</li>
<li>PillPopper-Owner</li>
<li>Brendon-Admin</li>
<li>Adolf Hitler-Dev/Admin</li>
</ul>
</div>
</div>
</div>
<!-- end content -->
<!-- start sidebars -->
<div id="sidebar2" class="sidebar">
<ul>
<li>
<h2>Calendar</h2>
<div id="calendar_wrap">
<table summary="Calendar">
<caption>
October 2009
</caption>
<thead>
<tr>
<th abbr="Monday" scope="col" title="Monday">M</th>
<th abbr="Tuesday" scope="col" title="Tuesday">T</th>
<th abbr="Wednesday" scope="col" title="Wednesday">W</th>
<th abbr="Thursday" scope="col" title="Thursday">T</th>
<th abbr="Friday" scope="col" title="Friday">F</th>
<th abbr="Saturday" scope="col" title="Saturday">S</th>
<th abbr="Sunday" scope="col" title="Sunday">S</th>
</tr>
</thead>
<tfoot>
<tr>
<td abbr="September" colspan="3" id="prev"><a href="#" title="View posts for September 2009">« Sep</a></td>
<td class="pad"> </td>
<td colspan="3" id="next"> </td>
</tr>
</tfoot>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
</tr>
<tr>
<td>8</td>
<td>9</td>
<td>10</td>
<td>11</td>
<td>12</td>
<td>13</td>
<td>14</td>
</tr>
<tr>
<td>15</td>
<td>16</td>
<td>17</td>
<td>18</td>
<td>19</td>
<td>20</td>
<td>21</td>
</tr>
<tr>
<td>22</td>
<td>23</td>
<td>24</td>
<td>25</td>
<td>26</td>
<td>27</td>
<td id="today">28</td>
</tr>
<tr>
<td>29</td>
<td>30</td>
<td>31</td>
<td class="pad" colspan="4"> </td>
</tr>
</tbody>
</table>
</div>
</li>
<li>
<h2>More Info</h2>
<ul><?php
require('./configs/t_account_conf.php');
echo 'Total Accounts: ' . mssql_num_rows($query);
?><br>
<?php
require('./configs/t_character_conf.php');
echo 'Total Characters: ' . mssql_num_rows($query);
?><br>
<?php
require('./configs/t_user_conf.php');
echo 'Users Online: ' . mssql_num_rows($query);
?></ul>
</li>
</ul>
</div>
<!-- end sidebars -->
<div style="clear: both;"> </div>
</div>
<!-- end page -->
</div>
<div id="footer">
</div>
</body>
</html>ZitatAlles anzeigen<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--Name : Hyper Flyff
Description: Welcome to Hyper Flyff.
Version : 1.0
Released : 20091004-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Hyper Flyff</title>
<meta name="keywords" content="" />
<meta name="Gestured" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<!-- start header -->
<div id="header">
<div id="menu">
<ul id="main">
<li class="current_page_item"><a href="index.php">Homepage</a></li>
<li><a href="Register.php">Register</a></li>
<li><a href="Downloads.php">Downloads</a></li>
<li><a href="Ranking.php">Ranking</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="#"><span>Hyper Flyff</span></a></h1>
<p>Website done by Hyper Flyff</p>
</div>
</div>
<!-- end header -->
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<ul>
<li>
<h2>Server Stats</h2>
<ul>
<li>Exp: 30</li>
<li>Drop: 15</li>
<li>Penya: 100</li>
<li>Raining Event: X2 exp</li>
<li>Special Event: x2 Exp, Drop, Penya</li>
</ul>
</li>
<li>
<h2>Status</h2>
<ul><br><li>Account Server:
<?php
$online = @fsockopen("5.23.172.100", 12001, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li><br><li>Login Server:
<?php
$online = @fsockopen("5.23.172.100", 28000, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li>
<br><li>World Server:
<?php
$online = @fsockopen("5.23.172.100", 2101, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li>
</ul>
</li>
<li>
<h2>Server Specs</h2>
<ul>
<li>Cpu: AMD Dual Core 5000+</li>
<li>Ram: 4 GB DDR 800 Mhz</li>
<li>HDD: x2 750 Sata 2 Drives</li>
</ul>
</li>
</ul>
</div>
<!-- start content -->
<div id="content">
<div class="post">
<div class="entry">
<p><?php
function quetrabajo($job){
if ($job == '0'){
echo "Vagrant";
}
if ($job == '1'){
echo "Mercenary";
}
if ($job == '2'){
echo "Acrobat";
}
if ($job == '3'){
echo "Assist";
}
if ($job == '4'){
echo "Magician";
}
if ($job == '5'){
echo "Puppeter";
}
if ($job == '6'){
echo "Knight";
}
if ($job == '7'){
echo "Blade";
}
if ($job == '8'){
echo "Jester";
}
if ($job == '9'){
echo "Ranger";
}
if ($job == '10'){
echo "Ringmaster";
}
if ($job == '11'){
echo "billposter";
}
if ($job == '12'){
echo "Psykeeper";
}
if ($job == '13'){
echo "Elementor";
}
if ($job == '14'){
echo "Gatekeeper";
}
if ($job == '15'){
echo "Doppler";
}
if ($job == '16'){
echo "M-Knight";
}
if ($job == '17'){
echo "M-Blade";
}
if ($job == '18'){
echo "M-Jester";
}
if ($job == '19'){
echo "M-Ranger";
}
if ($job == '20'){
echo "M-Ringmaster";
}
if ($job == '21'){
echo "M-Billposter";
}
if ($job == '22'){
echo "M-Psykeeper";
}
if ($job == '23'){
echo "M-Elementor";
}
if ($job == '24'){
echo "H-Knight";
}
if ($job == '25'){
echo "H-Blade";
}
if ($job == '26'){
echo "H-Jester";
}
if ($job == '27'){
echo "H-Ranger";
}
if ($job == '28'){
echo "H-Ringmaster";
}
if ($job == '29'){
echo "H-Billposter";
}
if ($job == '30'){
echo "H-Psykeeper";
}
if ($job == '31'){
echo "H-Elementor";
}
}$contadorn=1;
$contadorm=1;
$contadorh=1;
$normal = array();
$master = array();
$hero = array();
require('./configs/rank_conf.php');
if(!$link){
echo 'configuracion incorrecta';
}else{
if(!db){
echo ' la base de datos no existe';
}else{
$sql = "SELECT * FROM CHARACTER_TBL ORDER BY m_nLevel DESC";
$result = mssql_query($sql);
while($consulta = mssql_fetch_array($result)) {
if($consulta['m_nJob']<=15){
$normal[$contadorn]=$consulta['m_szName'];
$normal[$contadorn+1]=$consulta['m_nLevel'];
$normal[$contadorn+2]=$consulta['m_nJob'];
$contadorn= $contadorn+3;
}else{
if($consulta['m_nJob']<=15){
$master[$contadorm]=$consulta['m_szName'];
$master[$contadorm+1]= $consulta['m_nLevel'];
$master[$contadorm+2]=$consulta['m_nJob'];
$contadorm= $contadorm+3;
}else{
$hero[$contadorh]=$consulta['m_szName'];
$hero[$contadorh+1]=$consulta['m_nLevel'];
$hero[$contadorh+2]=$consulta['m_nJob'];
$contadorh= $contadorh+3;
}
}
}
//empezamos a contar los Masters
echo '<div align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0";"><tr>';
echo '<td width="37%" style="padding-left:12px;"><b><u>Username</td>';
echo '<td width="16%" style="padding-left:12px;"><b><u>Level</td>';
echo '<td width="47%" style="padding-left:12px;"><b><u>Job</u></b></td>';
echo'</tr>';
echo'<tr>';
for($i=1;$i<$contadorm;$i=$i+1){
echo '<td style="padding-left:12px;">';
if($i>1 and $i%3==0){
quetrabajo($master[$i]);
echo "</td></tr><tr>";
}else{
echo $master[$i]."</td>";
}
}
//acabamos
//empezamos a contar los heroes
for($i=1;$i<$contadorh;$i=$i+1){
echo '<td style="padding-left:12px;">';
if($i>1 and $i%3==0){
quetrabajo($hero[$i]);
echo "</td></tr><tr>";
}else{
echo $hero[$i]."</td>";
}
}
//acabamos
//empezamos a contar los Masters
for($i=1;$i<$contadorn;$i=$i+1){
echo '<td style="padding-left:12px;">';
if($i>1 and $i%3==0){
quetrabajo($normal[$i]);
echo "</td></tr><tr>";
}else{
echo $normal[$i]."</td>";
}
}
echo '</tr>';
//acabamos
}
}
mssql_close();?>
<tr><td></td><td><br><br><div align="center" style="font-size:12;font-color:#666;"></div></td></tr></table></div></p>
</div>
</div>
</div>
<!-- end content -->
<!-- start sidebars -->
<div id="sidebar2" class="sidebar">
<ul>
<li>
<h2>Calendar</h2>
<div id="calendar_wrap">
<table summary="Calendar">
<caption>
October 2009
</caption>
<thead>
<tr>
<th abbr="Monday" scope="col" title="Monday">M</th>
<th abbr="Tuesday" scope="col" title="Tuesday">T</th>
<th abbr="Wednesday" scope="col" title="Wednesday">W</th>
<th abbr="Thursday" scope="col" title="Thursday">T</th>
<th abbr="Friday" scope="col" title="Friday">F</th>
<th abbr="Saturday" scope="col" title="Saturday">S</th>
<th abbr="Sunday" scope="col" title="Sunday">S</th>
</tr>
</thead>
<tfoot>
<tr>
<td abbr="September" colspan="3" id="prev"><a href="#" title="View posts for September 2009">« Sep</a></td>
<td class="pad"> </td>
<td colspan="3" id="next"> </td>
</tr>
</tfoot>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
</tr>
<tr>
<td>8</td>
<td>9</td>
<td>10</td>
<td>11</td>
<td>12</td>
<td>13</td>
<td>14</td>
</tr>
<tr>
<td>15</td>
<td>16</td>
<td>17</td>
<td>18</td>
<td>19</td>
<td>20</td>
<td>21</td>
</tr>
<tr>
<td>22</td>
<td>23</td>
<td>24</td>
<td>25</td>
<td>26</td>
<td>27</td>
<td id="today">28</td>
</tr>
<tr>
<td>29</td>
<td>30</td>
<td>31</td>
<td class="pad" colspan="4"> </td>
</tr>
</tbody>
</table>
</div>
</li>
<li>
<h2>More Info</h2>
<ul><?php
require('./configs/t_account_conf.php');
echo 'Total Accounts: ' . mssql_num_rows($query);
?><br>
<?php
require('./configs/t_character_conf.php');
echo 'Total Characters: ' . mssql_num_rows($query);
?><br>
<?php
require('./configs/t_user_conf.php');
echo 'Users Online: ' . mssql_num_rows($query);
?></ul>
</li>
</ul>
</div>
<!-- end sidebars -->
<div style="clear: both;"> </div>
</div>
<!-- end page -->
</div>
<div id="footer">
</div>
</body>
</html>ZitatAlles anzeigen<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--Name : Hyper Flyff
Description: Welcome to Hyper Flyff.
Version : 1.0
Released : 20091004-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Hyper Flyff</title>
<meta name="keywords" content="" />
<meta name="Gestured" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
<!-- start header -->
<div id="header">
<div id="menu">
<ul id="main">
<li class="current_page_item"><a href="index.php">Homepage</a></li>
<li><a href="Register.php">Register</a></li>
<li><a href="Downloads.php">Downloads</a></li>
<li><a href="Ranking.php">Ranking</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="#"><span>Hyper Flyff</span></a></h1>
<p>Website done by Hyper Flyff</p>
</div>
</div>
<!-- end header -->
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<ul>
<li>
<h2>Server Stats</h2>
<ul>
<li>Exp: 30</li>
<li>Drop: 15</li>
<li>Penya: 100</li>
<li>Raining Event: X2 exp</li>
<li>Special Event: x2 Exp, Drop, Penya</li>
</ul>
</li>
<li>
<h2>Status</h2>
<ul><br><li>Account Server:
<?php
$online = @fsockopen("5.23.172.100", 12001, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li><br><li>Login Server:
<?php
$online = @fsockopen("5.23.172.100", 28000, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li>
<br><li>World Server:
<?php
$online = @fsockopen("5.23.172.100", 2101, $errno, $errstr, 1);
if($online >= 1) {
echo '<b><font color=#00FF00>Online</font></b>';
}
else {
echo '<b><font color=#FF0000>Offline</font></b>';
}
?></li>
</ul>
</li>
<li>
<h2>Server Specs</h2>
<ul>
<li>Cpu: AMD Dual Core 5000+</li>
<li>Ram: 4 GB DDR 800 Mhz</li>
<li>HDD: x2 750 Sata 2 Drives</li>
</ul>
</li>
</ul>
</div>
<!-- start content -->
<div id="content">
<div class="post">
<div class="entry">
<p><?php
require('./configs/reg_conf.php');
function doesUsernameExist($name){
$exit = FALSE;
$result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'");
if (mssql_num_rows($result) != 0){
$exit = TRUE;
}
return $exit;
}if(isset($_POST['submit'])){
$user = preg_replace ("[^A-Za-z0-9]", "", $_POST['username']);
$pass = preg_replace ("[^A-Za-z0-9]", "", $_POST['password']);
if($_POST['username'] == ""){
echo '<font color="red">Enter a user.</font><br /><br />';
}
else if($_POST['password'] == ""){
echo '<font color="red">Enter a password.</font><br /><br />';
}
else if ((strlen($_POST['username']) > 16) || (strlen($_POST['username']) < 3)){
echo '<font color="red">The user should be 3 to 16 characters.</font><br /><br />';
}
else if ((strlen($_POST['password']) > 16) || (strlen($_POST['password']) < 3)){
echo '<font color="red">The password should be 3 to 16 characters.</font><br /><br />';
}
else if($_POST['username'] != $user){
echo '<font color="red">User with invalid characters.</font><br /><br />';
}
else if($_POST['password'] != $pass){
echo '<font color="red">Password with invalid characters.</font><br /><br />';
}
else {
$pass = md5('nForceIsGay' . $pass);
if(!doesUsernameExist($user)){
$stmt = mssql_init('webCreateAcc', $link);
mssql_bind($stmt, '@account', $user, SQLVARCHAR, false, false, 15);
mssql_bind($stmt, '@password', $pass, SQLVARCHAR, false, false, 36);
mssql_bind($stmt, '@birthday', $b, SQLVARCHAR, false, false, 120);
mssql_bind($stmt, '@email', $mail, SQLVARCHAR, false, false, 120);
mssql_execute($stmt) or die ("Something is wrong on the execution");
mssql_free_statement($stmt);
echo '<font color="blue">Register Successfull.</font><br /><br />';
}
else {
echo '<font color="red">User already Exist.</font><br /><br />';
}
}
mssql_close();
}
echo '<form action="register.php" method="post">';
echo 'Username: <input type="text" name="username" /><br />';
echo 'Password: <input type="password" name="password" /><br />';
echo '<input type="submit" name="submit" value="Register" />';
echo '</form>';?></p>
</div>
</div>
</div>
<!-- end content -->
<!-- start sidebars -->
<div id="sidebar2" class="sidebar">
<ul>
<li>
<h2>Calendar</h2>
<div id="calendar_wrap">
<table summary="Calendar">
<caption>
October 2009
</caption>
<thead>
<tr>
<th abbr="Monday" scope="col" title="Monday">M</th>
<th abbr="Tuesday" scope="col" title="Tuesday">T</th>
<th abbr="Wednesday" scope="col" title="Wednesday">W</th>
<th abbr="Thursday" scope="col" title="Thursday">T</th>
<th abbr="Friday" scope="col" title="Friday">F</th>
<th abbr="Saturday" scope="col" title="Saturday">S</th>
<th abbr="Sunday" scope="col" title="Sunday">S</th>
</tr>
</thead>
<tfoot>
<tr>
<td abbr="September" colspan="3" id="prev"><a href="#" title="View posts for September 2009">« Sep</a></td>
<td class="pad"> </td>
<td colspan="3" id="next"> </td>
</tr>
</tfoot>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
</tr>
<tr>
<td>8</td>
<td>9</td>
<td>10</td>
<td>11</td>
<td>12</td>
<td>13</td>
<td>14</td>
</tr>
<tr>
<td>15</td>
<td>16</td>
<td>17</td>
<td>18</td>
<td>19</td>
<td>20</td>
<td>21</td>
</tr>
<tr>
<td>22</td>
<td>23</td>
<td>24</td>
<td>25</td>
<td>26</td>
<td>27</td>
<td id="today">28</td>
</tr>
<tr>
<td>29</td>
<td>30</td>
<td>31</td>
<td class="pad" colspan="4"> </td>
</tr>
</tbody>
</table>
</div>
</li>
<li>
<h2>More Info</h2>
<ul><?php
require('./configs/t_account_conf.php');
echo 'Total Accounts: ' . mssql_num_rows($query);
?><br>
<?php
require('./configs/t_character_conf.php');
echo 'Total Characters: ' . mssql_num_rows($query);
?><br>
<?php
require('./configs/t_user_conf.php');
echo 'Users Online: ' . mssql_num_rows($query);
?></ul>
</li>
</ul>
</div>
<!-- end sidebars -->
<div style="clear: both;"> </div>
</div>
<!-- end page -->
</div>
<div id="footer">
</div>
</body>
</html>könnt ihr mir sagen was ich da ändern muss und ob ich die hamachi IP richtig eingetragen habe
MFG
DJTechno
-
hey hab euch follow heiße in Twitter DJTechno789 wahre cool wenn ich 100cores grige^^
-
also firewall ist an soll ich sie ausschalten oder soll ich se an lassen und die ganzen servers sind auch erlaubt muss ich hamachi auch dazu tun oder wie ist es gemeint?
-
ja habe ich (glaueb ich) wo kann ich des nach kucken?
-
hey also ich hab für mich und ein paar kumpels ein pserver v14 gemacht gestern wollten wir zocken hab auch ihnen die hamachi daten gegeben und eingerichtet und dann haben wir uns eingelogt ich war schon im spiel drin und die waren noch bei der char auswahl und ihre chars haben nicht auf gehört zu wackeln und ddie sind einfach nicht rein gekommen habt ihr ne ahnung an was das liegt?
-
ja ich will nur die hacken rein machen und abspeichern und dabei kommt des da oben
-
Zitat von TwiLight;133390
Wenn schon Daten in einer Tables sind, kannst du keine weiteren Rows hinzufügen oder verändern, falls PK columns oder NOT NULL columns vorhanden sind ;)
hey Twilligt was heißt das auf deutsch?
-
Zitat von Blackout;133373
geh in der datenbank auf account_DBF doppelklick
dann gehste auf tabellen account_TBL_DETAIL rechtsklick dann auf Entwerfen,
und machst bei allein ein häkchen und speicherst es oben.
dannach müsste es eig gehenokay und kannst du mir vllt. auch noch eine gute V15 regi tut empfehlen?
hab jetzt über ein häckchen hin gemacht und wnen ich es speichern will kommt das was muss ich dann machen?