Closed Revalto closed 11 months ago
You pass something wrong in pathfinding
argument of GoTo
function.
Use one of these:
https://github.com/ziggi/FCNPC/blob/0827d2e86e2a06d5ec396a9296715b14c995a19c/sampsvr_files/FCNPC.inc#L54-L57
Вы передаете что-то неправильное в аргументе функции. Используйте один из следующих вариантов:
pathfinding``GoTo
I also noticed that when I call the FCNPC_Create
function, FCNPC_OnCreate
is not called. Although on the old version of the plugin everything works fine. I had to call it manually. But somehow everything started to work unstably.
I tried to catch it through crashdetect, but so far it doesn't show anything. There is only FCNPC error log
Re:
#define FCNPC_MOVE_PATHFINDING_AUTO (-1)
#define FCNPC_MOVE_PATHFINDING_NONE (0)
#define FCNPC_MOVE_PATHFINDING_Z (1)
#define FCNPC_MOVE_PATHFINDING_RAYCAST (2)
I don't have it used anywhere in my project
Ты используешь какие-то Filterscripts? FCNPC.inc
последней версии? Ну и показывай код, который вызывает этот краш (FCNPC_GoTo).
Я кажись понял в чем проблема. Я обновлялся с версии где еще использовался bool:UseMapAndreas = false
, сейчас попробую исправить. Если что, отпишусь. Спасибо за помощь!
Ты используешь какие-то Filterscripts?
FCNPC.inc
последней версии? Ну и показывай код, который вызывает этот краш (FCNPC_GoTo).
Так и должно быть при FCNPC_OnWeaponShot
?
[31/07 23:12:40] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:41] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:42] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:42] FCNPC_OnWeaponShot npcid: 50, weaponid: 0, hittype: 1, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:43] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:44] FCNPC_OnWeaponShot npcid: 50, weaponid: 0, hittype: 1, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:45] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:46] FCNPC_OnWeaponShot npcid: 50, weaponid: 0, hittype: 1, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:47] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:47] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:48] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:49] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:50] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:51] FCNPC_OnWeaponShot npcid: 50, weaponid: 0, hittype: 1, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:52] FCNPC_OnWeaponShot npcid: 50, weaponid: 0, hittype: 1, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:53] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:53] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:54] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:55] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:56] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:57] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:58] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:59] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:12:59] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:13:00] FCNPC_OnWeaponShot npcid: 50, weaponid: 0, hittype: 1, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:13:01] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:13:02] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:13:03] FCNPC_OnWeaponShot npcid: 50, weaponid: 0, hittype: 1, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:13:04] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:13:04] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
[31/07 23:13:05] FCNPC_OnWeaponShot npcid: 50, weaponid: 65535, hittype: 0, hitid: 25, x: 0.00, y: 0.00, z: 0.00
Не валидное значение оружия, не валидные координаты hitid тоже невалидный
Без кода не знаю
Без кода не знаю
Ошибка была найдена. Накосячил один из разработчиков в проекте. Спасибо за отклик)