#Rick

Membres
  • Compteur de contenus

    12
  • Points

  • Inscription

  • Dernière visite

Réputation sur la communauté

1 Neutre

À propos de #Rick

  • Rang
    Membre

Informations personnelles

  • Localisation
    TS de C_far

San Andreas Multiplayer

  • Serveur
    127.0.0.1

Compétences

  • Pawn
  • Web front-end
  • Web back-end
  • Mapping
  • Réseau
  • Graphisme

Visiteurs récents du profil

255 visualisations du profil
  1. Table créer et formater. Mais le problème je pense que Query arrive pas à exécuter les tables pour une raison inconnue pour ma par. [13:43:56] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [13:43:56] [DEBUG] CMySQLConnection::Connect - connection was successful [13:43:56] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [13:43:56] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [13:43:56] [DEBUG] CMySQLConnection::Connect - connection was successful [13:43:56] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [13:43:56] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [13:43:56] [DEBUG] CMySQLConnection::Connect - connection was successful [13:43:56] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadSettings] - starting query execution [13:43:56] [ERROR] CMySQLQuery::Execute[LoadSettings] - (error #1146) Table 'fcl.Settings' doesn't exist [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadSettings] - error will be triggered in OnQueryError [13:43:56] [DEBUG] CMySQLQuery::Execute[Load_Houses] - starting query execution [13:43:56] [ERROR] CMySQLQuery::Execute[Load_Houses] - (error #1146) Table 'fcl.Houses' doesn't exist [13:43:56] [DEBUG] CMySQLQuery::Execute[Load_Houses] - error will be triggered in OnQueryError [13:43:56] [DEBUG] CMySQLQuery::Execute[Load_Businesses] - starting query execution [13:43:56] [ERROR] CMySQLQuery::Execute[Load_Businesses] - (error #1146) Table 'fcl.Business' doesn't exist [13:43:56] [DEBUG] CMySQLQuery::Execute[Load_Businesses] - error will be triggered in OnQueryError [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadObjects] - starting query execution [13:43:56] [ERROR] CMySQLQuery::Execute[LoadObjects] - (error #1146) Table 'fcl.Objects' doesn't exist [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadObjects] - error will be triggered in OnQueryError [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadIcons] - starting query execution [13:43:56] [ERROR] CMySQLQuery::Execute[LoadIcons] - (error #1146) Table 'fcl.Icons' doesn't exist [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadIcons] - error will be triggered in OnQueryError [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadVehicles] - starting query execution [13:43:56] [ERROR] CMySQLQuery::Execute[LoadVehicles] - (error #1146) Table 'fcl.ServerVehicles' doesn't exist [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadVehicles] - error will be triggered in OnQueryError [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadFactionVehicles] - starting query execution [13:43:56] [ERROR] CMySQLQuery::Execute[LoadFactionVehicles] - (error #1146) Table 'fcl.FactionVehicles' doesn't exist [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadFactionVehicles] - error will be triggered in OnQueryError [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadFactions] - starting query execution [13:43:56] [ERROR] CMySQLQuery::Execute[LoadFactions] - (error #1146) Table 'fcl.Factions' doesn't exist [13:43:56] [DEBUG] CMySQLQuery::Execute[LoadFactions] - error will be triggered in OnQueryError
  2. if ($user -> LoggedIn()) { echo '<div class="alert alert-success"><p><strong><font color="black">Tu est déjà connecter. Redirection...</font></p></center></div>'; echo "<meta http-equiv=\"refresh\" content=\"3;url=index.php\">"; die(); } if (isset($_POST['loginBtn'])) { $pseudo = $_POST['pseudo']; $mdp = $_POST['mdp']; $errors = array(); if (!ctype_alnum($pseudo) || strlen($pseudo) < 4 || strlen($pseudo) > 15) { $errors[] = 'Utilise les bons caractère'; } if (empty($pseudo) || empty($mdp)) { $errors[] = 'Utilise le bon mot de passe'; } if (empty($errors)) { $SQLCheckLogin = $odb -> prepare("SELECT COUNT(*) FROM `joueurs` WHERE `pseudo` = :pseudo AND `mdp` = :mdp"); $SQLCheckLogin -> execute(array(':pseudo' => $pseudo, ':mdp' => SHA1($mdp))); $countLogin = $SQLCheckLogin -> fetchColumn(0); if ($countLogin == 1) { $SQLGetInfo = $odb -> prepare("SELECT `pseudo`, `ID`, `status` FROM `joueurs` WHERE `pseudo` = :pseudo AND `mdp` = :mdp"); $SQLGetInfo -> execute(array(':pseudo' => $pseudo, ':mdp' => SHA1($mdp))); $joueurInfo = $SQLGetInfo -> fetch(PDO::FETCH_ASSOC); if ($joueurInfo['status'] == "0") { $_SESSION['pseudo'] = $joueurInfo['pseudo']; $_SESSION['ID'] = $joueurInfo['ID']; $ip = getRealIpAddr(); $SQL = $odb -> prepare('INSERT INTO `loginlogs` VALUES(:pseudo, :ip, UNIX_TIMESTAMP(), "")'); $SQL -> execute(array(':ip' => $ip, ':pseudo' => $pseudo)); echo '<div class="alert alert-success"><center><p><font color=\'black\'>Connection autoriser. Redirection...</font></p></center></div><meta http-equiv="refresh" content="3;url=index.php">'; die(); } Moi j'ai fait simple pour mon système de login
  3. C'est normal si tu utilise la table sarp, c'est pas joueurs mais players_stats.. Modifie les tables.
  4. C'est régler encore merci C_far !
  5. Je vais essayer merci de la réponse.
  6. Bonjour à tous alors voilà ce matin je voulais tester un serveur rôle play trouver sur le net. Et en installant le gamemode j'ai eu quelques soucis de fichier SQL. Pour moi le VPS est à jour, et les plugins aussi. Je pense que sa vient d'une lib mal installer j'attend votre aide. echo Executing Server Config... lanmode 1 password LaMacarénacestbienquandonestbouré rcon_password 12345 maxplayers 5 hostname testserveurrp gamemode0 tsrp plugins mysql.so sscanf.so crashdetect.so streamer.so whirlpool.so announce 0 query 1 chatlogging 0 weburl www.brazzers.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 10 logtimeformat [%H:%M:%S] Les logs SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [11:24:28] [11:24:28] Server Plugins [11:24:28] -------------- [11:24:28] Loading plugin: mysql.so [11:24:28] Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) [11:24:28] Loading plugin: sscanf.so [11:24:28] [11:24:28] =============================== [11:24:28] sscanf plugin loaded. [11:24:28] (c) 2009 Alex "Y_Less" Cole [11:24:28] 0.3d-R2 500 Players "dnee" [11:24:28] =============================== [11:24:28] Loaded. [11:24:28] Loading plugin: crashdetect.so [11:24:28] Failed (plugins/crashdetect.so: cannot open shared object file: No such file or directory) [11:24:28] Loading plugin: streamer.so [11:24:28] *** Streamer Plugin v2.7.4 by Incognito loaded *** [11:24:28] Loaded. [11:24:28] Loading plugin: whirlpool.so [11:24:28] [11:24:28] ================== [11:24:28] [11:24:28] Whirlpool loaded [11:24:28] [11:24:28] ================== [11:24:28] [11:24:28] Loaded. [11:24:28] Loaded 3 plugins. [11:24:28] [11:24:28] Filterscripts [11:24:28] --------------- [11:24:28] Loaded 0 filterscripts. [11:24:28] Script[gamemodes/tsrp.amx]: Run time error 19: "File or function is not found" [11:24:28] Number of vehicle models: 0 Et bien-sur le serveur démarre en UNKNOWN Voilà j'espère pouvoir être aidez merci à tous d'avance.
  7. résolu

    Merci C_far erreur régler.
  8. résolu

    C'est pas la question je demande l'explication de l'erreur..
  9. résolu

    J'ai citer la ligne dans le code ^^
  10. #include "a_samp" public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) GetPlayerName(killerid, KillerName, sizeof(KillerName)); return 1; }
  11. #include <a_samp> main() { new i = 10; if(i < 10) { print("Coucou merci pour le tuto"); i++; goto boucle; } } J'ai pas d'autre solution que celle que j'ai apprise
  12. résolu

    Bonjour à tous je suis M3ND4X de samp-forum.com c'est ma première demande d'aide sur ce forum et j'espère que vous allez m'aidez. Le code: forward Float:GetPlayerSpeed(playerid); stock Float:GetPlayerSpeed(playerid) { new Float:SpeedX, Float:SpeedY, Float:SpeedZ; new Float:Speed; if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid), SpeedX, SpeedY, SpeedZ); else GetPlayerVelocity(playerid, SpeedX, SpeedY, SpeedZ); if(Z) Speed = floatsqroot(floatadd(floatpower(SpeedX, 2.0), floatadd(floatpower(SpeedY, 2.0), floatpower(SpeedZ, 2.0)))); (2076) else Speed = floatsqroot(floatadd(floatpower(SpeedX, 2.0), floatpower(SpeedY, 2.0))); Speed = floatround(Speed * 100 * 1.61); return Speed; } L'erreur: \gamemode\gamemodes\pft.pwn(2076) : warning 206: redundant test: constant expression is non-zero J'ai jamais eu ce genre de warning j'ai essayer de comprendre avant de poster, d'ailleurs si vous pouviez m'expliquer d'ou sa viens, pourquoi et comment cette erreur à apparue . Car pour moi le code est correct. Merci à ceux qui vont m'aider.