SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 21/05/2018, 11:03 AM   #3581
Verc
Big Clucker
 
Join Date: Apr 2018
Posts: 72
Reputation: 20
Default Re: FCNPC - Fully Controllable NPC

Yes it did,I can give you my file if you want.
Verc is offline   Reply With Quote
Old 21/05/2018, 01:39 PM   #3582
jop9888
Big Clucker
 
Join Date: Mar 2009
Posts: 144
Reputation: 4
Default Re: FCNPC - Fully Controllable NPC

I can take a look, however i suppose something is going wrong in perhaps the FCNPC_Destroy call in the 2.0 version or the like, since you describe it dit work in the earlier versions of the plugin
jop9888 is offline   Reply With Quote
Old 21/05/2018, 01:44 PM   #3583
Verc
Big Clucker
 
Join Date: Apr 2018
Posts: 72
Reputation: 20
Default Re: FCNPC - Fully Controllable NPC

No,I only use 2.0 for testing purposes. I use 1.8.2 now.
Verc is offline   Reply With Quote
Old 06/06/2018, 05:12 AM   #3584
GabrielBas
Big Clucker
 
GabrielBas's Avatar
 
Join Date: Jul 2014
Location: GetPlayerPos(playerid, x, y, z);
Posts: 190
Reputation: 18
Default Re: FCNPC - Fully Controllable NPC

I use this: http://forum.sa-mp.com/showpost.php?...postcount=3517
and crash... help!

Quote:
=========================== FCNPC Exception Handler ============================
Address: 0x70787111

Registers:
EAX: 0x69d0598 - EBX: 0x3e7 - ECX: 0x641388 - EDX: 0x0
ESI: 0x641388 - EDI: 0x26d9560 - EBP: 0x19fdc4 - ESP: 0x19fda4

Stack:
0x0: 0x2855a86 - 0x4: 0x7078c303 - 0x8: 0x28559e8 - 0xC: 0x641388 - 0x10: 0x50 - 0x14: 0x2855a88
0x18: 0x3a54c40 - 0x1C: 0x26d85b8 - 0x20: 0x19fe04

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

Functions:
FUNC_CPlayerPool__DeletePlayer: 0x466550
FUNC_CPlayer__Kill: 0x485020
FUNC_CPlayer__EnterVehicle: 0x485672
FUNC_CPlayer__ExitVehicle: 0x485952
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
=========================== FCNPC Exception Handler ============================
GabrielBas is offline   Reply With Quote
Old 07/06/2018, 07:30 AM   #3585
Dreandor
Little Clucker
 
Join Date: Dec 2017
Posts: 14
Reputation: 0
Default Re: FCNPC - Fully Controllable NPC

I have a problem with FCNPC and 0.3dl
Code:
[18:02:40] [npc:join] NPC_1 has joined the server (49:127.0.0.1)
[18:02:40] [npc:part] NPC_1 has left the server (49:0)
[18:02:40] [FCNPC] Error: NPC 'NPC_1' not created. Name 'NPC_1' is invalid or the maxnpc limit in server.cfg has been reached.
This is my serverconfig
Code:
echo Executing Server Config...
lanmode 0
rcon_password xxxxxxx
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 xxx 1
filterscripts
announce 0
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 80
incar_rate 80
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 25
logtimeformat [%H:%M:%S]
language Deutsch/German
useartwork 1
sleep 1
mtu 1400
plugins FCNPC MapAndreas mysql sscanf streamer
and this is my command:
Code:
ocmd:npc(playerid,params[])
{
	new name[24];
	new npcid;
	new Float:posx, Float:posy, Float:posz;
	GetPlayerPos(playerid,posx, posy, posz);
	format(name, 24, "NPC_%d", npcs + 1);
	FCNPC_Create(name);
	FCNPC_Spawn(npcid, random(299), posx, posy, posz);
	npcs++;
	return 1;
}
Dreandor is offline   Reply With Quote
Old 07/06/2018, 09:14 AM   #3586
ZiGGi
High-roller
 
ZiGGi's Avatar
 
Join Date: Sep 2008
Location: Russia
Posts: 1,723
Reputation: 334
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by Dreandor View Post
I have a problem with FCNPC and 0.3dl
Code:
[18:02:40] [npc:join] NPC_1 has joined the server (49:127.0.0.1)
[18:02:40] [npc:part] NPC_1 has left the server (49:0)
[18:02:40] [FCNPC] Error: NPC 'NPC_1' not created. Name 'NPC_1' is invalid or the maxnpc limit in server.cfg has been reached.
This is my serverconfig
Code:
echo Executing Server Config...
lanmode 0
rcon_password xxxxxxx
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 xxx 1
filterscripts
announce 0
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 80
incar_rate 80
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 25
logtimeformat [%H:%M:%S]
language Deutsch/German
useartwork 1
sleep 1
mtu 1400
plugins FCNPC MapAndreas mysql sscanf streamer
and this is my command:
Code:
ocmd:npc(playerid,params[])
{
	new name[24];
	new npcid;
	new Float:posx, Float:posy, Float:posz;
	GetPlayerPos(playerid,posx, posy, posz);
	format(name, 24, "NPC_%d", npcs + 1);
	FCNPC_Create(name);
	FCNPC_Spawn(npcid, random(299), posx, posy, posz);
	npcs++;
	return 1;
}
What version of the plugin are you using?
ZiGGi is offline   Reply With Quote
Old 07/06/2018, 06:25 PM   #3587
Dreandor
Little Clucker
 
Join Date: Dec 2017
Posts: 14
Reputation: 0
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by ZiGGi View Post
What version of the plugin are you using?
Code:
Loading plugin: FCNPC
[17:10:42] 
[17:10:42] -------------------------------------------------
[17:10:42]      FCNPC - Fully Controllable NPC v1.8.2
[17:10:42]          Windows SA-MP Unknown
[17:10:42]           May 28 2018 at 20:09:43
[17:10:42] 
[17:10:42]   Author:       OrMisicL (2013 - 2015)
[17:10:42]   Continued by: ziggi (2016 - present)
[17:10:42]   Contributors: kurta999, Neutralneu
[17:10:42] -------------------------------------------------
[17:10:42] 
[17:10:42] Loading...
[17:10:42]   Loaded.
Dreandor is offline   Reply With Quote
Old 07/06/2018, 06:56 PM   #3588
ZiGGi
High-roller
 
ZiGGi's Avatar
 
Join Date: Sep 2008
Location: Russia
Posts: 1,723
Reputation: 334
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by Dreandor View Post
Code:
Loading plugin: FCNPC
[17:10:42] 
[17:10:42] -------------------------------------------------
[17:10:42]      FCNPC - Fully Controllable NPC v1.8.2
[17:10:42]          Windows SA-MP Unknown
[17:10:42]           May 28 2018 at 20:09:43
[17:10:42] 
[17:10:42]   Author:       OrMisicL (2013 - 2015)
[17:10:42]   Continued by: ziggi (2016 - present)
[17:10:42]   Contributors: kurta999, Neutralneu
[17:10:42] -------------------------------------------------
[17:10:42] 
[17:10:42] Loading...
[17:10:42]   Loaded.
You should use special DL version: http://forum.sa-mp.com/showpost.php?...postcount=3517
Or alpha version of FCNPC 2.0: http://forum.sa-mp.com/showpost.php?...postcount=3572
ZiGGi is offline   Reply With Quote
Old 07/06/2018, 07:07 PM   #3589
Dreandor
Little Clucker
 
Join Date: Dec 2017
Posts: 14
Reputation: 0
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by ZiGGi View Post
Now they join, but there are not visible ingame
Code:
[npc:join] NPC_3 has joined the server (97:127.0.0.1)
I use a register / login system.
Dreandor is offline   Reply With Quote
Old 14/06/2018, 03:31 PM   #3590
mrjapso
Little Clucker
 
Join Date: Dec 2016
Posts: 3
Reputation: 0
Default Re: FCNPC - Fully Controllable NPC

Hello I need some help. I want to run samp dayz server but

Quote:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[18:25:59] filterscripts = "" (string)
[18:25:59]
[18:25:59] Server Plugins
[18:25:59] --------------
[18:25:59] Loading plugin: mysql
[18:25:59] >> plugin.mysql: R33 successfully loaded.
[18:25:59] Loaded.
[18:25:59] Loading plugin: streamer
[18:25:59]

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

[18:25:59] Loaded.
[18:25:59] Loading plugin: sscanf
[18:25:59]

[18:25:59] ===============================

[18:25:59] sscanf plugin loaded.

[18:25:59] Version: 2.8.1

[18:25:59] (c) 2012 Alex "Y_Less" Cole

[18:25:59] ===============================

[18:25:59] Loaded.
[18:25:59] Loading plugin: FCNPC
[18:25:59]
[18:25:59] -------------------------------------------------
[18:25:59] FCNPC - Fully Controllable NPC v2.0.0
[18:25:59] Windows SA-MP 0.3.7 R2
[18:25:59] May 20 2018 at 17:26:44
[18:25:59]
[18:25:59] Author: OrMisicL (2013 - 2015)
[18:25:59] Continued by: ziggi (2016 - present)
[18:25:59]
[18:25:59] See full credits in the README.md file
[18:25:59] -------------------------------------------------
[18:25:59]
[18:25:59] Loading...
[18:25:59] Loaded.
[18:25:59] Loading plugin: MapAndreas
[18:25:59] Loaded.
[18:25:59] Loaded 5 plugins.

[18:25:59]
[18:25:59] Filterscripts
[18:25:59] ---------------
[18:25:59] Loaded 0 filterscripts.

[18:25:59] [FCNPC] Error: Script initialization failed. Include file version does not match plugin version.
I use FCNPC 2.0.0
sorry for my bad english
mrjapso is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Controllable NPC Lorenc_ Includes 101 02/06/2014 06:08 AM
[Plugin] FCNPC - Fully Controllable NPC sa-mp 0.3x R2 [LCK]Chris Plugin Development 82 16/05/2014 02:16 PM
Controllable HighPitchedVoice Scripting Help 5 25/05/2012 09:38 PM
[?]New SZR fully controllable NOS system Qeux Help Archive 3 17/03/2011 02:24 AM
Controllable NPC Andreq Русский/Russian 5 25/10/2010 07:57 AM


All times are GMT. The time now is 08:22 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.