ziggi / FCNPC

FCNPC - Fully Controllable NPC
Apache License 2.0
139 stars 31 forks source link

Linux server Error #288

Closed Necroxy22 closed 7 months ago

Necroxy22 commented 1 year ago

i try this include and plugin on windows server is work but, on the linux server the bot exits after a while the server starts and an error like this appears :

=========================== FCNPC Exception Handler ============================
Signal 11 (Segmentation fault), address is 2 from f346ca07

Backtrace:
  #0 in plugins/FCNPC.so(_ZN17CExceptionHandler24ExceptionHandlerCallbackEiP9siginfo_tPv+0x126) [0xf34626e6]
  #1 in linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7fc1570]
  #2 in plugins/FCNPC.so(_ZN11CPlayerData7ProcessEv+0x17) [0xf346ca07]
  #3 in plugins/FCNPC.so(_ZN14CPlayerManager7ProcessEv+0x42) [0xf346ecc2]
  #4 in plugins/FCNPC.so(_ZN7CServer7ProcessEv+0x54) [0xf34711d4]
  #5 in plugins/FCNPC.so(ProcessTick+0x23) [0xf3472ac3]
  #6 in ./samp03svr() [0x80d1ce2]
  #7 in ./samp03svr() [0x80aef3a]
  #8 in ./samp03svr() [0x80aa13a]
  #9 in /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0x106) [0xf7ad2e46]

Information:
  System: GNU/Linux
  SA-MP: 0.3.7 R2
  FCNPC: 2.0.4

Functions:
  FUNC_CPlayerPool__DeletePlayer: 0x80d0a90
  FUNC_CPlayer__Kill: 0x80cb220
  FUNC_CPlayer__EnterVehicle: 0x80cc1c0
  FUNC_CPlayer__ExitVehicle: 0x80cc340
  FUNC_CPlayer__SpawnForWorld: 0x80ccfc0
  FUNC_GetVehicleModelInfo: 0x80d5e00
  FUNC_CConsole__GetIntVariable: 0x80a0070
  FUNC_ClientJoin_RPC: 0x80b0030

Pointers:
  VAR_ServerAuthentication: 0x81ab8ec
  VAR_NetVersion: 0xfd9

Offsets:
  OFFSET_RemoteSystemManager: 0x334
  OFFSET_RemoteSystemSize: 0xc69
  OFFSET_RemoteSystem__ConnectMode: 0xc62
  OFFSET_RemoteSystem__Unknown: 0xc67
=========================== FCNPC Exception Handler ============================
ziggi commented 1 year ago

Try update to 2.0.5