Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 13:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Navicat zeigt nicht alle Player an?!? Bitte Helfen

Discussion on Navicat zeigt nicht alle Player an?!? Bitte Helfen within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 6
Received Thanks: 0
Question Navicat zeigt nicht alle Player an?!? Bitte Helfen

Hallo,
ich habe ein problem also wenn ich mit Navicat die DB von meinem Server (MetinJunky) öffne und dann auf player und dort auf die Tabelle player dort werden nur die hälfte aller Charackter angezeigt! Ich habe auch schon probiert einige seiten weiter zu blättern aber da ist nichts! =(

Und noch eine Frage:
- Was ist an diesem php script falsch?
PHP Code:
<?php
   session_start 
(); //Session starten//
         
include ("/rank.html");  
include (
"/config.php");

      
$i "0" ;
    require_once(
"config.php");
    
mysql_select_db("player");
    
$sql="select * from player where Name='$name'";
                
$exec=mysql_query($sql);
                
$exec=mysql_query($sql);
    while(
$row=mysql_fetch_object($exec))
   {
   
$i $i ;
   echo 
"
   <center><table border=0>
  <tr>
    <th width=\"80\"><font color=red>
$i</font></th>
    <th width=\"200\"><font color=pink>
$row->name</font></th>
    <th width=\"200\"><font color=green>
$row->exp</font></th>
    <th width=\"200\"><font color=red>
$row->level</font></th>
    <th width=\"200\"><font color=yellow>
$row->reich</font></th>
  </tr>
</table></center>"
;  
   }
echo 
"</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
</td>
</tr>
</table>
</body>
</html>" 
;
?>
Dies soll die Rangliste sein... Aber bei Name wird nichts engezeigt und bei lvl immer 7 ich weiß nicht wieso und komischer weise nur ein Spieler

Das ist die config.php:

PHP Code:
<?php 
    
/*
    |-------------------------------------------------------------------
    | Datenbank Connection Details
    |-------------------------------------------------------------------
    */
        
$mysql_host     "5.22.16.100";
        
$mysql_user     "root";
        
$mysql_pass     "123456";
        
$mysql_db    "player";
    
/*
    |-------------------------------------------------------------------
    | Datenbank Verbindung herstellen
    |-------------------------------------------------------------------
    */    
        
mysql_connect($mysql_host$mysql_user$mysql_pass) OR
        die(
"Es konnte keine Verbindung zur Datenbank hergestellt werden.<br /> Fehlermeldung: ".mysql_error());    
        
        
mysql_select_db($mysql_db) OR
        die(
"Die Datenbank konnte nicht benutzt werden.<br /> Fehlermeldung: ".mysql_error());
?>
Ich komme einfach nicht mehr weiter...

Würde mich sehr über Hilfe freuen!
Und noch allen ein schönes neues Jahr!!!

MfG Maniac1996
Maniac1996 is offline  
Reply


Similar Threads Similar Threads
Navicat Problem BITTE HELFEN!!!!!!! :(((
03/05/2010 - Metin2 Private Server - 6 Replies
Also ich versuche mal hier mein Problem zu schildern.. Mein Server ging nicht mehr on weil er einen "Server Crash" hatte.. So jetzt habe ich herausgefunden das es was mit der "account DB" zutun hat.. Jetzt war ich so schlau und habe die "account DB" gelöscht.. Server geht wieder on nur was soll ich ohne account? ^^ Gibt es eine möglichkeit das einer diese "account DB" hochlädt oder das ich sie wiederherstellen kann oder eine neue machen kann? Bitte .. Und wenn ich in der "account DB" auf...
[HELP] Navicat zeigt nicht Alle Player an!
02/21/2010 - Metin2 Private Server - 13 Replies
Hallo, Also mein Problem ist wenn ich auf die Tabelle Player gehe sehe ich seitlangen nur 76 Player es sind aber viel Mehr!! Kann mir Dabei jemand helfen? Ich weiß nicht woran das liegt :confused::confused: Über Hilfe würde ich mich freuen! MfG Maniac



All times are GMT +1. The time now is 13:02.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.