NPC/Bots implementation in VCMP 0.4 Servers

Started by habi, Apr 01, 2022, 05:37 PM

Previous topic - Next topic

[TDA]Speed

Quote from: MEGAMIND on Apr 09, 2025, 02:04 PM
Quote from: PLAYER on Apr 09, 2025, 01:55 PMI used the Same Structure You Gave me:-
ConnectNPCEx("Bot", Vector(-1375.21, -664.22, 14.1484), 90.0, 1, 26, 255, "shoot.nut", true, "127.0.0.1", "rpclib actionlib");

But its still showing error
Failed loading plugin: rpclib
Failed loading plugin: actionlib
 Loaded 0 plugins


make sure these are linux plugins not the win architecture, also  make sure the plugins are in right path
npcscripts/plugins

i have the same error too though iam using the correct path
home/container/npcscripts/plugins/rpclib64.so

[TDA]Speed

also @habi whenever i use RFC(F from server side to bot script it always crash the server

[TDA]Speed

#197
well habi i guess the plugins is bugged on linux 64 bit plugins of npc not loading and i tested this npc on windows of same version of npc the 0.4.7.1 and working for windows everything okey but on windows RFC from server side crashing the npc
for linux dosnt want to load the plugins of npc in npcscripts

the npc script is shooting anyone shoot near him and using your script of npc.fire
this error i got on npc linux 64 when i shoot him for first time he starting shooting normal and no bugs when i go away script will kill timer of shooting when i back again to shoot him he shot 1 time then timing out

Failed loading plugin: rpclib
Failed loading plugin: z-finder
 Loaded 0 plugins.
Connecting to 127.0.0.1: 8205. Connected. Player 'Ammu-Nation_Man' ID 0 connected.
[SCRIPT] ID: Ammu-Nation_Man has joined the server
ID 0. Vice City Gang Wars. Ammu-Nation_Man
Warning: Cannot update weapon slot for weapon 114
Warning: Cannot update weapon slot for weapon 114
Warning: Cannot update weapon slot for weapon 114
Player 'Ammu-Nation_Man' ID 0 disconnected (timeout).