| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 178 online users. » 0 Member(s) | 175 Guest(s) Bing, Google, Yandex
|
| Latest Threads |
UZS Zombie Survival
Forum: Advertisements
Last Post: phnx
2026-04-04, 05:32 PM
» Replies: 0
» Views: 31
|
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
2026-04-02, 02:22 AM
» Replies: 14
» Views: 3,132
|
FCNPC for open.mp
Forum: Pawn Scripting
Last Post: mentaletion
2026-04-01, 12:28 PM
» Replies: 7
» Views: 7,368
|
Samp development
Forum: Chat
Last Post: pmemorex2016
2026-03-31, 09:57 AM
» Replies: 0
» Views: 119
|
Pawno compiler (pawncc.ex...
Forum: Support
Last Post: PutuSuhartawan
2026-03-20, 11:12 PM
» Replies: 0
» Views: 165
|
[0.3.7 & 0.3.DL] Los Sant...
Forum: Advertisements
Last Post: renza1st
2026-03-16, 05:58 AM
» Replies: 0
» Views: 116
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2026-03-13, 11:17 AM
» Replies: 0
» Views: 105
|
Atlanta DeathMatch/Team D...
Forum: Advertisements
Last Post: NixaSha
2026-03-10, 04:57 AM
» Replies: 1
» Views: 151
|
mysql_samp
Forum: Plugins
Last Post: NullSablex
2026-03-10, 03:33 AM
» Replies: 0
» Views: 194
|
backtrace
Forum: Questions and Suggestions
Last Post: Lyvex
2026-03-09, 06:32 AM
» Replies: 0
» Views: 136
|
|
|
| cannot enter more than one player |
|
Posted by: ayalanicolas176 - 2024-02-10, 03:50 PM - Forum: Support
- No Replies
|
 |
hi, im having a problem with login in my server, we cannot enter more than 1 player, when the second one enters, he's kept in "Connected. Joining the game" and nothing further happens.
I did a debugging log and all the prints i put in OnPlayerConnect function are called correctly thorough but nothing player-related happens
Code: Playerid %d (1) detected, step 1/2/3...
Then, when i disconnect using /q it shows like this
Code: [part] Emmet_Jackson has left the server (1:2)
like i was kicked/banned, i do not know if it has something to do with all this problem but for me its weird cause the id 0 player disconnect reason shows normally.
my config.json:
Code: {
  "announce": true,
  "artwork": {
    "cdn": "",
    "enable": true,
    "models_path": "models"
  },
  "long_call_time": 20000,
  "chat_input_filter": true,
  "enable_query": true,
  "game": {
    "allow_interior_weapons": true,
    "chat_radius": 200.0,
    "death_drop_amount": 0,
    "gravity": 0.008,
    "group_player_objects": false,
    "lag_compensation_mode": 1,
    "map": "San Andreas",
    "mode": "Roleplay",
    "nametag_draw_radius": 70.0,
    "player_marker_draw_radius": 250.0,
    "player_marker_mode": 1,
    "time": 12,
    "use_all_animations": false,
    "use_chat_radius": false,
    "use_entry_exit_markers": true,
    "use_instagib": false,
    "use_manual_engine_and_lights": false,
    "use_nametag_los": true,
    "use_nametags": true,
    "use_player_marker_draw_radius": false,
    "use_player_ped_anims": false,
    "use_stunt_bonuses": true,
    "use_vehicle_friendly_fire": false,
    "use_zone_names": false,
    "vehicle_respawn_time": 10000,
    "weather": 10
  },
"language": "Español - Spanish",
  "logging": {
    "enable": true,
    "log_chat": true,
    "log_cookies": false,
    "log_deaths": true,
    "log_queries": false,
    "log_sqlite": false,
    "log_sqlite_queries": false,
    "timestamp_format": "[%Y-%m-%dT%H:%M:%S%z]",
    "use_prefix": true,
    "use_timestamp": true
  },
  "max_bots": 0,
  "max_players": 50,
  "name": "open.mp server",
  "network": {
    "acks_limit": 3000,
    "aiming_sync_rate": 30,
    "allow_037_clients": true,
    "bind": "",
    "cookie_reseed_time": 300000,
    "in_vehicle_sync_rate": 30,
    "limits_ban_time": 60000,
    "message_hole_limit": 3000,
    "messages_limit": 500,
    "minimum_connection_time": 0,
    "mtu": 576,
    "multiplier": 10,
    "on_foot_sync_rate": 30,
    "player_marker_sync_rate": 2500,
    "player_timeout": 10000,
    "port": 7777,
    "public_addr": "",
    "stream_radius": 200.0,
    "stream_rate": 1000,
    "time_sync_rate": 30000,
    "use_lan_mode": false
  },
  "password": "",
  "pawn": {
    "legacy_plugins": [
      "crashdetect.so",
      "sscanf.so",
      "mysql.so",
      "streamer.so"
    ],
    "main_scripts": [
      "roleplay"
    ],
    "side_scripts": ["filterscripts/Mapeos"]
  },
  "rcon": {
    "allow_teleport": false,
    "enable": false,
    "password": "sarp2233"
  },
  "sleep": 5.0,
  "use_dyn_ticks": true,
  "website": ""
}
|
|
|
|
| Pawno ayuda para un Gamemode Team Deathmatch |
|
Posted by: AnonyLer_LataMP-Project - 2024-02-10, 01:27 AM - Forum: Tutorials
- No Replies
|
 |
Yo estoy creando un projecto para un servidor sampÂ
LataMP Latam Multiplayer Project pero como no se casi nada de pawno pido ayuda para crear un sistema de equipos sistema de casas clanes ect para mi server samp quien me ayuda con cualquier cosa porfavor
|
|
|
|
Best Practices for MySQL Native Functions? |
|
Posted by: dr.iyz - 2024-02-03, 04:09 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
I'm using BlueG's MySQL plugin version R41-4 and MySQL 8.0.35 on my Ubuntu 22.04.
Every hour, the RAM usage of my mysqld process slowly increases. I have running queries every minute to update business earnings, and at this point, I assume that the problem is due to these minute-by-minute updates.
So, my question is, what is the best MySQL native function for this case? Currently, I'm using mysql_query to update every minute.
Honestly, I also use mysql_query for all queries in my script, and I'm unsure when to use mysql_tquery or mysql_pquery.
I'm also curious about why the RAM usage of my mysqld process always increases?
|
|
|
|
| Help crash |
|
Posted by: nbx2000 - 2024-02-02, 05:46 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
i am having problems with this function. crashdetect flagged this for me
[debug] AMX backtrace:
[debug] #0 00002774 in ?? (4016892) in XAF.amx
[debug] #1 00002dd4 in ?? (0, 4016892, 5000, 3) in XAF.amx
[debug] #2 001e3734 in public Timer1minute (0) in XAF.amx
Code: ptask Timer1minute[60000](i) {
  if (JugadorInfo[i][zLogueado] == true) {
    // Verifica si el jugador quiere ver los textos
    if (JugadorInfo[i][zVerTextos][1] == 1) {
      ServerInfo[AnuncioTextoCmds]++;
      if (ServerInfo[AnuncioTextoCmds] == 3) ServerInfo[AnuncioTextoCmds] = 1;
      switch (ServerInfo[AnuncioTextoCmds]) {
        case 1: PlayerTextDrawSetString(i, InfoDeCmds, "");
        case 2: PlayerTextDrawSetString(i, InfoDeCmds, "");
        case 3: PlayerTextDrawSetString(i, InfoDeCmds, "");
      }
      PlayerTextDrawShow(i, InfoDeCmds);
    }
    // Incrementa el tiempo del jugador
    JugadorInfo[i][zMiTiempo]++;
    JugadorInfo[i][zTimeMiRango]++;
    // Actualiza la base de datos con el nuevo tiempo
    static Query[180];
    format(Query, sizeof(Query), "UPDATE `USERS` SET TIEMPO = '%d', TRG = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zMiTiempo], JugadorInfo[i][zTimeMiRango], JugadorInfo[i][zMiID]);
    db_query(ZLDB, Query);
    // Verifica las caducidades para el VIP y el rango
    VerificarCaducidadVip(i);
    VerificarCaducidadRango(i);
    // Incrementa el tiempo del staff si es administrador
    if (JugadorInfo[i][zAdmin] > 0 && JugadorInfo[i][zAfk] < 3) {
      JugadorInfo[i][zTiempoStaff]++;
      static Query2[150];
      format(Query2, sizeof(Query2), "UPDATE `USERS` SET TIMESTAFF = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zTiempoStaff], JugadorInfo[i][zMiID]);
      db_query(ZLDB, Query2);
    }
    // Incrementa el tiempo de juego si el jugador no está AFK
    if (JugadorInfo[i][zAfk] < 3) {
      JugadorInfo[i][zPlayTiempo]++;
      static Query2[150];
      format(Query2, sizeof(Query2), "UPDATE `USERS` SET PLAYTIME = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zPlayTiempo], JugadorInfo[i][zMiID]);
      db_query(ZLDB, Query2);
    }
    // Verifica el tiempo de juego reclamado
    if (JugadorInfo[i][zPlayReclamado] == 0) VerificarPlayTime(i);
    // Verifica si el jugador está encarcelado
    if (JugadorInfo[i][zJailed] == 1) {
      JugadorInfo[i][zJailTime]--;
      format(Query, sizeof(Query), "UPDATE `USERS` SET TIMEJAIL = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zJailTime], JugadorInfo[i][zMiID]);
      db_query(ZLDB, Query);
      if (JugadorInfo[i][zJailTime] <= 0) JailRelease(i);
    }
    // Manejo de items
    // Score Free Kill
    if (JugadorInfo[i][zScoreFreeKill] == 1) {
      JugadorInfo[i][zTScoreFreeKill]--;
      format(Query, sizeof(Query), "UPDATE `USERS` SET TIMESCFREE = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zTScoreFreeKill], JugadorInfo[i][zMiID]);
      db_query(ZLDB, Query);
      if (JugadorInfo[i][zTScoreFreeKill] <= 0) {
        format(Query, sizeof(Query), "UPDATE `USERS` SET TIMESCFREE = '0', SCFREE = '0' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zMiID]);
        db_query(ZLDB, Query);
        JugadorInfo[i][zTScoreFreeKill] = 0;
        JugadorInfo[i][zScoreFreeKill] = 0;
        SendClientMessage(i, COLOR_ROJO, "« Info » "COL_BLANCO"Tu item score freeroam kill ha sido desactivado (tiempo finalizado), vuélvelo a comprar desde tu panel.");
      }
    }
    // Armour Spawn
    if (JugadorInfo[i][zArmourSpawn] == 1) {
      JugadorInfo[i][zTArmourSpawn]--;
      format(Query, sizeof(Query), "UPDATE `USERS` SET TIMEARSPW = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zTArmourSpawn], JugadorInfo[i][zMiID]);
      db_query(ZLDB, Query);
      if (JugadorInfo[i][zTArmourSpawn] <= 0) {
        format(Query, sizeof(Query), "UPDATE `USERS` SET TIMEARSPW = '0', ARSPW = '0' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zMiID]);
        db_query(ZLDB, Query);
        JugadorInfo[i][zTArmourSpawn] = 0;
        JugadorInfo[i][zArmourSpawn] = 0;
        SendClientMessage(i, COLOR_ROJO, "« Info » "COL_BLANCO"Tu item armour spawn ha sido desactivado (tiempo finalizado), vuélvelo a comprar desde tu panel.");
      }
    }
    // Volar (Fly)
    if (JugadorInfo[i][zVolar] == 1) {
      JugadorInfo[i][zTimeVolar]--;
      format(Query, sizeof(Query), "UPDATE `USERS` SET TIMEFLY = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zTimeVolar], JugadorInfo[i][zMiID]);
      db_query(ZLDB, Query);
      if (JugadorInfo[i][zTimeVolar] <= 0) {
        format(Query, sizeof(Query), "UPDATE `USERS` SET TIMEFLY = '0', FLY = '0' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zMiID]);
        db_query(ZLDB, Query);
        JugadorInfo[i][zTimeVolar] = 0;
        JugadorInfo[i][zVolar] = 0;
        if (JugadorInfo[i][zEnVuelo] == true) {
          SendClientMessage(i, COLOR_ROJO, "« Info » "COL_BLANCO"Vuelo finalizado.");
          JugadorInfo[i][zEnVuelo] = false;
          StopFly(i);
          GameTextForPlayer(i, "~b~Vuelo ~g~Finalizado", 6000, 3);
        }
        SendClientMessage(i, COLOR_ROJO, "« Info » "COL_BLANCO"Tu item vuelo ha sido desactivado (tiempo finalizado), vuélvelo a comprar desde tu panel.");
      }
    }
    // Teleport Click
    if (JugadorInfo[i][zTeleP] == 1) {
      JugadorInfo[i][zTimeTeleP]--;
      format(Query, sizeof(Query), "UPDATE `USERS` SET TIMETELE = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zTimeTeleP], JugadorInfo[i][zMiID]);
      db_query(ZLDB, Query);
      if (JugadorInfo[i][zTimeTeleP] <= 0) {
        format(Query, sizeof(Query), "UPDATE `USERS` SET TIMETELE = '0', TELE = '0' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zMiID]);
        db_query(ZLDB, Query);
        JugadorInfo[i][zTimeTeleP] = 0;
        JugadorInfo[i][zTeleP] = 0;
        SendClientMessage(i, COLOR_ROJO, "« Info » "COL_BLANCO"Tu item teleport click ha sido desactivado (tiempo finalizado), vuélvelo a comprar desde tu panel.");
      }
    }
  }
  return 1;
}
|
|
|
|
| Game randomly closing |
|
Posted by: Krisitis - 2024-02-01, 08:01 PM - Forum: Support
- No Replies
|
 |
Hello!
So I've been trying to use Steam version of GTA San Andreas by downgrading it to 1.0 and doing other stuff for it to work smoothly. The game itself on single player works fine, but once I play SA-MP for like an hour, game just randomly closes without even giving any errors.
Any idea what is that?
|
|
|
|
|