Jump to content
  • 0

Problema "cache_get_field_content_int" [MySQL R39]


#Teddy

Question

Problema intalnita (descriere): M-am hotarat sa trec serverul de pe o versiune mai mica de mysql, la ultima (R39). Am rescris scriptul, l-am testat..merge, desi..unele date salvate in baza de date a serverului, au disparut.
Ero(area / rile) / warning-(ul / urile): La deschiderea serverului, apare asta in mysql_log (tin sa precizez, ca aceeasi eroare o intalnesc si la cache_get_field_content_float): 

[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype
[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype
[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype
[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype
[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype
[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype
[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype
[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype
[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype
[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype
[18:56:28] [ERROR] cache_get_field_content_int - invalid datatype

Liniile de cod / sursa / script-ul(obligatoriu):

PlayerData[extraid][pPos][2] = cache_get_field_content_float(0, "PosZ", M_Connect);

PlayerData[extraid][pSkin] = cache_get_field_content_int(0, "Skin", M_Connect);
Imagini / Video (optional): Nu este nevoie
Ati incercat sa rezolvati singur?: Da, am cautat problema asta pe internet, insa fara rezultat. Am intrat in a_mysql.inc sa vad daca parametrii sunt corecti.

Desi inainte era:

PlayerData[extraid][pSkin] = cache_get_field_content_int(0, "Skin");

tot aceste erori dadea.

 

 

OFF: Bug super naspa la code

Edited by #Teddy

Ocupation: Youtube, Mined Bitcoin's, Scripting & Mapping SA:MP

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0
  • 0

Dupa cum am precizat, inainte asa era, in forma in care mi-ai dat-o tu, insa...degeaba. Aceste erori tot apareau.

 

Am constatat oricum, ca mai am o problema legata de cache_get_field_content , mai exact nu incarca datele din baza de date, aceasta fiind de forma:

cache_get_field_content(i, "carPlate", CarData[carPlate], M_Connect);

Ocupation: Youtube, Mined Bitcoin's, Scripting & Mapping SA:MP

Link to comment
Share on other sites

  • 0

Incearca fara acel M_Connect:

 

cache_get_field_content((i, "carPlate", CarData[carPlate]);

Nu mai deschideti in pu*a mea servere de SA:MP !

Jucati-va pe cele care sunt !   Sunt suficiente !

Reguli de bun simt:

1. Nu faceti reclama unde nu trebuie !

2. Nu injurati ca la usa cortului !

3. Daca esti analfabeti, taci din gura !

4. Nu abuza de 'scuze', 'din greseala' !

 

My work ::: http://pastebin.com/VRNRcaAs

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.