Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. DragosITZ

    Ofer servicii Scripting

    Salut ai vrea sa fi Scripter la mine pe server este un server de samp android !
  3. Today
  4. ionutdrg45

    Panel parola criptata

    Depinde cu ce este criptata parola, in general eu foloseam md5 si pentru asta codul arata ceva in genul $q->execute(array($_POST['username_'],md5($_POST['password_']))); insa gamemodeul tau poate foloseste alta metoda de criptare, utia-te cu ce cripteaza parolele si cauta o solutie in php pe net Edit: Cat despre introducerea parolei, nu poti introduce parola critpata, trebuie parola originala ce urmeaza a fi criptata si comparata cu din db
  5. Yesterday
  6. TheRexAdv

    Vand panel wcode 3 euro

    unde mai exact?
  7. TheRexAdv

    Register pe textdraw gm burned

    vezi ca este pe canal la edison pas cu pas Succes.
  8. Azze47

    Filterscript GiftBox

    Frumos frt 1+
  9. Peysco

    Vand avere Jade Nephirte

    Vand avere jade nephirte: -1.9kkk bani. -500kk-(25 lei) -1kkk-(50 lei). Doar Paysafecard.
  10. LordHitlerAdv

    Am nevoie de ajutor cu asta.

    [debug] OnPlayerDeath(0, 65535, 255) [debug] Run time error 5: "Invalid memory access" [debug] AMX backtrace: [debug] #0 00000014 in public @yC_actor () in GM.amx [debug] #1 native CallRemoteFunction () in samp-server.exe [debug] #2 0003740c in ?? (0, 22484856, 0) in GM.amx [debug] #3 00036c50 in ?? (0, 22484856) in GM.amx [debug] #4 0002961c in public OnPlayerCommandText (0, 22484856) in GM.amx
  11. TheRexAdv

    [#include] - Sistem Drop Air

    inainte nu a scris si nustiu dc iti bagi nasu'
  12. TheRexAdv

    Am o problema cu sistemul de register/logi.

    incearca sa iei dintr-un gamemode ar fii mult mai simplu'
  13. Salut, de ore tot caut pe internet tutorial despre sistemul de register/login, dar nu pot sa-mi dau seama ce gresec. Ma puteti ajuta? Problema esentiala este ca nu-mi apar text-boxurile. // This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> #include <a_mysql> #include <easyDialog> #define host "localhost" #define db "samp" #define user "root" #define pass "" enum { DIALOG_LOGIN, DIALOG_REGISTER }; enum pinfo { id, passw[129], name[30], money, level }; new PData[MAX_PLAYERS][pinfo]; new playername[MAX_PLAYERS][30]; new MySQL:dbhandle; new PlayerIP[MAX_PLAYERS][17]; forward OnPlayerLogin(playerid); forward SavePlayer(playerid); forward RegisterPlayer(playerid); forward LoadPlayer(playerid); native WP_Hash(buffer[], len, const str[]); #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript mysql_log(ALL); dbhandle = mysql_connect(host,user,pass,db); if (dbhandle == MYSQL_INVALID_HANDLE || mysql_errno(dbhandle) != 0) { print("MySQL connection failed. Server is shutting down."); // Read below SendRconCommand("exit"); // close the server if there is no connection return 1; } print("eokboss\n"); SetGameModeText("Blank Script"); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerLogin(playerid) { new rows,string[150]; cache_get_row_count(rows); if (rows) { cache_get_value_name(0, "password", PData[playerid][passw], 129); // Load the player's password cache_get_value_name_int(0, "id", PData[playerid][id]); format(string,sizeof(string),"Welcome back to the server.\nPlease type your password below to login to your account."); Dialog_Show(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", string, "Login", "Exit"); } else { format(string, sizeof(string), "Welcome to our server.\nIf you want to play here, you must register an account. Type a strong password below to register."); Dialog_Show(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", string, "Register", "Exit"); } } public OnPlayerConnect(playerid) { new query[140]; GetPlayerName(playerid,playername[playerid],30); GetPlayerIp(playerid, PlayerIP[playerid], 16); mysql_format(dbhandle,query,sizeof(query),"SELECT 'password','Id' FROM 'user' WHERE 'username' = '%e' LIMIT 0, 1",playername[playerid]); mysql_tquery(dbhandle,query,"OnPlayerLogin", "i", playerid); return 1; } public OnPlayerDisconnect(playerid, reason) { SavePlayer(playerid); return 1; } public SavePlayer(playerid) { new query[140]; mysql_format(dbhandle, query, sizeof(query), "UPDATE `user` SET `cash` = '%d' WHERE `ID` = '%d'", PData[playerid][money], PData[playerid][id]); mysql_tquery(dbhandle,query); } public RegisterPlayer(playerid) { PData[playerid][id] = cache_insert_id(); printf("A new account with the id of %d has been registered!", PData[playerid][id]); // You can remove this if you want, I just used it to debug. return 1; } public LoadPlayer(playerid) { cache_get_value_name_int(0, "cash", PData[playerid][money]); GivePlayerMoney(playerid,PData[playerid][money]); //Load the player's cash and give it to them. return 1; } Dialog:DIALOG_LOGIN(playerid,response,listitem,inputtext[]) { if(!response) return Kick(playerid); new password[129], query[100]; WP_Hash(password, 129, inputtext); if(!strcmp(password, PData[playerid][passw])) { mysql_format(dbhandle, query, sizeof(query), "SELECT * FROM `user` WHERE `username` = '%e' LIMIT 0, 1", playername[playerid]); mysql_tquery(dbhandle, query, "LoadPlayer", "i", playerid); } else { Dialog_Show(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login", "{FF0000}Wrong Password!\n{FFFFFF}Type your correct password below to continue and sign in to your account", "Login", "Exit"); } return 1; } Dialog:DIALOG_REGISTER(playerid,response,listitem,inputtext[]) { if (!response) return Kick(playerid); if (strlen(inputtext) < 3) return Dialog_Show(playerid,DIALOG_REGISTER,DIALOG_STYLE_PASSWORD,"Register", "{FF0000}Short Password!\n{FFFFFF}Type a 3+ characters password if you want to register and play on this server", "Register", "Exit"); new query[300]; WP_Hash(PData[playerid][passw], 129, inputtext); mysql_format(dbhandle, query, sizeof(query), "INSERT INTO `user` (`username`, `password`, `level`, `cash`, `admin`, `ip` , `vip`) VALUES ('%e', '%e', 0, 0, 0,'%e', 0)", playername[playerid], PData[playerid][passw], PlayerIP[playerid]); mysql_pquery(dbhandle, query, "RegisterPlayer", "i", playerid); return 1; }
  14. Valentin1999

    Combinat

    Mapa a fost făcută acum mult timp în urmă, sper să vă placă! Mapă SaMp perfectă pentru un server de Trucking sau RPG, puteți face curse pentru jobul sofer de tir aici. Video: Link download: Mapă FS Poartă
  15. GamiAxel

    Vand Cont Jade.Nephrite

    Vand Cont Jade Nephrite! -Bullet Stock -Daca doriti avere astept mesaj cu cat doriti si ceea ce dati in schimb. Daca doriti siguranta optati pt plata de 1 euro pt o tranzactie sigura, plata fiind efectuata de cumparator.
  16. -=[Vyorel]=-

    Gard și parolă la poartă

    Vezi ca ai mâncat niste puncte la al 2lea link.
  17. Valentin1999

    Gard și parolă la poartă

    O simplă mapă cu un gard și parolă la poartă potrivită pentru un server de trucking/rpg De aici puteți descarca mapa și de aici filescriptul cu comanda pentru poartă
  18. Valentin1999

    Oraș pe apă

    Oraș pe apă cu case, depozit industrial și aeroport Mapa poate fi descarcată de aici
  19. Rikie

    Problema Login si register

    Salutare tuturor ! Am o mica problema la login si register, si nu pot sa imi dau seama de loc. Erorile sunt acestea: C:\Users\aurel\Desktop\0.3.7\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)") C:\Users\aurel\Desktop\0.3.7\gamemodes\0.3.7GM.pwn(137) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\aurel\Desktop\0.3.7\gamemodes\0.3.7GM.pwn(137) : warning 215: expression has no effect C:\Users\aurel\Desktop\0.3.7\gamemodes\0.3.7GM.pwn(137) : error 001: expected token: ";", but found ")" C:\Users\aurel\Desktop\0.3.7\gamemodes\0.3.7GM.pwn(137) : error 029: invalid expression, assumed zero C:\Users\aurel\Desktop\0.3.7\gamemodes\0.3.7GM.pwn(137) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. Iar riga 137 este aceasta: if(fexist(UserPath(playerid))) Va las mai jos toata partea unde este adaugata acea linie. public OnPlayerConnect(playerid) { if(fexist(UserPath(playerid))) { INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid) ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Scrie parola pentru a te loga.","Intra","Iesi"); } else { ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Inregistrare",""COL_WHITE"Scrie o parola pentru a crea un cont.","Inregistrare","Iesi"); } return 1; } Ma puteti ajuta va rog ?
  20. Daviduc SCRIPTER

    Gamemode Power-Legion [NO-SQL]

    un link?
  21. Raduq

    Problema Pawno zcmd

    Nu imi lipseste mane nimic.. Am totul facut cum trebuie.. dar nu merge
  22. AlexxAdv

    Problema Pawno zcmd

    Iti lipseste zcmd.inc din pawno > include
  23. Raduq

    Problema Pawno zcmd

    Salut. Am zcmd-ul bagat in pawno -> include si degeaba... tot nu merge. am pus si in pawno #include <zcmd>, si imi zice "D:\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Untitled.pwn(6) : fatal error 100: cannot read from file: "zcmd" si nu stiu ce are. Help plsss
  24. Sebi wepos

    Cum adaug si eu zcmd?

    Cum adaug si eu zcmd in gamemode meu? adk stiu sa pun in include zcmd dar nush cum sa pun include si alea sa mearga ca daca fac cum cred eu ca e imi da o eroare
  25. Sebi wepos

    [#include] - Sistem Drop Air

    tu nu ai vazut ca scrie asa: Download include+YSI: https://www.solidfiles.com/v/4aBBwgM7gZmDg https://www.mediafire.com/file/adzt03h98yb28ne/dropAir.rar PAROLA: sirius Daca ti-a placut nu uita de un +1 si poate un eventual subscribe la canal. V-am salultat pe toti, ne vedem la urmatorul sistem/tutorial. doamne:))
  26. Last week
  27. -=[Vyorel]=-

    OG-Times Asemanator V1 + Panel

    In caz ca nu pune link-ul de download cum trebuie in maxim 48 de ore, astept un raport la topic.
  28. Dragos_rex

    OG-Times Asemanator V1 + Panel

    Pentru a uploada arhivele, vă recomandăm să folosiți site-ului nostru (funcția de atașare) sau urmatoarele site-uri: solidfiles.com, zippyshare.com și uploaded.net.
  1. Load more activity
×

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.