ziggi / FCNPC

FCNPC - Fully Controllable NPC
Apache License 2.0
125 stars 30 forks source link

Server is not starting #316

Closed Cruvo closed 2 months ago

Cruvo commented 2 months ago

I have tried to start server putting FCNPC, but the server is not starting even if i did upgrade the server version to r3 @ziggi

ziggi commented 2 months ago

Why?

Cruvo commented 2 months ago

Why?

i dont know but when i tried to start the server without FCNPC it works fine, and when i read the other issues i tried the latest version but still it didnt changed the same issue occurs

ziggi commented 2 months ago

Try to read logs.

Cruvo commented 2 months ago

Try to read logs.

=========================== FCNPC Exception Handler ============================
Signal 11 (Segmentation fault), address is f74e4040 from f77af591

this is FCNPC crash log

[08:46:32]    Error: Function not registered: 'FCNPC_GetPluginVersion'
[08:46:32]    Error: Function not registered: 'FCNPC_IsValid'
[08:46:32]    Error: Function not registered: 'FCNPC_Respawn'
[08:46:32]    Error: Function not registered: 'FCNPC_Destroy'
[08:46:32]    Error: Function not registered: 'FCNPC_Create'
[08:46:32]    Error: Function not registered: 'FCNPC_SetInvulnerable'
[08:46:32]    Error: Function not registered: 'FCNPC_Spawn'
[08:46:32]    Error: Function not registered: 'FCNPC_ExitVehicle'
[08:46:32]    Error: Function not registered: 'FCNPC_GetPosition'
[08:46:32]    Error: Function not registered: 'FCNPC_EnterVehicle'
[08:46:32] Script[gamemodes/nexalv8.amx]: Run time error 19: "File or function is not found""

and this is the error from serverlog

ziggi commented 2 months ago

this is FCNPC crash log

No it's first two lines of the crash log.

Cruvo commented 2 months ago

`Loaded log file: "server_log.txt".

SA-MP Dedicated Server

v0.3.7-R3, (C)2005-2019 SA-MP Team

[08:45:28] password = "" (string) [08:45:28] [08:45:28] Server Plugins [08:45:28] -------------- [08:45:28] Loading plugin: crashdetect.so [08:45:28] CrashDetect plugin 4.19.4 [08:45:28] Loaded. [08:45:28] Loading plugin: whirlpool.so [08:45:28]
[08:45:28] ================== [08:45:28]
[08:45:28] Whirlpool loaded [08:45:28]
[08:45:28] ================== [08:45:28]
[08:45:28] Loaded. [08:45:28] Loading plugin: pawncmd.so [08:45:28] Pawn.CMD plugin v3.2.0 by urShadow has been loaded [08:45:28] Loaded. [08:45:28] Loading plugin: sampvoice.so [08:45:28] [sv:dbg:network:init] : module initializing... [08:45:28] [dbg:raknet:init] : module initializing... [08:45:28] [dbg:raknet:init] : module initialized [08:45:28] [sv:dbg:network:init] : module initialized [08:45:28] [sv:dbg:main:Load] : creating 4 work threads... [08:45:28] -------------------------------------------
[08:45:28]
[08:45:28] /
| \ \ / / (_) _
[08:45:28] _ \/ ` | ' | ' \ / | |/ / -) [08:45:28] |/_,|||| ._/_/\/||___| [08:45:28] ||
[08:45:28] -------------------------------------------
[08:45:28] SampVoice by MOR loaded
[08:45:28] -------------------------------------------
[08:45:28] Loaded. [08:45:28] Loading plugin: sscanf.so [08:45:28]

[08:45:28] ===============================

[08:45:28] sscanf plugin loaded.

[08:45:28] Version: 2.8.3

[08:45:28] (c) 2018 Alex "Y_Less" Cole

[08:45:28] ===============================

[08:45:28] Loaded. [08:45:28] Loading plugin: streamer.so [08:45:28]

Streamer Plugin v2.9.5 by Incognito loaded

[08:45:28] Loaded. [08:45:28] Loading plugin: textdraw-streamer.so [08:45:28] [08:45:28] ================================= [08:45:28] | | [08:45:28] | textdraw-streamer v2.0.3 | [08:45:28] | Loaded | [08:45:28] | | [08:45:28] | Coding: | [08:45:28] | | [08:45:28] | Burak (Nexor) | [08:45:28] | | [08:45:28] | Compiled: | [08:45:28] | | [08:45:28] | 01.12.2023, 07:11:19 | [08:45:28] | | [08:45:28] | Github: | [08:45:28] | | [08:45:28] | github.com/nexquery | [08:45:28] | | [08:45:28] | Discord: | [08:45:28] | | [08:45:28] | benburakya - Nexor#4730 | [08:45:28] | | [08:45:28] ================================= [08:45:28] [08:45:28] Loaded. [08:45:28] Loading plugin: mysql_static.so [08:45:28] >> plugin.mysql: R39-6 successfully loaded. [08:45:28] Loaded. [08:45:28] Loading plugin: discord-connector.so [08:46:30] >> plugin.dc-connector: timeout while initializing data. [08:46:30] plugin will proceed to retry connecting in the background. [08:46:30] Loaded. [08:46:30] Loading plugin: nativechecker.so [08:46:30] Loaded. [08:46:30] Loaded 10 plugins.

[08:46:30] [08:46:30] Ban list [08:46:30] -------- [08:46:30] Loaded: samp.ban [08:46:30] [08:46:31] [08:46:31] Filterscripts [08:46:31] --------------- [08:46:31] Loading filterscript 'android-check.amx'... [08:46:31] [sv:dbg:main:AmxLoad] : net game pointer (value:0x849cca0) received [08:46:31] [sv:dbg:network:bind] : voice server running on port 44803 [08:46:31] Android check has been successfully loaded. [08:46:31] Loading filterscript 'mapping.amx'... [08:46:31] Loading filterscript 'nexalmap.amx'... [08:46:31] Loading filterscript 'login.amx'... [08:46:31] Loading filterscript 'hold.amx'... [08:46:31] [FS]HoldingWeapons Loaded! [08:46:31] Loaded 5 filterscripts.

[08:46:32] [Pawn.CMD] AmxLoad: mismatch between the plugin and include versions [08:46:32] Error: Function not registered: 'FreezeSyncData' [08:46:32] Error: Function not registered: 'SetFakeFacingAngle' [08:46:32] Error: Function not registered: 'SendLastSyncData' [08:46:32] Error: Function not registered: 'ClearAnimationsForPlayer' [08:46:32] Error: Function not registered: 'SetKnifeSync' [08:46:32] Error: Function not registered: 'SetFakeHealth' [08:46:32] Error: Function not registered: 'SetFakeArmour' [08:46:32] Error: Function not registered: 'PlayerTextDrawSetPosition' [08:46:32] Error: Function not registered: 'SpawnPlayerForWorld' [08:46:32] Error: Function not registered: 'FCNPC_GetPluginVersion' [08:46:32] Error: Function not registered: 'FCNPC_IsValid' [08:46:32] Error: Function not registered: 'FCNPC_Respawn' [08:46:32] Error: Function not registered: 'FCNPC_Destroy' [08:46:32] Error: Function not registered: 'FCNPC_Create' [08:46:32] Error: Function not registered: 'FCNPC_SetInvulnerable' [08:46:32] Error: Function not registered: 'FCNPC_Spawn' [08:46:32] Error: Function not registered: 'FCNPC_ExitVehicle' [08:46:32] Error: Function not registered: 'FCNPC_GetPosition' [08:46:32] Error: Function not registered: 'FCNPC_EnterVehicle' [08:46:32] Script[gamemodes/nexalv8.amx]: Run time error 19: "File or function is not found" [08:46:32] Number of vehicle models: 0


Loaded log file: "server_log.txt".

SA-MP Dedicated Server

v0.3.7-R3, (C)2005-2019 SA-MP Team

[08:48:46] password = "" (string) [08:48:46] [08:48:46] Server Plugins [08:48:46] -------------- [08:48:46] Loading plugin: crashdetect.so [08:48:46] CrashDetect plugin 4.19.4 [08:48:46] Loaded. [08:48:46] Loading plugin: whirlpool.so [08:48:46]
[08:48:46] ================== [08:48:46]
[08:48:46] Whirlpool loaded [08:48:46]
[08:48:46] ================== [08:48:46]
[08:48:46] Loaded. [08:48:46] Loading plugin: pawncmd.so [08:48:46] Pawn.CMD plugin v3.2.0 by urShadow has been loaded [08:48:46] Loaded. [08:48:46] Loading plugin: sampvoice.so [08:48:46] [sv:dbg:network:init] : module initializing... [08:48:46] [dbg:raknet:init] : module initializing... [08:48:46] [dbg:raknet:init] : module initialized [08:48:46] [sv:dbg:network:init] : module initialized [08:48:46] [sv:dbg:main:Load] : creating 4 work threads... [08:48:46] -------------------------------------------
[08:48:46]
[08:48:46] /
| \ \ / / (_) _
[08:48:46] _ \/ ` | ' | ' \ / | |/ / -) [08:48:46] |/_,|||| ._/_/\/||___| [08:48:46] ||
[08:48:46] -------------------------------------------
[08:48:46] SampVoice by MOR loaded
[08:48:46] -------------------------------------------
[08:48:46] Loaded. [08:48:46] Loading plugin: sscanf.so [08:48:46]

[08:48:46] ===============================

[08:48:46] sscanf plugin loaded.

[08:48:46] Version: 2.8.3

[08:48:46] (c) 2018 Alex "Y_Less" Cole

[08:48:46] ===============================

[08:48:46] Loaded. [08:48:46] Loading plugin: streamer.so [08:48:46]

Streamer Plugin v2.9.5 by Incognito loaded

[08:48:46] Loaded. [08:48:46] Loading plugin: textdraw-streamer.so [08:48:46] [08:48:46] ================================= [08:48:46] | | [08:48:46] | textdraw-streamer v2.0.3 | [08:48:46] | Loaded | [08:48:46] | | [08:48:46] | Coding: | [08:48:46] | | [08:48:46] | Burak (Nexor) | [08:48:46] | | [08:48:46] | Compiled: | [08:48:46] | | [08:48:46] | 01.12.2023, 07:11:19 | [08:48:46] | | [08:48:46] | Github: | [08:48:46] | | [08:48:46] | github.com/nexquery | [08:48:46] | | [08:48:46] | Discord: | [08:48:46] | | [08:48:46] | benburakya - Nexor#4730 | [08:48:46] | | [08:48:46] ================================= [08:48:46] [08:48:46] Loaded. [08:48:46] Loading plugin: mysql_static.so [08:48:47] >> plugin.mysql: R39-6 successfully loaded. [08:48:47] Loaded. [08:48:47] Loading plugin: discord-connector.so [08:49:42] >> plugin.dc-connector: timeout while initializing data. [08:49:42] plugin will proceed to retry connecting in the background. [08:49:42] Loaded. [08:49:42] Loading plugin: FCNPC.so [08:49:42] Failed (plugins/FCNPC.so: cannot open shared object file: No such file or directory) [08:49:42] Loading plugin: nativechecker.so [08:49:42] Loaded. [08:49:42] Loaded 10 plugins.

[08:49:43] [08:49:43] Ban list [08:49:43] -------- [08:49:43] Loaded: samp.ban [08:49:43] [08:49:44] [08:49:44] Filterscripts [08:49:44] --------------- [08:49:44] Loading filterscript 'android-check.amx'... [08:49:44] [sv:dbg:main:AmxLoad] : net game pointer (value:0x91c9cc0) received [08:49:44] [sv:dbg:network:bind] : voice server running on port 49975 [08:49:44] Android check has been successfully loaded. [08:49:44] Loading filterscript 'mapping.amx'... [08:49:44] Loading filterscript 'nexalmap.amx'... [08:49:44] Loading filterscript 'login.amx'... [08:49:44] Loading filterscript 'hold.amx'... [08:49:44] [FS]HoldingWeapons Loaded! [08:49:44] Loaded 5 filterscripts.

[08:49:45] [Pawn.CMD] AmxLoad: mismatch between the plugin and include versions [08:49:45] Error: Function not registered: 'FreezeSyncData' [08:49:45] Error: Function not registered: 'SetFakeFacingAngle' [08:49:45] Error: Function not registered: 'SendLastSyncData' [08:49:45] Error: Function not registered: 'ClearAnimationsForPlayer' [08:49:45] Error: Function not registered: 'SetKnifeSync' [08:49:45] Error: Function not registered: 'SetFakeHealth' [08:49:45] Error: Function not registered: 'SetFakeArmour' [08:49:45] Error: Function not registered: 'PlayerTextDrawSetPosition' [08:49:45] Error: Function not registered: 'SpawnPlayerForWorld' [08:49:45] Error: Function not registered: 'FCNPC_GetPluginVersion' [08:49:45] Error: Function not registered: 'FCNPC_IsValid' [08:49:45] Error: Function not registered: 'FCNPC_Respawn' [08:49:45] Error: Function not registered: 'FCNPC_Destroy' [08:49:45] Error: Function not registered: 'FCNPC_Create' [08:49:45] Error: Function not registered: 'FCNPC_SetInvulnerable' [08:49:45] Error: Function not registered: 'FCNPC_Spawn' [08:49:45] Error: Function not registered: 'FCNPC_ExitVehicle' [08:49:45] Error: Function not registered: 'FCNPC_GetPosition' [08:49:45] Error: Function not registered: 'FCNPC_EnterVehicle' [08:49:45] Script[gamemodes/nexalv8.amx]: Run time error 19: "File or function is not found" [08:49:45] Number of vehicle models: 0 `

ziggi commented 2 months ago

Failed (plugins/FCNPC.so: cannot open shared object file: No such file or directory)

Copy FCNPC.so to plugins/ directory.

Cruvo commented 2 months ago

server_log.txt svlog.txt crash_log (2).txt

these are the fresh logs on the last crash

ziggi commented 2 months ago

It looks like you are trolling me. There is no crash, FCNPC is not even trying to load. Add FCNPC to plugins in server.cfg file.

Cruvo commented 2 months ago

It looks like you are trolling me. There is no crash, FCNPC is not even trying to load. Add FCNPC to plugins in server.cfg file.

ouch sorry i did not added the plugin in cfg forgotten i did removed due to the crash issues i will sent you the log after adding it sorry for wasting your time

Cruvo commented 2 months ago

@ziggi The problem seems fixed now i think the problem was i put the name of the npc like Firstname Secondname i changed it to FIRSTNAME_SECONDNAME the problem is now fixed