Ayuda Se Me Reinicia El Server!
#1

Buenoo era para ver si alguien me puede ayudar tengo un server con GM Free roam con menu de armas y autos anda todo perfecto en las armas pero cuando selecciono un auto en el menu de autos se me reinicia el server cuando aparece el auto bueno muchas gracias al que me pueda ayudar
Reply
#2

Son por dialogs ? si es asн pasa OnDialogResponse, la parte donde se crean los vehнculos o si es menъ comъn pasa OnPlayerSelectedMenuRow, la parte donde se crean los mismos
Reply
#3

es por menu tipias /v o /autos y te sale el menu pero elijo cualquiera y aparece el auto y se me reinicia el server
Reply
#4

jovanny soy muy nuevo en esto como veras,esto es lo que tiene el menu de autos

//========================[MenuArmasAutos]=============================//
CreatePlayerVehicle( playerid, modelid )
{
new
vehicle,
Float,
Float:y,
Float:z,
Float:angle;
new color1=random(126);
new color2=random(126);
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,angle);
vehicle = CreateVehicle( modelid, (x + 2), (y + 2), (z + 0.5), angle, color1, color2, 300);
LinkVehicleToInterior( vehicle, GetPlayerInterior( playerid ) );
SetVehicleVirtualWorld( vehicle, GetPlayerVirtualWorld( playerid ) );
return 1;
}

ShowPlayerDefaultDialog( playerid )
{
ShowPlayerDialog( playerid, 10, DIALOG_STYLE_LIST, "Menъ de vehнculos", "Aviones\nHelicopteros\nMotocicletas\nDescapotable s\nIndustriales\nLowriders\nOtros\nServicios pъblicos\nElegantes\nDeportivos\nVagones\nBotes\nT railers\nOtros1\nRadio Control", "Selecionar", "Cancelar" );
return 1;
}

ShowPlayerDefaultDialog1( playerid )
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Menъ de armas", "Cuerpo a cuerpo\nGranadas\nPistolas\nEscopetas\nFusiles\nEx plosivos\nAccesorios", "Seleccionar", "Cancelar" );
return 1;
}
Reply
#5

Agrega este plugin en tu server, luego sacas un auto y cuando el serve crashee nos pasas las ultimas 5 lineas del server_log.txt
Reply
#6

donde lo pego ese plugin?
Reply
#7

Descarga esto: https://github.com/downloads/Zeex/cr....1.1-win32.zip
luego copeas el archivo crashdetect.dll y lo pones en la carpeta plugins que esta dentro de la carpeta de tu servidor, luego regresas a la carpeta principal de tu servidor y buscas el archivo server.cfg, te vas a la linea plugins y escribes crashdetect, quedando algo asн
Код:
plugins crashdetect
Reply
#8

Esto Me POne Normalmente

19:23:37]

[19:23:37] *************************************
[19:23:37] * *
[19:23:37] * ----------------- *
[19:23:37] * Server Free-Roam *
[19:23:37] * ----------------- *
[19:23:37] * Version 1.0 *
[19:23:37] * *
[19:23:37] * Junio 2011 *
[19:23:37] * *
[19:23:37] * By adri1 *
[19:23:37] * *
[19:23:37] * adri223@hotmail.es *
[19:23:37] * *
[19:23:37] * www.sampfreeroam.foroactivo.com *
[19:23:37] * *
[19:23:37] * INICIADO *
[19:23:37] * *
[19:23:37] Fecha: 22/2/2012 Hora: 19:23 :37 *
[19:23:37] *************************************
[19:23:37]

[19:23:37] Number of vehicle models: 72
[19:24:03] Incoming connection: 190.134.24.69:61800
[19:24:03] [join] Dieguito_Uruguay has joined the server (0:190.134.24.69)


Eso Me Puso Haciendo Lo Que Tu Me Dijiste




SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[19:30:22]
[19:30:22] Server Plugins
[19:30:22] --------------
[19:30:22] Loading plugin: crashdetect
[19:30:22] crashdetect v4.1.1 is OK.
[19:30:22] Loaded.
[19:30:22] Loaded 1 plugins.

[19:30:22]
[19:30:22] Filter Scripts
[19:30:22] ---------------
[19:30:22] Loading filter script 'ladmin4v2.amx'...
[19:30:22]
-Configuration Settings Loaded
[19:30:22] -1 Forbidden Names Loaded
[19:30:22] -0 Forbidden Tags Loaded
[19:30:22] -0 Forbidden Words Loaded
[19:30:22] Loaded 1 filter scripts.

[19:30:22] [debug] Run time error 19: "File or function is not found"
[19:30:22] [debug] The following natives are not registered:
[19:30:22] [debug] Streamer_RegisterInterface
[19:30:22] [debug] Streamer_AddPlayer
[19:30:22] [debug] Streamer_RemovePlayer
[19:30:22] [debug] Streamer_VerifyPickup
[19:30:22] [debug] Streamer_VerifyCheckpoint
[19:30:22] [debug] CreateDynamicObject
[19:30:22] [debug] MoveDynamicObject
[19:30:22] Script[gamemodes/freeroam.amx]: Run time error 19: "File or function is not found"
[19:30:22] Number of vehicle models: 0
Reply
#9

Quitaste "streamer" de la linea de plugins ?
Pon asн
Код:
plugins streamer crashdetect
y prueba de nuevo sacando el vehнculo
Reply
#10

AHORA APARECIO HACI



[19:35:53]

[19:35:53] *************************************
[19:35:53] * *
[19:35:53] * ----------------- *
[19:35:53] * Server Free-Roam *
[19:35:53] * ----------------- *
[19:35:53] * Version 1.0 *
[19:35:53] * *
[19:35:53] * Junio 2011 *
[19:35:53] * *
[19:35:53] * By adri1 *
[19:35:53] * *
[19:35:53] * adri223@hotmail.es *
[19:35:53] * *
[19:35:53] * www.sampfreeroam.foroactivo.com *
[19:35:53] * *
[19:35:53] * INICIADO *
[19:35:53] * *
[19:35:53] Fecha: 22/2/2012 Hora: 19:35 :53 *
[19:35:53] *************************************
[19:35:53]

[19:35:53] Number of vehicle models: 72
[19:35:54] [debug] Run time error 4: "Array index out of bounds"
[19:35:54] [debug] Accessing element at index 999 past array upper bound 121
[19:35:54] [debug] Backtrace (most recent call first):
[19:35:54] [debug] #0 public OnObjectMoved()+0xadae8 from freeroam.amx
[19:35:54] [debug] Run time error 4: "Array index out of bounds"
[19:35:54] [debug] Accessing element at index 999 past array upper bound 121
[19:35:54] [debug] Backtrace (most recent call first):
[19:35:54] [debug] #0 public OnObjectMoved()+0xadae8 from freeroam.amx
[19:35:54] [debug] Run time error 4: "Array index out of bounds"
[19:35:54] [debug] Accessing element at index 999 past array upper bound 121
[19:35:54] [debug] Backtrace (most recent call first):
[19:35:54] [debug] #0 public OnObjectMoved()+0xadae8 from freeroam.amx
[19:35:54] [debug] Run time error 4: "Array index out of bounds"
[19:35:54] [debug] Accessing element at index 999 past array upper bound 121
[19:35:54] [debug] Backtrace (most recent call first):
[19:35:54] [debug] #0 public OnObjectMoved()+0xadae8 from freeroam.amx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)