PDA

View Full Version : FCNPC - Server crashes.


faff
10/04/2019, 12:58 PM
Hey guys, I'm using FCNPC to create zombie bots.
They are spawning into the server correctly, but after a while a windows pop ups wich closes the server down.
https://www.mupload.nl/img/m77psvo.png

What is causing this?
I updated all plugins, MapAndreas, FNPC (2.0.0 0.3DL version), etc..

FCNPC crash file:
=========================== FCNPC Exception Handler ============================
Address: 0x634d0dc4

Registers:
EAX: 0x1 - EBX: 0x0 - ECX: 0x2d293556 - EDX: 0x4
ESI: 0x795d08 - EDI: 0x2368bf8 - EBP: 0x19fe0c - ESP: 0x19fddc

Stack:
0x0: 0x2d30cb5a - 0x4: 0x23681d8 - 0x8: 0x0 - 0xC: 0x19fdf0 - 0x10: 0x788c68 - 0x14: 0x790b58
0x18: 0x0 - 0x1C: 0x788c0a - 0x20: 0x19fe8c

Information:
System: Windows
SA-MP: 0.3.DL R1
FCNPC: 2.0.0

Functions:
FUNC_CPlayerPool__DeletePlayer: 0x466550
FUNC_CPlayer__Kill: 0x485020
FUNC_CPlayer__EnterVehicle: 0x485670
FUNC_CPlayer__ExitVehicle: 0x485790
FUNC_CPlayer__SpawnForWorld: 0x487730
FUNC_GetVehicleModelInfo: 0x4892a0
FUNC_CConsole__GetIntVariable: 0x490c80
FUNC_ClientJoin_RPC: 0x497ef0

Pointers:
VAR_ServerAuthentication: 0x4fc470
VAR_NetVersion: 0xfde

Offsets:
OFFSET_RemoteSystemManager: 0x33c
OFFSET_RemoteSystemSize: 0xcb8
OFFSET_RemoteSystem__ConnectMode: 0xcb0
OFFSET_RemoteSystem__Unknown: 0xcb5

Callbacks:
FUNC_CGameMode__OnPlayerGiveDamage: 0x46f050
FUNC_CGameMode__OnPlayerTakeDamage: 0x46efd0
FUNC_CGameMode__OnPlayerWeaponShot: 0x46f640
FUNC_CGameMode__OnPlayerStreamIn: 0x46ebc0
FUNC_CGameMode__OnPlayerStreamOut: 0x46ec30
FUNC_CGameMode__OnGameModeExit: 0x46da90
=========================== FCNPC Exception Handler ============================

TheToretto
10/04/2019, 02:11 PM
Are you spawning 1000 zombies?

faff
10/04/2019, 07:17 PM
Are you spawning 1000 zombies?

200.

TheToretto
10/04/2019, 08:04 PM
200.

Your bot has the ID 953 and there is even a 1000, can I see your code for creating them? Maybe an infinite loop.