Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 830 online users. » 0 Member(s) | 828 Guest(s) Bing, Google
|
Latest Threads |
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
Yesterday, 07:47 PM
» Replies: 0
» Views: 42
|
Zona América del Sur Free...
Forum: Advertisements
Last Post: kevinberriosflores
Yesterday, 02:16 PM
» Replies: 1
» Views: 68
|
Busco copia de gamemode S...
Forum: Spanish/Espa?ol
Last Post: briancristaldo2021
2025-09-11, 11:14 AM
» Replies: 0
» Views: 56
|
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 197
|
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-09-08, 10:09 PM
» Replies: 1
» Views: 285
|
Problem with plugins load...
Forum: Support
Last Post: MrKacu13
2025-09-08, 07:15 PM
» Replies: 9
» Views: 334
|
Compilation error
Forum: Pawn Scripting
Last Post: MrKacu13
2025-09-07, 07:18 AM
» Replies: 6
» Views: 335
|
Need help, problem when i...
Forum: Programming
Last Post: nonickowned
2025-09-06, 06:21 PM
» Replies: 0
» Views: 140
|
Transfer server from SAMP...
Forum: Support
Last Post: MrKacu13
2025-09-06, 04:03 PM
» Replies: 1
» Views: 232
|
Not relevant anymore
Forum: Questions and Suggestions
Last Post: peti
2025-09-05, 02:00 PM
» Replies: 0
» Views: 192
|
|
|
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?
|
|
|
crashdetect is crashing my server? |
Posted by: CJ101 - 2024-01-31, 07:50 PM - Forum: Support
- No Replies
|
 |
I want to use crashdetect , but it just crashes my server
[19:41:27] [Info] [debug] Server crashed while executing rxv4.amx
[19:41:27] [Info] [debug] AMX backtrace:
[19:41:27] [Info] [debug] #0 00000f70 in ?? () in rxv4.amx
[19:41:27] [Info] [debug] #1 000025b4 in public OnGameModeInit () in rxv4.amx
[19:41:27] [ERROR] signal 11 (SIGSEGV) catched; shutting log-core down (errno: 0, signal code: 1, exit status: 0)
I am loading it as the first plugin
the error is not my script, i commented out all of GameModeInit and still the same.
Using plugins:
streamer, discordconnector, and mysql . all updated to latest version
|
|
|
Busco dearolladores para server |
Posted by: lucasstar1442 - 2024-01-30, 08:08 PM - Forum: Programaci?n
- No Replies
|
 |
Buenas soy Sr.Zeppelin,
Estoy buscando gente que quiera formar parte en mi nuevo proyecto y que pueda plasmar mis ideas en un servidor roleplay en SAMP, toda ayuda o colaboración (Con remuneración) contactar conmigo por discord: Sr.Zeppelin
|
|
|
Compile all files in gamemode folder |
Posted by: JasonDeRue - 2024-01-29, 01:59 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
Hello, I'm using this build system for Sublime Text to compile my gamemode:
Code: {
"cmd": ["pawncc.exe", "-i includes", "$file", "-;+", "-v2", "-d3", "-Z+", "-\\)+"],
"path": "C:/Users/*****/Desktop/Server/pawno"
}
Imagine now I have 2 different files in gamemode folder that I want to compile at same time, how I can do it?
|
|
|
Issue using y_iterator |
Posted by: CJ101 - 2024-01-23, 01:07 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
PHP Code: C:\Users\jdawg\OneDrive\Desktop\server folder\pawno\include\YSI_Data\y_foreach\..\..\YSI_Core\y_core\y_samp_natives.inc(162) : error 035: argument type mismatch (argument 1) C:\Users\jdawg\OneDrive\Desktop\server folder\pawno\include\YSI_Data\y_foreach\..\..\YSI_Core\y_core\..\..\YSI_Players\y_android\..\..\YSI_Core\y_core\y_rconfix.inc(125) : error 035: argument type mismatch (argument 1) Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
At the top of my script I am including
#include <YSI_Data\y_iterate>
like i should
|
|
|
failed to query server: socket read timed out |
Posted by: SomS - 2024-01-22, 11:30 PM - Forum: Questions and Suggestions
- No Replies
|
 |
Hi, I'm trying to use open.mp, to test and learn more, but when I run it, I get this message.
Also, when I open the server (it uses mysql) the log doesn't appear.
Code: Loaded 22 component(s) from C:\Users\ruben\Documents\GitHub\Open-MP-ABC\Server\components
[2024-01-22T23:19:28+0000] [Info] Loading plugin: mysql
[2024-01-22T23:19:28+0000] [Info] >> plugin.mysql: R41-4 successfully loaded.
[2024-01-22T23:19:28+0000] [Info] Legacy Network started on port 7777
[2024-01-22T23:19:38+0000] [Info] Couldn't announce legacy network to open.mp list.
[2024-01-22T23:19:38+0000] [Info] [Server Error] Status: 406
[2024-01-22T23:19:38+0000] [Info] [Server Error] Message: {"error":"failed to query server: socket read timed out"}
[2024-01-22T23:19:38+0000] [Info] This won't affect the server's behaviour.
It supposedly says it doesn't affect the server, but it is, since I can't log in to the server.
Can anyone help? I've been looking for these errors on the internet, but I can't find anything.
|
|
|
|