Porque no cargan los npcs en el vps?
#1

Buenas,en mi servidor utilizo 15 npcs,funcionan bien si lo pruebo en mi pc.Pero en el vps,no hay manera que carguen.Los npc estan hechos con rnpc y mapandreas.Cuando me fijo en la consola del vps sale esto:

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[14:17:42] 
[14:17:42] Server Plugins
[14:17:42] --------------
[14:17:42]  Loading plugin: streamer.so
[14:17:42] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[14:17:42]   Loaded.
[14:17:42]  Loading plugin: sscanf.so
[14:17:42] 

[14:17:42]  ===============================

[14:17:42]       sscanf plugin loaded.     

[14:17:42]          Version:  2.8.1        

[14:17:42]    © 2012 Alex "******" Cole  

[14:17:42]  ===============================

[14:17:42]   Loaded.
[14:17:42]  Loading plugin: MapAndreas.so
[14:17:42]   Loaded.
[14:17:42]  Loading plugin: RNPC.so
[14:17:42] RNPC V0.4.1 by Mauzen (03.12.2014)
[14:17:42]   Loaded.
[14:17:42]  Loaded 4 plugins.

[14:17:42] 
[14:17:42] Filterscripts
[14:17:42] ---------------
[14:17:42]   Loading filterscript 'LadminZombie.amx'...
[14:17:42] 
 -Configuration Settings Loaded
[14:17:42]  -39 Forbidden Names Loaded
[14:17:42]  -10 Forbidden Tags Loaded
[14:17:42]  -1 Forbidden Words Loaded
[14:17:42]  ________ Configuration ___________

[14:17:42]  __________ Chat & Messages ______
[14:17:42]   Anti Swear:             Enabled 
[14:17:42]   Anti Spam:              Enabled 
[14:17:42]   Read Cmds:              Enabled 
[14:17:42]   Read PMs:               Enabled 
[14:17:42]   Connect Messages:       Enabled 
[14:17:42]   Admin Cmd Messages:     Enabled 
[14:17:42]   Anti capital letters:   Enabled 

[14:17:42]  __________ Skins ________________
[14:17:42]   AdminOnlySkins:         Disabled 
[14:17:42]   Admin Skin 1 is:         217
[14:17:42]   Admin Skin 2 is:         214

[14:17:42]  ________ Server Protection ______
[14:17:42]   Anti Bot:                Enabled 
[14:17:42]   Bad Name Kick:           Enabled

[14:17:42]  __________ Ping Control _________
[14:17:42]   Ping Control:            Enabled
[14:17:42]   Max Ping:                1000

[14:17:42]  __________ Players ______________
[14:17:42]   Save/Give Weaps:         Enabled
[14:17:42]   Save/Give Money:         Enabled

[14:17:42]  __________ Other ________________
[14:17:42]   Max Admin Level:         10
[14:17:42]   Server Locked:           No
[14:17:42]   Auto Login:             Disabled

[14:17:42]   Loading filterscript 'zombiep.amx'...
[14:17:42] 
--------------------------------------
[14:17:42] ZOMBIE
[14:17:42] --------------------------------------

[14:17:42] MapAndreas: plugin could not init!
[14:17:42] MapAndreas: check files and make sure you have enough memory!
[14:17:42]   Loaded 2 filterscripts.

[14:17:42] ** 4 Labels cargados **
[14:17:42]   RNPC versionchecker: checking for updates...
[14:17:42] Number of vehicle models: 29
[14:17:53] Incoming connection: 186.53.146.239:3646
[14:17:54] [join] Smoke has joined the server (0:186.53.146.239)
En el server.cfg ya puse maxnpcs en 15 que es la cantidad de bots que uso.Alguna idea?Por lo que veo MapAndreas no inicia.
Reply
#2

Hola Smoke123
Segъn eso se puede deber a diferentes cosas (pondrй las causas que se yo):
1. Permisos en la carpeta npcmodes y samp-npc deben estar ajustados de formar correcta, a mi me funcionan en 0770 (samp-npc) y 0750 (directorio npcmodes)
2. Tienes otro servidor dentro del mismo VPs que usa NPCs
Lo mas probable es que sea la primera
Espero haberte ayudado
Saludos
Reply
#3

Quote:
Originally Posted by Su37Erich
Посмотреть сообщение
Hola Smoke123
Segъn eso se puede deber a diferentes cosas (pondrй las causas que se yo):
1. Permisos en la carpeta npcmodes y samp-npc deben estar ajustados de formar correcta, a mi me funcionan en 0770 (samp-npc) y 0750 (directorio npcmodes)
2. Tienes otro servidor dentro del mismo VPs que usa NPCs
Lo mas probable es que sea la primera
Espero haberte ayudado
Saludos
Bueno lo eh hecho,le di permisos pero sigue igual.Pero segun el log lo que no carga es el MapAndreas.so,hay que darle un tipo de permisos especiales a los plugins?Cabe decir que el mapandreas lo utilizo junto el plugin RNPC para que los bots ataquen al player.
Reply
#4

Quote:

[14:17:42] Loading plugin: MapAndreas.so
[14:17:42] Loaded...

Quote:

[14:17:42] MapAndreas: plugin could not init!
[14:17:42] MapAndreas: check files and make sure you have enough memory!

......
Reply
#5

Bien has confirmado entonces que has dado los permisos correctos a la carpeta npcmodes, el ejecutable samp-npc y tienes dentro de la carpeta npcmodes los scripts del NPC. їverdad? Asн como їsolo tienes un servidor corriendo, subiste correctamente el script desde donde los NPCs son llamados a conectarse, maxnpc en el nъmero suficiente?
Asн mismo el plugin mapandreas no tiene nada que ver con los NPCs
Si todo esto estб bien algo debe estar mal con el plugin, entonces tendrнas que contactar al creador o bien algo en tu S.O. estб bloqueando los NPCs, no puedo brindarte ayuda sobre esto ъltimo ya que desconozco del tema. Saludos
Reply
#6

En la ъltima versiуn de RNPC no necesitas el plugin MapAndreas ya que RNPC lo trae incluнdo.
Reply
#7

Gracias a los 2.Pero ahora lo que no carga es el sscanf y el streamer.

Код:
---------- 
Loaded log file: "server_log.txt". 
---------- 

SA-MP Dedicated Server 
---------------------- 
v0.3z, ©2005-2014 SA-MP Team 

[16:12:31] password = "" (string) 
[16:12:31] 
[16:12:31] Server Plugins 
[16:12:31] -------------- 
[16:12:31] Loading plugin: RNPC 
[16:12:31] RNPC V0.4.1 by Mauzen (03.12.2014) 
[16:12:31] Loaded. 
[16:12:31] Loading plugin: sscanf 
[16:12:31] Failed. 
[16:12:31] Loading plugin: streamer 
[16:12:31] Failed. 
[16:12:31] Loaded 1 plugins. 

[16:12:31] 
[16:12:31] Filterscripts 
[16:12:31] --------------- 
[16:12:31] Loading filterscript 'LadminZombie.amx'... 
[16:12:31] Loaded 1 filterscripts. 

[16:12:31] Script[gamemodes/ZB.amx]: Run time error 19: "File or function is not found" 
[16:12:31] Number of vehicle models: 0
Ah seguir intentando,lo que mas rabia me da es que en la pc no da ese error la consola.
Reply
#8

Quote:
Originally Posted by Smoke123
Посмотреть сообщение
Gracias a los 2.Pero ahora lo que no carga es el sscanf y el streamer.

Код:
---------- 
Loaded log file: "server_log.txt". 
---------- 

SA-MP Dedicated Server 
---------------------- 
v0.3z, ©2005-2014 SA-MP Team 

[16:12:31] password = "" (string) 
[16:12:31] 
[16:12:31] Server Plugins 
[16:12:31] -------------- 
[16:12:31] Loading plugin: RNPC 
[16:12:31] RNPC V0.4.1 by Mauzen (03.12.2014) 
[16:12:31] Loaded. 
[16:12:31] Loading plugin: sscanf 
[16:12:31] Failed. 
[16:12:31] Loading plugin: streamer 
[16:12:31] Failed. 
[16:12:31] Loaded 1 plugins. 

[16:12:31] 
[16:12:31] Filterscripts 
[16:12:31] --------------- 
[16:12:31] Loading filterscript 'LadminZombie.amx'... 
[16:12:31] Loaded 1 filterscripts. 

[16:12:31] Script[gamemodes/ZB.amx]: Run time error 19: "File or function is not found" 
[16:12:31] Number of vehicle models: 0
Ah seguir intentando,lo que mas rabia me da es que en la pc no da ese error la consola.
Instala visual c++ para windows, necesario para ejecutar aplicaciones realizadas con visual studio 2012,
http://www.microsoft.com/es-ES/downl....aspx?id=30679

o 2010
http://www.microsoft.com/es-ES/downl...s.aspx?id=5555

Pero primero revisa si es x64 o x86 el sistema operativo.
Reply
#9

Quote:
Originally Posted by jotajeda
Посмотреть сообщение
Instala visual c++ para windows, necesario para ejecutar aplicaciones realizadas con visual studio 2012,
http://www.microsoft.com/es-ES/downl....aspx?id=30679

o 2010
http://www.microsoft.com/es-ES/downl...s.aspx?id=5555

Pero primero revisa si es x64 o x86 el sistema operativo.
Si eso lo se,pero el problema es en el host no en mi pc.En mi pc carga perfecto.Actualizando los plugins,logre que cargara streamer,pero sscanf sigue sin cargar.

Код:
---------- 
Loaded log file: "server_log.txt". 
---------- 

SA-MP Dedicated Server 
---------------------- 
v0.3z, ©2005-2014 SA-MP Team 

[12:41:12] password = "" (string) 
[12:41:12] 
[12:41:12] Server Plugins 
[12:41:12] -------------- 
[12:41:12] Loading plugin: RNPC 
[12:41:12] RNPC V0.4.1 by Mauzen (03.12.2014) 
[12:41:12] Loaded. 
[12:41:12] Loading plugin: sscanf 
[12:41:12] Failed. 
[12:41:12] Loading plugin: streamer 
[12:41:12] 

*** Streamer Plugin v2.6.1 by Incognito loaded *** 

[12:41:12] Loaded. 
[12:41:12] Loaded 2 plugins. 

[12:41:12] 
[12:41:12] Filterscripts 
[12:41:12] --------------- 
[12:41:12] Loading filterscript 'LadminZombie.amx'... 
[12:41:12] Loaded 1 filterscripts. 

[12:41:12] Script[gamemodes/ZB.amx]: Run time error 19: "File or function is not found" 
[12:41:12] Number of vehicle models: 0
Intente cargar sscanf en otro gm y pasa lo mismo,no carga el plugin

Код:
---------- 
Loaded log file: "server_log.txt". 
---------- 

SA-MP Dedicated Server 
---------------------- 
v0.3z, ©2005-2014 SA-MP Team 

[13:14:41] password = "" (string) 
[13:14:41] maxnpc = 0 (int) 
[13:14:41] onfoot_rate = 30 (int) 
[13:14:41] incar_rate = 30 (int) 
[13:14:41] weapon_rate = 30 (int) 
[13:14:41] stream_distance = 200.000000 (float) 
[13:14:41] stream_rate = 1000 (int) 
[13:14:41] 
[13:14:41] Server Plugins 
[13:14:41] -------------- 
[13:14:41] Loading plugin: RNPC 
[13:14:41] RNPC V0.4.1 by Mauzen (03.12.2014) 
[13:14:41] Loaded. 
[13:14:41] Loading plugin: sscanf 
[13:14:41] Failed. 
[13:14:41] Loaded 1 plugins. 

[13:14:41] 
[13:14:41] Filterscripts 
[13:14:41] --------------- 
[13:14:41] Loading filterscript 'LadminZombie.amx'... 
[13:14:41] Loaded 1 filterscripts. 

[13:14:41] Loaded 3 vehicles from: vehicles/trains.txt 
[13:14:41] Loaded 3 vehicles from: vehicles/pilots.txt 
[13:14:41] Loaded 15 vehicles from: vehicles/lv_law.txt 
[13:14:41] Loaded 39 vehicles from: vehicles/lv_airport.txt 
[13:14:41] Loaded 255 vehicles from: vehicles/lv_gen.txt 
[13:14:41] Loaded 38 vehicles from: vehicles/sf_law.txt 
[13:14:41] Loaded 35 vehicles from: vehicles/sf_airport.txt 
[13:14:41] Loaded 353 vehicles from: vehicles/sf_gen.txt 
[13:14:41] Loaded 24 vehicles from: vehicles/ls_law.txt 
[13:14:41] Loaded 37 vehicles from: vehicles/ls_airport.txt 
[13:14:41] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt 
[13:14:41] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt 
[13:14:41] Loaded 71 vehicles from: vehicles/whetstone.txt 
[13:14:41] Loaded 168 vehicles from: vehicles/bone.txt 
[13:14:41] Loaded 61 vehicles from: vehicles/flint.txt 
[13:14:41] Loaded 96 vehicles from: vehicles/tierra.txt 
[13:14:41] Loaded 96 vehicles from: vehicles/red_county.txt 
[13:14:41] Total vehicles from files: 1781 
[13:14:41] 
--------------------------------------- 
[13:14:41] Running Grand Larceny - by the SA-MP team 

[13:14:41] --------------------------------------- 

[13:14:41] Number of vehicle models: 173
Descargue tanto plugin como include de la ultima version de sscanf pero sigue igual.Ya no se que hacer u.u
Reply
#10

Que host es? o es vps?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)