andy47 Posted June 1, 2013 Posted June 1, 2013 MySql Login/Register System Am creat un system de login register simplu pe mysql r8 pe care am folosit cache.Multa lume cauta asa ceva asa ca m-am gandit sa-l postez.Nu am descoperit nici un bug.Am pus daca playerul nu este logat sa i se stearga contul.Conturile se salveaza odata la 10 minute.Baza de date(.sql): [download]http://www.solidfiles.com/d/a9088e354c[/download] [download]https://www.dropbox.com/s/56ennoqmdv35gjq/legend.sql[/download] [download] http://www.4shared.com/document/ofeuac_P/legend.html[/download]Scriptul(.pwn):[download]http://www.solidfiles.com/d/d87dcdc3cc[/download] [download]https://www.dropbox.com/s/8w0vsthnshag2h7/mere.pwn[/download] [download] http://www.4shared.com/file/JbNDKAXY/mere.html[/download]MySql Plugin Include(.dll .so .inc): [download]http://www.solidfiles.com/d/cc123799df/[/download] [download]http://www.4shared.com/rar/TzTY1Rgh/pluginandinclude.html[/download] [download]https://www.dropbox.com/s/win9mqikilzggxh/pluginandinclude.rar[/download]
Diabolik Posted June 1, 2013 Posted June 1, 2013 Bravo , frumos daca este facut de tine 10/10. LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP
eXorcism Posted June 1, 2013 Posted June 1, 2013 Te omor cu mana mea ... dc ai dat asta sa aiba toti mysql pe servere ?Oricum are un mic bugulet de care nu iti spun cum sa il rezolvi ca dai si aia =)) I'm back bitches.
andy47 Posted June 1, 2013 Author Posted June 1, 2013 zi bugu si il rezolv eu:D P.S.: postez si bank system pe mysql cu dialoguri =) si mai vad eu....;)
[Funky]Anakin Posted June 2, 2013 Posted June 2, 2013 Trebuia sa faci un stock nu sa ii ia name mereu ...E tare faza ca ai bagat sa fie sters contul din db daca nu ii logat Cand am vazut THREAD_DIALOG_REGISTER am crezut ca folosesti OnQueryFinish .... Stii ca nu se mai foloseste in R8 / Google Code R20 No ? La[pawn] format(string, sizeof(string),"INSERT INTO `Users`(Name,Password,Kills,Deaths,Money) VALUES('%s','%s','0','0','0')",GetName(playerid),inputtext);[/pawn]Mergea si[pawn] format(string, sizeof(string),"INSERT INTO `Users`VALUES('%s','%s','0','0','0')",GetName(playerid),inputtext);[/pawn]Sau[pawn]strcat(string, "INSERT INTO `Users`"); format(string, sizeof(string),"%s VALUES('%s','%s','0','0','0')",GetName(playerid),inputtext);[/pawn]Faza cu Function:: nu imi place , puteai sa ii zici functie , function , callback , etc .Aranjarea nu imi place ... e urata ....3.9 / 5 . Daca lucrai la aranjare , si faceai si cu Hash la parole luai nota maxima de la mine :D
andy47 Posted June 2, 2013 Author Posted June 2, 2013 daca gasesti pe net l/r mysql r8 ai un ou de pasti;)
Rimmon Posted June 2, 2013 Posted June 2, 2013 Are un bug si nici nu l-am testat [pawn]P_DATA [ playerid ] [ pDeaths ] ++; P_DATA [ killerid ] [ pKills ] ++;[/pawn]Killurile nu vor urca..sau deathurile..nu mai stiu sigur care:))In fine....este incorect cum ai facut..Uite cum e corect[pawn]P_DATA [ playerid ] [ pDeaths ] ++;if ( killerid != INVALID_PLAYER_ID ){P_DATA [ killerid ] [ pKills ] ++;}[/pawn]In rest bun FS-ul..Si da, cum a spus si funky ...Nu e incorect dar economisesti un pic de timp si spatiu:In loc de[pawn]format(string, sizeof(string),"INSERT INTO `Users`(Name,Password,Kills,Deaths,Money) VALUES('%s','%s','0','0','0')",GetName(playerid),inputtext);[/pawn]Poti pune [pawn]format(string, sizeof(string),"INSERT INTO `Users`VALUES('%s','%s','0','0','0')",GetName(playerid),inputtext);[/pawn] Massari e curva mea
[Funky]Anakin Posted June 2, 2013 Posted June 2, 2013 Uite aici : http://forum.sa-mp.com/showthread.php?t=427109E in franceza .... Dar ai zis R8 Nu In engleza .E topic cu ajutor cred dar ai zis login / register nu tutorial sau fs .... :]
XStormiest Posted June 2, 2013 Posted June 2, 2013 http://forum.sa-mp.com/showthread.php?t=441165Cumva tu esti: raddetine?Ca sa nu incep sa te injur fara motiv...Sa stiu daca l-ai copiat sau nu Eu sunt nimeni. Dar prefer sa fiu un nimeni inconjurat de prieteni adevarati, decat un om faimos inconjurat de falsi.Nu sunt un scripter perfect, nu sunt nici macar pe aproape, insa in in ciuda acestui fapt incerc sa invat sa le fac pe toate.
eXorcism Posted June 3, 2013 Posted June 3, 2013 Da el e si Funky ala e pe mysql r7 =) I'm back bitches.
[.E.m.O.]K1DDU Posted June 6, 2013 Posted June 6, 2013 'Un rahat xD , nu e nici un R8 e R7 iti dai seama dupa mysql_log si functia folosita cache_get_data , in R8 REVIZIA (20 actuala) nu mai exista cache_get_data si/sau mysql_log( 1/0 ) .'Prost scriptat, siii un script adevarat nu ar arata asa , scris fara cap. https://code.google.com/p/sa-mp-mysql-plugin/source/list F*ck everybody who want and who try to judge me for who I am, b*star*s ! Follow me on: Facebook.com TSU.co Twitter.com Instagram.com Youtube.com Google+
QuiK Posted June 19, 2013 Posted June 19, 2013 MySql Login/Register System Am creat un system de login register simplu pe mysql r8 pe care am folosit cache.Multa lume cauta asa ceva asa ca m-am gandit sa-l postez.Nu am descoperit nici un bug.Am pus daca playerul nu este logat sa i se stearga contul.Conturile se salveaza odata la 10 minute.Baza de date(.sql): http://www.solidfiles.com/d/a9088e354c/ https://www.dropbox.com/s/56ennoqmdv35gjq/legend.sql http://www.4shared.com/document/ofeuac_P/legend.htmlScriptul(.pwn):http://www.solidfiles.com/d/d87dcdc3cc/ https://www.dropbox.com/s/8w0vsthnshag2h7/mere.pwn http://www.4shared.com/file/JbNDKAXY/mere.htmlMySql Plugin Include(.dll .so .inc): http://www.solidfiles.com/d/cc123799df/ http://www.4shared.com/rar/TzTY1Rgh/pluginandinclude.html https://www.dropbox.com/s/win9mqikilzggxh/pluginandinclude.rarFrumos 4.5/5Daca e facut de tine.Tin minte ca am vazut pe sa-mp.com la fel <a href="http://www.game-state.eu/93.119.30.66:7777/"><img src="http://www.game-state.eu/93.119.30.66:7777/560x95_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a> Nume:Fizzy
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now