Jump to content
  • 0

Problema sscanf


iPanter

Question

Salut, de ce primesc erorile astea in consola si imi da stop working? Am schimbat la include-uri si plugin-uri de mi s a facut rau si degeaba.. Am compilat si degeaba..

Am instalat vcredist.

// INCLUDES
#include <a_samp>        
#include <a_mysql>
#include <streamer>        
#include <playerzone>    
#include <beaZone>
#include <foreach>        
#include <sscanf2>
#include <zcmd>        
#include <YSI\y_hooks>    
#include <AutoAFK>     
#include <mSelection>   
#include <fly>
#include <days>
#include <a_http>
#include <md5>
#include <playerprogress>
#include <posloot>
#include <afkdetect>

https://imgur.com/a/rNxlo6M

Edited by iPanter
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Salut, Consola spune tot, daca ai citi ai vedea ca scrie alb pe negru:connection to database failed

in concluzie nu sunt bune datele mysql

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0
1 hour ago, Mister said:

Salut, Consola spune tot, daca ai citi ai vedea ca scrie alb pe negru:connection to database failed

in concluzie nu sunt bune datele mysql

De cand primesti crash la server daca datele nu sunt bune? in cel mai rau caz o inchide nu ii da crash.

 

Daca ai crashdetect dai update la ultima versiune.

Link to comment
Share on other sites

  • 0
8 minutes ago, McClane said:

De cand primesti crash la server daca datele nu sunt bune? in cel mai rau caz o inchide nu ii da crash.

 

Daca ai crashdetect dai update la ultima versiune.

Ei bine eu te anun ca primesc si crash daca am datele gresite nu inteleg de ce vorbesti in necunostiinta de cauza. Cred ca depinde de gamemode

EDIT: Te inteleg dar si eu ti am spus tot din experienta mie imi da crash daca nu am datele corecte, intradevar unele gmuri se inchid si gata

 

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0

Am rezolvat, se poate da T/C.

Trebuia sters 

    if(SQL && mysql_errno(SQL) == 1)
    {
        printf("[MYSQL]: Connection to database was established!");
    }
    else
    {
        printf("[MYSQL]: Connection to database failed!");
        SendRconCommand("exit");
    }

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.