Jump to content
  • 0

Ajutor problema la logare


Onica Gheorghe

Question

Buna ziua am o problema la logare e dela data de baza 

cind ma loghez imi zice parola gresita 

astai server _log

[21:04:52] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[21:05:12] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[21:05:32] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[21:05:53] [debug] Run time error 20: "Invalid index parameter (bad entry point)"

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[21:06:07] filterscripts = ""  (string)
[21:06:07] password = ""  (string)
[21:06:07] 
[21:06:07] Server Plugins
[21:06:07] --------------
[21:06:07]  Loading plugin: crashdetect.so
[21:06:07]   CrashDetect v4.14 is OK.
[21:06:07]   Loaded.
[21:06:07]  Loading plugin: sscanf.so
[21:06:07] 

[21:06:07]  ===============================

[21:06:07]       sscanf plugin loaded.     

[21:06:07]          Version:  2.8.1        

[21:06:07]    (c) 2012 Alex "Y_Less" Cole  

[21:06:07]  ===============================

[21:06:07]   Loaded.
[21:06:07]  Loading plugin: streamer.so
[21:06:07] 

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[21:06:07]   Loaded.
[21:06:07]  Loading plugin: mysql.so
[21:06:07]  >> plugin.mysql: R38 successfully loaded.
[21:06:07]   Loaded.
[21:06:07]  Loading plugin: mysql_static.so
[21:06:07]  >> plugin.mysql: R39-6 successfully loaded.
[21:06:07]   Loaded.
[21:06:07]  Loaded 5 plugins.

[21:06:07] 
[21:06:07] Filterscripts
[21:06:07] ---------------
[21:06:07]   Loaded 0 filterscripts.

[21:06:08]  
[21:06:08]  
[21:06:08]  
[21:06:08]  ======================================= 
[21:06:08]  |                                     | 
[21:06:08]  |        YSI version 3.09.0684        | 
[21:06:08]  |        By Alex "Y_Less" Cole        | 
[21:06:08]  |                                     | 
[21:06:08]  ======================================= 
[21:06:08]  
[21:06:08] [MySQL Houses]: 0
[21:06:08] [MySQL Vehicles]: 0 server vehicles loaded.
[21:06:08] [MySQL Clans]: 0 clans loaded.
[21:06:08] [MySQL Bussines]: 0
[21:06:08] [MySQL Turfs]: 0
[21:06:08] [MySQL Jobs]: 0 loaded...
[21:06:08] [MySQL Furniture]: 0 objects loaded.
[21:06:08] [MySQL SafeZone]: 0 loaded...
[21:06:08] Number of vehicle models: 29
[21:06:27] [connection] incoming connection: 109.185.163.73:59623 id: 0
[21:06:27] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[21:06:27] [join] bobi has joined the server (0:109.185.163.73)
[21:06:28] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[21:06:48] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[21:06:58] [part] bobi has left the server (0:2)
[21:07:09] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[21:07:29] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[21:07:49] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
 

 

 

aici ma dau datele ca am pus corect in gm 

mysql_log(LOG_ERROR, LOG_TYPE_TEXT);
    SQL = mysql_connect("193.203.39.132", "fbi7376", "fbi7376", "********");
    SetNameTagDrawDistance(30);
    EnableStuntBonusForAll(0);
    ShowPlayerMarkers(2);
    LimitPlayerMarkerRadius(5.0);
    new string[MAX_PLAYER_NAME];
    new string1[MAX_PLAYER_NAME];
    new szQuery[128];
    format(szQuery, sizeof(szQuery), "SELECT * FROM `users`");
    new Cache: result = mysql_query(SQL, szQuery);
     ServerAccounts = cache_get_row_count ();
    cache_delete(result);
    for(new c=0;c<CAR_AMOUNT;c++)

 

asta error dela mysql_log

[21:06:08] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[21:06:08] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

 

 

care stie spunetimi cei problema si cum so rezolv 

mersi 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Run time error 20: "Invalid index parameter (bad entry point)"

Inseamna ca nu ai main in gm tau

main(){}

De preferat asta va fi printre primele lucruri imediat dupa partea de #include

CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Asta in schimb sugereaza ca serverul de mysql nu ruleaza, cel putin nu la adresa specificata (adica la ip respectiv) si de aceea nu se poate conecta. In cazul acesta daca nu ai acces la server (cel mai probabil ai cumparat host) va trebuie sa trimiti un ticket catre cei de la care ai cumparat host si sa ii intrebi de eroarea asta

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.