Jump to content
  • 0

Am o problema cred ca la database, HELP ME!


Question

10 answers to this question

Recommended Posts

  • 0

1.Verifici logurile atat serverlog.txt cat si mysql_log si vezi daca sunt erori si le rezolvi daca sunt

2. Postezi codul cu problema (care consideri tu ca are legatura), nu facem magie neagra sa ghicim ce ar fi gresit daca nu vedem codul

Link to post
Share on other sites
  • 0
10 hours ago, Banditul said:

1.Verifici logurile atat serverlog.txt cat si mysql_log si vezi daca sunt erori si le rezolvi daca sunt

2. Postezi codul cu problema (care consideri tu ca are legatura), nu facem magie neagra sa ghicim ce ar fi gresit daca nu vedem codul

[15:39:39] Error ID: 1054, {FF0000}ERROR >> {FFFFFF}Unknown column 'PremiumPoints' in 'field list'
[15:39:39] Callback: 
[15:39:39] gQuery: UPDATE `users` SET `PremiumPoints`='47' WHERE `id`='18'

 

asta este erroarea in server_log

Link to post
Share on other sites
  • 0
10 hours ago, Hizan Andrei said:

PremiumPoints nu exista in baza de date in tabelul users, vezi cum este definita si inlocuieste in gamemode sau schimba in baza de date.

 

pai ajutama te rog Marius&ERROR404#4311

 

Link to post
Share on other sites
  • 0

[15:39:39] Error ID: 1054, {FF0000}ERROR >> {FFFFFF}Unknown column 'PremiumPoints' in 'field list'
[15:39:39] Callback: 
[15:39:39] gQuery: UPDATE `users` SET `PremiumPoints`='47' WHERE `id`='18'

Bun o data nu ai tabelul PremiumPoints in baza de date la users , il poti face chiar tu, e f usor.

O data, verifica onplayerlogin sa ai acolo tot ce trb:) iar in caz de nu ai adauga asta:

PlayerInfo[playerid][pPremiumPoints]                   = cache_get_field_content_int(0, "PremiumPoints");

daca ai voucherul in baza de date fa la fel cu pp urile doar ca modifica in loc de premiumpoints ce ai tu , la onplayerlogin 

Link to post
Share on other sites
  • 0
Posted (edited)
On 1/8/2021 at 1:04 PM, Kira. said:

[15:39:39] Error ID: 1054, {FF0000}ERROR >> {FFFFFF}Unknown column 'PremiumPoints' in 'field list'
[15:39:39] Callback: 
[15:39:39] gQuery: UPDATE `users` SET `PremiumPoints`='47' WHERE `id`='18'

Bun o data nu ai tabelul PremiumPoints in baza de date la users , il poti face chiar tu, e f usor.

O data, verifica onplayerlogin sa ai acolo tot ce trb:) iar in caz de nu ai adauga asta:

PlayerInfo[playerid][pPremiumPoints]                   = cache_get_field_content_int(0, "PremiumPoints");

daca ai voucherul in baza de date fa la fel cu pp urile doar ca modifica in loc de premiumpoints ce ai tu , la onplayerlogin 

Am observat acum in database, ca nu este la structure premiumpoints si nici la OnPlayerLoginIn, dar acu la OnPlayerLoginIn l-am facut, iar acum la database ce fac ca eu  sincer cu database is paralel :)).

Edited by VenoMarius
Link to post
Share on other sites
  • 0
7 hours ago, VenoMarius said:

Am observat acum in database, ca nu este la structure premiumpoints si nici la OnPlayerLoginIn, dar acu la OnPlayerLoginIn l-am facut, iar acum la database ce fac ca eu  sincer cu database is paralel :)).

da mi add pe dis: Kira.#1337 si te ajut

Link to post
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.

  • Recently Browsing   0 members

    No registered users viewing this page.

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