SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 09/04/2018, 03:57 PM   #3551
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 494
Reputation: 56
Default Re: FCNPC - Fully Controllable NPC

Misread sorry.
__________________
Dice_ is offline   Reply With Quote
Old 16/04/2018, 04:20 PM   #3552
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 494
Reputation: 56
Default Re: FCNPC - Fully Controllable NPC

PHP Code:
=========================== FCNPC Exception Handler ============================
Signal 11 (Segmentation fault), address is 8 from f27ef4bd

Backtrace
:
  
#0 in plugins/FCNPC.so(_ZN17CExceptionHandler24ExceptionHandlerCallbackEiP9siginfo_tPv+0xdc) [0xf27e1c9c]
  #1 in [0xf7f38cc0]
  #2 in plugins/FCNPC.so(_ZN7CServer17GetVehicleSeatPosEP8CVehicleh+0x3d) [0xf27ef4bd]
  #3 in plugins/FCNPC.so(_ZN11CPlayerData7ProcessEv+0x7e7) [0xf27ebdd7]
  #4 in plugins/FCNPC.so(_ZN14CPlayerManager7ProcessEv+0x42) [0xf27eca92]
  #5 in plugins/FCNPC.so(_ZN7CServer7ProcessEv+0x4f) [0xf27ef05f]
  #6 in plugins/FCNPC.so(ProcessTick+0x24) [0xf27f0604]
  #7 in ./samp03svr() [0x80d1ce2]
  #8 in ./samp03svr() [0x80aef6c]
  #9 in ./samp03svr() [0x80aa13a]

Information:
  
SystemGNU/Linux
  SA
-MP0.3.7 R2
  FCNPC
1.8.2

Functions
:
  
FUNC_CPlayerPool__DeletePlayer0x80d0a90
  FUNC_CPlayer__Kill
0x80cb220
  FUNC_CPlayer__EnterVehicle
0x80cc1c0
  FUNC_CPlayer__ExitVehicle
0x80cc340
  FUNC_CPlayer__SpawnForWorld
0x80ccfc0
  FUNC_GetVehicleModelInfo
0x80d5d30
  FUNC_CConsole__GetIntVariable
0x80a0070
  FUNC_ClientJoin_RPC
0x80b0030

Pointers
:
  
VAR_ServerAuthentication0x81aa8a8
  VAR_NetVersion
0xfd9

Offsets
:
  
OFFSET_RemoteSystemManager0x334
  OFFSET_RemoteSystemSize
0xc69
  OFFSET_RemoteSystem__ConnectMode
0xc62
  OFFSET_RemoteSystem__Unknown
0xc67
=========================== FCNPC Exception Handler ============================ 
what happened?
__________________
Dice_ is offline   Reply With Quote
Old 26/04/2018, 09:07 AM   #3553
Neutralneu
Big Clucker
 
Join Date: Oct 2012
Location: Russia
Posts: 197
Reputation: 37
Default Re: FCNPC - Fully Controllable NPC

What did you try to do to get this error. I use windows version and it works just fine, now there are a lot of cheap and super stable VDS on windows, at least in Russia, which makes using plugins much more easier, for example road connector I wasn't capable to install on Linux platform but it works very well at windows. If you have this error not just by launching then please share with us part of your code you wanna work out.
Neutralneu is offline   Reply With Quote
Old 26/04/2018, 09:10 AM   #3554
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 494
Reputation: 56
Default Re: FCNPC - Fully Controllable NPC

I don't even know what causes it,but I'm currently running my server with YSF Static plugin and it works fine so far.

Windows VPS is still expensive in my country.
__________________

Last edited by Dice_; 26/04/2018 at 11:52 AM.
Dice_ is offline   Reply With Quote
Old 26/04/2018, 09:23 AM   #3555
Neutralneu
Big Clucker
 
Join Date: Oct 2012
Location: Russia
Posts: 197
Reputation: 37
Default Re: FCNPC - Fully Controllable NPC

In Russia it cost about $13 per month for an amazing machine, so if it is an expensive one then yes, better use Linux, but if it's not, you can use trial period and check out the ping, so maybe it will be fine for you.
Neutralneu is offline   Reply With Quote
Old 27/04/2018, 11:40 AM   #3556
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 592
Reputation: 239
Default Re: FCNPC - Fully Controllable NPC

Please discuss this somewhere else.
__________________
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.


[Include] FCNPC A.I. - [Tutorial] Speedometer - [WIP] Single-player-like co-op mission - [Other] List of all my work
Freaksken is offline   Reply With Quote
Old 29/04/2018, 01:47 AM   #3557
Dice_
Huge Clucker
 
Dice_'s Avatar
 
Join Date: Sep 2015
Location: Indonesia
Posts: 494
Reputation: 56
Default Re: FCNPC - Fully Controllable NPC

Code:
v0.3.7-R2, (C)2005-2015 SA-MP Team

[08:44:48] 
[08:44:48] Server Plugins
[08:44:48] --------------
[08:44:48]  Loading plugin: crashdetect
[08:44:48]   CrashDetect v4.18.1 is OK.
[08:44:48]   Loaded.
[08:44:48]  Loading plugin: YSF
[08:44:48] ARRAY_ConsoleCommands: 4e43d8
[08:44:48] 

[08:44:48]  ===============================

[08:44:48]         YSF - kurta999's version R19 loaded

[08:44:48]    (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2016 kurta999

[08:44:48]     Server version: 0.3.7 R2-1

[08:44:48]     Operating System: Windows

[08:44:48]     Built on: Mar 11 2017 at 10:32:34

[08:44:48]  ===============================

[08:44:48]   Loaded.
[08:44:48]  Loading plugin: SKY
[08:44:48]   Loaded.
[08:44:48]  Loading plugin: mysql
[08:44:48]  >> plugin.mysql: R41-4 successfully loaded.
[08:44:48]   Loaded.
[08:44:48]  Loading plugin: sscanf
[08:44:48] 

[08:44:48]  ===============================

[08:44:48]       sscanf plugin loaded.     

[08:44:48]          Version:  2.8.2        

[08:44:48]    (c) 2012 Alex "Y_Less" Cole  

[08:44:48]  ===============================

[08:44:48]   Loaded.
[08:44:48]  Loading plugin: streamer
[08:44:48] 

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

[08:44:48]   Loaded.
[08:44:48]  Loading plugin: irc
[08:44:48] 

*** IRC Plugin v1.4.8 by Incognito loaded ***

[08:44:48]   Loaded.
[08:44:48]  Loading plugin: CTime
[08:44:48]   Loaded.
[08:44:48]  Loading plugin: DriftPointsCounter
[08:44:48]   Loaded.
[08:44:48]  Loading plugin: colandreas
[08:44:48] *********************
[08:44:48] ** Created By:     **
[08:44:48] ** [uL]Chris42O    **
[08:44:48] ** [uL]Slice       **
[08:44:48] ** [uL]Pottus      **
[08:44:48] *********************
[08:44:55] Loaded collision data.
[08:44:55] *********************
[08:44:55]   ColAndreas Loaded
[08:44:55]    v1.4.0
[08:44:55] *********************
[08:44:55]   Loaded.
[08:44:55]  Loading plugin: FCNPC
[08:44:55] 
[08:44:55] -------------------------------------------------
[08:44:55]      FCNPC - Fully Controllable NPC v1.8.2
[08:44:55]          Windows SA-MP 0.3.7 R2
[08:44:55]           Jan  8 2018 at 01:14:48
[08:44:55] 
[08:44:55]   Author:       OrMisicL (2013 - 2015)
[08:44:55]   Continued by: ziggi (2016 - present)
[08:44:55]   Contributors: kurta999, Neutralneu
[08:44:55] -------------------------------------------------
[08:44:55] 
[08:44:55] Loading...
[08:44:55]   Loaded.
[08:44:55]  Loading plugin: log-plugin
[08:44:55]  >> plugin.log: v0.4 successfully loaded.
[08:44:55]   Loaded.
[08:44:55]  Loading plugin: pawn-memory
[08:44:55] ========================
[08:44:55] = Memory access plugin =
[08:44:55] =       Made by BigETI =
[08:44:55] = Loaded!              =
[08:44:55] ========================
[08:44:55]   Loaded.
[08:44:55]  Loaded 13 plugins.

[08:44:55] 
[08:44:55] Filterscripts
[08:44:55] ---------------
[08:44:55]   Loading filterscript 'SAOI_FileManager.amx'...
[08:44:55]   Unable to load filterscript 'SAOI_FileManager.amx'.
[08:44:55]   Loaded 0 filterscripts.

[08:44:56]  
[08:44:56]  
[08:44:56]  
[08:44:56]  ======================================= 
[08:44:56]  |                                     | 
[08:44:56]  |        YSI version 4.00.0001        | 
[08:44:56]  |        By Alex "Y_Less" Cole        | 
[08:44:56]  |                                     | 
[08:44:56]  ======================================= 
[08:44:56]  
[08:45:08]  
[08:45:08] --------------------------------------
[08:45:08]  Anticheat Nex-AC loaded!
[08:45:08]  Anticheat version: 1.9.20
[08:45:08]  Author: Nexius
[08:45:08] --------------------------------------

[08:45:08] Setting server password to: "133773316996"
[08:45:08] Loading Map.
[08:45:08] Loaded Map.                             
[08:45:08] called 1
[08:45:08] called case 1
[08:45:08] called 1
[08:45:08] [ADM] Info: Load 3DTryg v4.6.1 for SA:MP 0.3.7 by Abyss Morgan
[08:45:08] Number of vehicle models: 38
[08:45:10] [npc:join] Masinis_01 has joined the server (49:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10024)
[08:45:10] [npc:join] Masinis_02 has joined the server (48:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10026)
[08:45:10] [npc:join] Masinis_03 has joined the server (47:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10026)
[08:45:10] [npc:join] Pilot_01 has joined the server (46:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10026)
[08:45:10] [npc:join] Pilot_02 has joined the server (45:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10026)
[08:45:10] [npc:join] Pilot_03 has joined the server (44:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10026)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
What is wrong?I'm using the latest version,it works fine on linux but not in my windows.
Server Version: 0.3.7 R2-1
__________________
Dice_ is offline   Reply With Quote
Old 29/04/2018, 06:17 AM   #3558
ZiGGi
High-roller
 
ZiGGi's Avatar
 
Join Date: Sep 2008
Location: Russia
Posts: 1,724
Reputation: 334
Default Re: FCNPC - Fully Controllable NPC

Quote:
Originally Posted by Dice_ View Post
Code:
v0.3.7-R2, (C)2005-2015 SA-MP Team

[08:44:48] 
[08:44:48] Server Plugins
[08:44:48] --------------
[08:44:48]  Loading plugin: crashdetect
[08:44:48]   CrashDetect v4.18.1 is OK.
[08:44:48]   Loaded.
[08:44:48]  Loading plugin: YSF
[08:44:48] ARRAY_ConsoleCommands: 4e43d8
[08:44:48] 

[08:44:48]  ===============================

[08:44:48]         YSF - kurta999's version R19 loaded

[08:44:48]    (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2016 kurta999

[08:44:48]     Server version: 0.3.7 R2-1

[08:44:48]     Operating System: Windows

[08:44:48]     Built on: Mar 11 2017 at 10:32:34

[08:44:48]  ===============================

[08:44:48]   Loaded.
[08:44:48]  Loading plugin: SKY
[08:44:48]   Loaded.
[08:44:48]  Loading plugin: mysql
[08:44:48]  >> plugin.mysql: R41-4 successfully loaded.
[08:44:48]   Loaded.
[08:44:48]  Loading plugin: sscanf
[08:44:48] 

[08:44:48]  ===============================

[08:44:48]       sscanf plugin loaded.     

[08:44:48]          Version:  2.8.2        

[08:44:48]    (c) 2012 Alex "Y_Less" Cole  

[08:44:48]  ===============================

[08:44:48]   Loaded.
[08:44:48]  Loading plugin: streamer
[08:44:48] 

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

[08:44:48]   Loaded.
[08:44:48]  Loading plugin: irc
[08:44:48] 

*** IRC Plugin v1.4.8 by Incognito loaded ***

[08:44:48]   Loaded.
[08:44:48]  Loading plugin: CTime
[08:44:48]   Loaded.
[08:44:48]  Loading plugin: DriftPointsCounter
[08:44:48]   Loaded.
[08:44:48]  Loading plugin: colandreas
[08:44:48] *********************
[08:44:48] ** Created By:     **
[08:44:48] ** [uL]Chris42O    **
[08:44:48] ** [uL]Slice       **
[08:44:48] ** [uL]Pottus      **
[08:44:48] *********************
[08:44:55] Loaded collision data.
[08:44:55] *********************
[08:44:55]   ColAndreas Loaded
[08:44:55]    v1.4.0
[08:44:55] *********************
[08:44:55]   Loaded.
[08:44:55]  Loading plugin: FCNPC
[08:44:55] 
[08:44:55] -------------------------------------------------
[08:44:55]      FCNPC - Fully Controllable NPC v1.8.2
[08:44:55]          Windows SA-MP 0.3.7 R2
[08:44:55]           Jan  8 2018 at 01:14:48
[08:44:55] 
[08:44:55]   Author:       OrMisicL (2013 - 2015)
[08:44:55]   Continued by: ziggi (2016 - present)
[08:44:55]   Contributors: kurta999, Neutralneu
[08:44:55] -------------------------------------------------
[08:44:55] 
[08:44:55] Loading...
[08:44:55]   Loaded.
[08:44:55]  Loading plugin: log-plugin
[08:44:55]  >> plugin.log: v0.4 successfully loaded.
[08:44:55]   Loaded.
[08:44:55]  Loading plugin: pawn-memory
[08:44:55] ========================
[08:44:55] = Memory access plugin =
[08:44:55] =       Made by BigETI =
[08:44:55] = Loaded!              =
[08:44:55] ========================
[08:44:55]   Loaded.
[08:44:55]  Loaded 13 plugins.

[08:44:55] 
[08:44:55] Filterscripts
[08:44:55] ---------------
[08:44:55]   Loading filterscript 'SAOI_FileManager.amx'...
[08:44:55]   Unable to load filterscript 'SAOI_FileManager.amx'.
[08:44:55]   Loaded 0 filterscripts.

[08:44:56]  
[08:44:56]  
[08:44:56]  
[08:44:56]  ======================================= 
[08:44:56]  |                                     | 
[08:44:56]  |        YSI version 4.00.0001        | 
[08:44:56]  |        By Alex "Y_Less" Cole        | 
[08:44:56]  |                                     | 
[08:44:56]  ======================================= 
[08:44:56]  
[08:45:08]  
[08:45:08] --------------------------------------
[08:45:08]  Anticheat Nex-AC loaded!
[08:45:08]  Anticheat version: 1.9.20
[08:45:08]  Author: Nexius
[08:45:08] --------------------------------------

[08:45:08] Setting server password to: "133773316996"
[08:45:08] Loading Map.
[08:45:08] Loaded Map.                             
[08:45:08] called 1
[08:45:08] called case 1
[08:45:08] called 1
[08:45:08] [ADM] Info: Load 3DTryg v4.6.1 for SA:MP 0.3.7 by Abyss Morgan
[08:45:08] Number of vehicle models: 38
[08:45:10] [npc:join] Masinis_01 has joined the server (49:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10024)
[08:45:10] [npc:join] Masinis_02 has joined the server (48:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10026)
[08:45:10] [npc:join] Masinis_03 has joined the server (47:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10026)
[08:45:10] [npc:join] Pilot_01 has joined the server (46:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10026)
[08:45:10] [npc:join] Pilot_02 has joined the server (45:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10026)
[08:45:10] [npc:join] Pilot_03 has joined the server (44:127.0.0.1)
[08:45:10] [sampgdk:warning] Index mismatch for OnPlayerClientGameInit (-10015 != -10026)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:10] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
[08:45:11] [sampgdk:warning] Index mismatch for FCNPC_OnUpdate (-10002 != -10004)
What is wrong?I'm using the latest version,it works fine on linux but not in my windows.
Server Version: 0.3.7 R2-1
I think what problem is in the DriftPointsCounter plugin. Try to build the plugin with the newest version of sampgdk.
ZiGGi is offline   Reply With Quote
Old 01/05/2018, 02:22 PM   #3559
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,436
Reputation: 102
Default Re: FCNPC - Fully Controllable NPC

Hello, the sample "missions" filterscript doesn't compile in the last version:

For example, line 960:
Code:
public EndMission(missionid, reason[], bool:success)
{
	if (missionid == INVALID_MISSION)
	{
		return;
	}
	KillTimer(missiontimer[missionid]);
	FreeCamera(mission);
[...]
Has to be changed to:
Code:
public EndMission(missionid, reason[], bool:success)
{
	if (missionid == INVALID_MISSION)
	{
		return;
	}
	KillTimer(missiontimer[missionid]);
	FreeCamera(missionid);
[...]
And line 1231:
Code:
	else if (Mission[mission][level] - 1 == 4)
	{
		FreeCamera(missionid);
		for (new i = 0; i < MAX_MISSION_PLAYERS; i++)
		{
			SetCameraBehindPlayer(Mission[mission][players][i]);
			TogglePlayerControllable(Mission[mission][players][i], 1);
			GameTextForPlayer(Mission[mission][players][i], "~r~Kill them all !", 3500, 4);
		}
Has to be changed to:
Code:
	else if (Mission[mission][level] - 1 == 4)
	{
		FreeCamera(mission);
		for (new i = 0; i < MAX_MISSION_PLAYERS; i++)
		{
			SetCameraBehindPlayer(Mission[mission][players][i]);
			TogglePlayerControllable(Mission[mission][players][i], 1);
			GameTextForPlayer(Mission[mission][players][i], "~r~Kill them all !", 3500, 4);
		}
I posted on the Issues section on GitHub
Sasino97 is offline   Reply With Quote
Old 01/05/2018, 03:09 PM   #3560
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 592
Reputation: 239
Default Re: FCNPC - Fully Controllable NPC

Line 960 fixed.
I checked line 1231, but the supposedly missionid parameter was already mission.
__________________
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.


[Include] FCNPC A.I. - [Tutorial] Speedometer - [WIP] Single-player-like co-op mission - [Other] List of all my work
Freaksken 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 06:28 PM.


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