Jump to content

TheGodfather

Membru
  • Posts

    500
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by TheGodfather

  1. Am rezolvat
  2. Am reusit, multumesc mult pentru ajutor!
  3. Iti multumesc frumos! Voi incerca si revin cu reply.
  4. up
  5. Salut, as vrea ca atunci cand un jucator e in masina si alt jucator trage in masina acestuia, sa ii apara un mesaj jucatorului din masina ca jucatorul cu numele x a tras in masina acestuia. Am incercat sa fac ca si mai jos dar imi da acelasi id, respectiv id-ul celui care da damage. public OnVehicleDamageStatusUpdate(vehicleid, playerid) { new string[128]; foreach(Player, i) if(IsPlayerInVehicle(i, vehicleid)) { format(string, sizeof(string), "%s did damage to vehicle with id %d drove by player %s", GetName(playerid), vehicleid, GetName(i)); SCMTA(-1, string); } return 1; }
  6. Zi de zi, ultima postare e pe 1 aprilie . Dar na, daca asta intelegi prin zi de zi e ok
  7. Salut, as vrea ca atunci cand un jucator e in masina si alt jucator trage in masina acestuia, sa ii apara un mesaj jucatorului din masina ca jucatorul cu numele x a tras in masina acestuia. Am incercat sa fac ca si mai jos dar imi da acelasi id, respectiv id-ul celui care da damage. public OnVehicleDamageStatusUpdate(vehicleid, playerid) { new string[128]; foreach(Player, i) if(IsPlayerInVehicle(i, vehicleid)) { format(string, sizeof(string), "%s did damage to vehicle with id %d drove by player %s", GetName(playerid), vehicleid, GetName(i)); SCMTA(-1, string); } return 1; }
  8. Vorbeste cu cei de unde ai vps-ul sa iti instaleze ei un server de samp iar dupa iti pui tu fisierele
  9. Nu ma pricep atat de bine la programare pentru asta dar mersi frumos de reply.
  10. Salut, exista o metoda prin care sa dau kick playerilor care au orice fel de mod?
  11. Salut, as vrea sa pun macaraua aceasta pe umarul din partea macaralei, si cu cupa in cealalta parte de cum e acum. SetPlayerAttachedObject(playerid, 6, 18248, 1, 0.388602, -0.084080, 0.854034, 0.000000, 83.616508, 0.000000, 0.057243, 0.039999, 0.066129);
  12. Salut, as vrea sa pun macaraua aceasta pe umarul din partea macaralei, si cu cupa in cealalta parte de cum e acum. SetPlayerAttachedObject(playerid, 6, 18248, 1, 0.388602, -0.084080, 0.854034, 0.000000, 83.616508, 0.000000, 0.057243, 0.039999, 0.066129);
  13. Ordinea datelor e ca la case 2, folosesc datele de la host si tot primesc acea eroare.
  14. Aa ok, mersi.
  15. Salut, primesc aceste erori in logurile serverului si cred ca e de aici, dar nu stiu ce trebuie pus la nume_variabila case 0: SQL = mysql_connect("nume_variabila", "user phpmyadmin", "nume baza de date", "parola baza de date"), print("Server: Oficial"); [01:17:24 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (111) [01:17:24 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '127.0.0.1' (111) [01:24:04 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '136.243.219.108' (111) [01:24:04 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '136.243.219.108' (111) [01:24:04 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '136.243.219.108' (111) [01:24:04 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on '136.243.219.108' (111) [01:28:36 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL server host '136.243.219.101:3306' (2) [01:28:36 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL server host '136.243.219.101:3306' (0) [01:28:36 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL server host '136.243.219.101:3306' (0) [01:28:36 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL server host '136.243.219.101:3306' (0) [01:31:47 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL server host 'localhost:3306' (2) [01:31:47 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL server host 'localhost:3306' (0) [01:31:47 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL server host 'localhost:3306' (0) [01:31:47 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL server host 'localhost:3306' (0) [01:34:05 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [01:34:05 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [01:34:05 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [01:34:05 03/04/22] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
  16. Up
  17. La linia 45399 am penultima }. Asta ajuta mult :)). M-am uitat la toate liniile din ce am pus mai sus si nu e niciun array. Si cele mai mari array-uri pe care le am sunt cred ca de 500 sau pe acolo function UpdatePlayer(playerid) { ResetMoneyBar(playerid); switch(StoreMoney[playerid]) { case 0: UpdateMoneyBar(playerid, MoneyMoney[playerid]); case 1: UpdateMoneyBar(playerid, MoneyMoney[playerid]+1000000000); default: UpdateMoneyBar(playerid, 2147483647); } return true; }
  18. Am pus #pragma dynamic 500000 pe prima linia din gamemode si tot apar alea in log.
  19. Chestiile alea nu se pot rezolva? Sau nu sunt erori?
  20. Salut, primesc aceste erori in loguri, aveti idee de ce? [19:05:24] [debug] Heap pointer (HEA) is 0xF1819530, heap bottom (HLW) is 0x25BCBC4 [19:05:24] [debug] Run time error 8: "Heap underflow" [19:05:24] [debug] Heap pointer (HEA) is 0xF1819530, heap bottom (HLW) is 0x25BCBC4 si astea [19:17:56] [debug] #0 00459aa8 in public TwoTimer () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:56] [debug] Run time error 8: "Heap underflow" [19:17:56] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:56] [debug] AMX backtrace: [19:17:56] [debug] #0 00459aa8 in public L_AFKDETECT () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:56] [debug] Run time error 8: "Heap underflow" [19:17:56] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:56] [debug] AMX backtrace: [19:17:56] [debug] #0 00459aa8 in public SearchForNewlyPausedPlayers () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:56] [debug] Run time error 8: "Heap underflow" [19:17:56] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:56] [debug] AMX backtrace: [19:17:56] [debug] #0 00459aa8 in public Timers () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public timersec () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public OneTimer () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public Spectator () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public OneTimer () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public L_AFKDETECT () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public SearchForNewlyPausedPlayers () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public TwoTimer () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow"
  21. Ok, o sa fac. Am parola lunga si imbarligata de rcon :). Si si daca se logheaza cu el pe sv de samp nu poate face nimic ca ii da kick
  22. Am pus "rcon 0" in server.cfg. O incerca sa se logheze cu rcon, dar a picat serverul. Mai am si astea: [19:17:56] [debug] #0 00459aa8 in public TwoTimer () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:56] [debug] Run time error 8: "Heap underflow" [19:17:56] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:56] [debug] AMX backtrace: [19:17:56] [debug] #0 00459aa8 in public L_AFKDETECT () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:56] [debug] Run time error 8: "Heap underflow" [19:17:56] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:56] [debug] AMX backtrace: [19:17:56] [debug] #0 00459aa8 in public SearchForNewlyPausedPlayers () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:56] [debug] Run time error 8: "Heap underflow" [19:17:56] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:56] [debug] AMX backtrace: [19:17:56] [debug] #0 00459aa8 in public Timers () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public timersec () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public OneTimer () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public Spectator () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public OneTimer () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public L_AFKDETECT () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public SearchForNewlyPausedPlayers () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow" [19:17:57] [debug] Heap pointer (HEA) is 0xF1819900, heap bottom (HLW) is 0x25BD184 [19:17:57] [debug] AMX backtrace: [19:17:57] [debug] #0 00459aa8 in public TwoTimer () at C:\Users\crist\Desktop\HPQ123 samp gamemode actual cu tot ce trebuie\gamemodes\B-HOOD.pwn:45399 [19:17:57] [debug] Run time error 8: "Heap underflow"
  23. Salut, cineva a incercat sa imi pice serverul, aveti idee daca pot face ceva impotriva acestui atac? Am primit urmatoarele in logurile serverului: [19:05:24] [debug] Run time error 8: "Heap underflow" [19:05:24] [debug] Heap pointer (HEA) is 0xF1819530, heap bottom (HLW) is 0x25BCBC4 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] [debug] Run time error 8: "Heap underflow" [19:05:24] [debug] Heap pointer (HEA) is 0xF1819530, heap bottom (HLW) is 0x25BCBC4 [19:05:24] [debug] Run time error 8: "Heap underflow" [19:05:24] [debug] Heap pointer (HEA) is 0xF1819530, heap bottom (HLW) is 0x25BCBC4 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] [debug] Run time error 8: "Heap underflow" [19:05:24] [debug] Heap pointer (HEA) is 0xF1819530, heap bottom (HLW) is 0x25BCBC4 [19:05:24] [debug] Run time error 8: "Heap underflow" [19:05:24] [debug] Heap pointer (HEA) is 0xF1819530, heap bottom (HLW) is 0x25BCBC4 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94 [19:05:24] BAD RCON ATTEMPT BY: 84.117.155.94
  24. A mers bine 2 zile, dupa in loc sa puna 3 a pus 6...
×
×
  • 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.