Jump to content

andreiutzu961

Membru
  • Posts

    63
  • Joined

  • Last visited

    Never

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

andreiutzu961's Achievements

Collaborator

Collaborator (7/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. frumos 7/8 PS: imi place , ce gm folosesti
  2. Mda logic , ca nu merge cu alte plugin-uri asa l-ai modificat tu .... si in + are in plugin-uri jmecheri )
  3. andreiutzu961

    problema

    schimba [pawn] #define TIME 250 [/pawn] cu [pawn] #define TIME 40000 // o poti mari [/pawn] Cred nu stiu sigur... Dar incearca ;)
  4. [pawn]Daca faci un GM si lucrati mult la el , de ce il postati pe net in loc sa il vindeti?[/pawn] Poate ca nu toti duc lipsa banilor , ca 'alti' Frumos GM :)
  5. Salut!!! Deci pana sa imi reformatez pc-ul mergea foarte bine server-ul , iar apoi cand l-am reformatat uitati.... [11:39:21] Loading plugin: streamer [11:39:22] Failed. [11:39:22] Loading plugin: sscanf [11:39:24] Failed.
  6. am pus dar uite ........ [pawn](1880) : error 025: function heading differs from prototype (3890) : warning 213: tag mismatch (3890) : error 032: array index out of bounds (variable "PlayerInfo") (4168) : warning 213: tag mismatch (4168) : error 032: array index out of bounds (variable "PlayerInfo") (4183) : warning 213: tag mismatch 4183) : error 032: array index out of bounds (variable "PlayerInfo") (4198) : warning 213: tag mismatch (4198) : error 032: array index out of bounds (variable "PlayerInfo") (4213) : warning 213: tag mismatch (4213) : error 032: array index out of bounds (variable "PlayerInfo") (4228) : warning 213: tag mismatch (4228) : error 032: array index out of bounds (variable "PlayerInfo") (4630) : warning 213: tag mismatch (4630) : error 032: array index out of bounds (variable "PlayerInfo") (4645) : warning 213: tag mismatch (4645) : error 032: array index out of bounds (variable "PlayerInfo") (4674) : warning 213: tag mismatch (4674) : error 032: array index out of bounds (variable "PlayerInfo") (4683) : warning 213: tag mismatch (4683) : error 032: array index out of bounds (variable "PlayerInfo")[/pawn]
  7. Eroare [pawn](1880) : error 025: function heading differs from prototype (2759) : error 017: undefined symbol "CarInfo" (2759) : error 036: empty statement (2759) : error 017: undefined symbol "car" (2759) : fatal error 107: too many error messages on one line[/pawn] Functia [pawn]public RACtime(playerid) { for(new player=0; player<MAX_PLAYERS; player++) { if(!IsVehicleOccupied(player)) SetVehicleToRespawn(player); } Linia unde imi da eroare ...... for(new car = 1; car < sizeof(CarInfo); car++) { if(!IsVehicleOccupied(car)) SetVehicleToRespawn(car); } return 1; }[/pawn]
  8. Nu e bun link de download :|
  9. Ce mi-ai dat u acolo nu e bun imi da aceleasi erori...... iti postez toata functia poate asa iti dai seama ... primele eroari [pawn](119) : error 001: expected token: ";", but found "static"[/pawn] [pawn] linia cu eroare static SetPlayerLookAt(playerid,Float:x,Float:y) { new Float:Px, Float:Py, Float: Pa; GetPlayerPos(playerid, Px, Py, Pa); Pa = floatabs(atan((y-Py)/(x-Px))); if (x <= Px && y >= Py) Pa = floatsub(180.0, Pa); else if (x < Px && y < Py) Pa = floatadd(Pa, 180.0); else if (x >= Px && y <= Py) Pa = floatsub(360.0, Pa); Pa = floatsub(Pa, 90.0); if (Pa >= 360.0) Pa = floatsub(Pa, 360.0); SetPlayerFacingAngle(playerid, Pa); return; }[/pawn] si a 2a [pawn](55258) : error 012: invalid function call, not a valid address (55258) : error 001: expected token: ";", but found ")" (55258) : error 029: invalid expression, assumed zero (55258) : fatal error 107: too many error messages on one line[/pawn] [pawn] new string[128], OnFly , StartFly; if(PRESSED(KEY_SUBMISSION)) { if(IsPlayerConnected(playerid) && !IsPlayerInAnyVehicle(playerid)) { if(AdminDuty[playerid] && PlayerInfo[playerid][pAdmin] >= 1337) { linia cu eroare if(!(OnFly (playerid)) && StartFly(playerid)) else StopFly(playerid); } } }[/pawn]
  10. Deci am niste erori banale dar nu le dau de cap :| le-am inversat modificat si degeaba :| linia [pawn]static SetPlayerLookAt(playerid,Float:x,Float:y)[/pawn] eroare [pawn](119) : error 001: expected token: ";", but found "static"[/pawn] //========================================================= linia [pawn]if(!OnFly (playerid)) && StartFly(playerid)[/pawn] cred ca nu e aranjata bn :| Eroare [pawn](55258) : error 012: invalid function call, not a valid address (55258) : error 001: expected token: ";", but found ")" (55258) : error 029: invalid expression, assumed zero (55258) : fatal error 107: too many error messages on one line[/pawn]
  11. [pawn][17:57:54] Error: Function not registered: 'mysql_connect' [17:57:54] Error: Function not registered: 'mysql_ping' [17:57:54] Error: Function not registered: 'mysql_close' [17:57:54] Error: Function not registered: 'mysql_query' [17:57:54] Error: Function not registered: 'mysql_real_escape_string' [17:57:54] Error: Function not registered: 'mysql_store_result' [17:57:54] Error: Function not registered: 'mysql_num_rows' [17:57:54] Error: Function not registered: 'mysql_free_result' [17:57:54] Error: Function not registered: 'mysql_fetch_row_format' [17:57:54] Error: Function not registered: 'mysql_retrieve_row' [17:57:54] Error: Function not registered: 'mysql_fetch_field_row'[/pawn] Eroori in server_log Dc ? am facut update la plugins si degeaba si la .inc si la .so EDIT: folosesc plugins R5 poate imi dati voi cv mai bun :| In pc merge foarte bine si pe host nu porneste deloc ...........
  12. [pawn] public LoadSQLInfo() { new arrCoords[4][64],strFromFl[128]; new File: file = fopen("mysqlinfo.cfg", io_read); if (file) { fread(file, strFromFl); split(strFromFl, arrCoords, '|'); strmid(MYSQLHost, arrCoords[0], 0, strlen(arrCoords[0]), 255); strmid(MYSQLUsername, arrCoords[1], 0, strlen(arrCoords[1]), 255); strmid(MYSQLPassword, arrCoords[2], 0, strlen(arrCoords[2]), 255); strmid(MYSQLDatabase, arrCoords[3], 0, strlen(arrCoords[3]), 255); print("Datele din mysqlinfo.cfg au fost incarcate cu succes !"); fclose(file); } else print("Fisierul mysqlinfo.cfg lipseste din directorul Scriptfiles !"); return 1; } [/pawn] La mine nu e asa la mine sunt facute sa , salveze in [pawn]scriptfiles[/pawn] dar din pacate cand il pornesc el spune ca merg pornesc dar defapt nu isi fac , conecsiunea Poate ca nu le-am scris bn ...... eu le-am asa trecute ....... [pawn] localhost|user la baza|password |iar username |si aici numele la baza adica cum o am io trecuta in PC. [/pawn] Mie un baiat mi-a umblat acolo mai de mult si mi-a mers cred ca nu am aranjat bn eu .......
  13. scz de dublu post dar nimeni ....... ?
  14. Deci nu inteleg dc nu se conecteaza la baza lui de date .. :| server_log [pawn]---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3x, ©2005-2013 SA-MP Team [23:17:03] [23:17:03] Server Plugins [23:17:03] -------------- [23:17:03] Loading plugin: mysql.so [23:17:03] > MySQL plugin R5 successfully loaded. [23:17:03] Loaded. [23:17:03] Loading plugin: streamer.so [23:17:03] *** Streamer Plugin v2.6.1 by Incognito loaded *** [23:17:03] Loaded. [23:17:03] Loading plugin: sscanf.so [23:17:03] [23:17:03] =============================== [23:17:03] sscanf plugin loaded. [23:17:03] © 2009 Alex "Y_Less" Cole [23:17:03] 0.3d-R2 500 Players "dnee" [23:17:03] =============================== [23:17:03] Loaded. [23:17:03] Loaded 3 plugins. [23:17:03] [23:17:03] Filterscripts [23:17:03] --------------- [23:17:03] Loading filterscript 'Turf.amx'... [23:17:03] Unable to load filterscript 'Turf.amx'. [23:17:03] Loading filterscript 'SObjects.amx'... [23:17:03] 1823 Dynamic Objects Loaded in 2 ms ~ [23:17:03] Loading filterscript 'time.amx'... [23:17:03] Loading filterscript 'animlist.amx'... [23:17:03] Loading filterscript 'fireworks.amx'... [23:17:03] Loading filterscript 'anti_fk_kill.amx'... [23:17:03] ---------------------------------------- [23:17:03] Anti FakeKill Flood FilterScript by RuNix [23:17:03] ---------------------------------------- [23:17:03] Loaded 5 filterscripts. [23:17:04] Datele din mysqlinfo.cfg au fost incarcate cu succes ! [23:17:04] Datele necesare pentru conectare au fost incarcate [23:17:04] [23:17:04] ------------------------------------------------------------------ [23:17:04] MYSQL: Incearca conectarea la server ... [23:17:04] MYSQL: Eroare de conexiune, reconectare ... [23:17:04] MYSQL: Nu s-a reusit reconectarea la server, se inchide server-ul... [23:17:04] ------------------------------------------------------------------ [23:17:04] [23:17:04] [23:17:04] ------------------------------------------------------------------ [23:17:04] MYSQL: Conexiunea pare moarta, reincercam... [23:17:04] [23:17:04] [23:17:04] ------------------------------------------------------------------ [23:17:04] MYSQL: Incearca conectarea la server ... [23:17:04] MYSQL: Eroare de conexiune, reconectare ... [23:17:04] MYSQL: Nu s-a reusit reconectarea la server, se inchide server-ul... [23:17:04] ------------------------------------------------------------------ [23:17:04] [23:17:04] [23:17:04] MYSQL: Nu s-a reusit reconectarea la server, inchidem server-ul... [23:17:04] ------------------------------------------------------------------ [23:17:04] [23:17:04] 0 Houses Loaded [23:17:04] 0 Bizz Loaded [23:17:04] 0 SBusinesses Loaded [23:17:04] Stuff loaded [23:17:04] 0 IRC Channels Loaded [23:17:04] 0 factiuni incarcate [23:17:04] Leaders loaded [23:17:04] Families loaded [23:17:04] 0 turfs Loaded [23:17:04] Papers loaded [23:17:04] 0 Vehicles Loaded [23:17:04] [23:17:04] ======== Statistici: ======== [23:17:04] [23:17:04] Vehicles [ 660] [23:17:04] Objects: [ 77] [23:17:04] Pickups: [ 147] [23:17:04] Menu's: [ 32] [23:17:04] Textdraws: [1645] [23:17:04] [23:17:04] ==== Sfarsitul statisticii ==== [23:17:04] [23:17:04] Time taken to execute OnGameModeInit: 17 miliseconds [23:17:04] [23:17:04] Next-Level RPG [23:17:04] _____________________ [23:17:04] [23:17:04] [PAWN]: Vehicle Models 128 | Vehicles 660 [23:17:04] Number of vehicle models: 128 [23:17:04] --- Server Shutting Down. [23:17:04] Next-Level RPG [23:17:04] > MySQL plugin unloaded. [23:17:04] *** Streamer Plugin v2.6.1 by Incognito unloaded *** [23:17:04] [23:17:04] ===============================[/pawn] mysql log [pawn][Mon Apr 15 19:25:47 2013] ------------------------- [Mon Apr 15 19:25:47 2013] Logging Started [Mon Apr 15 19:25:47 2013] ------------------------- [Mon Apr 15 19:28:01 2013] ------------------------- [Mon Apr 15 19:28:01 2013] Logging Started [Mon Apr 15 19:28:01 2013] ------------------------- [/pawn] [pawn] new arrCoords[4][64],strFromFl[128]; new File: file = fopen("mysqlinfo.cfg", io_read); if (file) { fread(file, strFromFl); split(strFromFl, arrCoords, '|'); strmid(MYSQLHost, arrCoords[0], 0, strlen(arrCoords[0]), 255); strmid(MYSQLUsername, arrCoords[1], 0, strlen(arrCoords[1]), 255); strmid(MYSQLPassword, arrCoords[2], 0, strlen(arrCoords[2]), 255); strmid(MYSQLDatabase, arrCoords[3], 0, strlen(arrCoords[3]), 255); print("Datele din mysqlinfo.cfg au fost incarcate cu succes !"); fclose(file); } else print("Fisierul mysqlinfo.cfg lipseste din directorul Scriptfiles !"); return 1; }[/pawn] Deci cum trebuie sa trec in scriptfiles in acel fisier mysqlinfo.cfg Eu am trecut asa [pawn]localhost| numele la baza de date| si pass[/pawn] e bine ??
×
×
  • 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.