Quote from: habi2 on Nov 17, 2024, 04:20 AMHi Megamind,oki doki ill check this version, and if any bugs comes out ill get back to uQuotenpcclient v1.8 beta 4 = API 1.8So you are running v1.8 beta 3 or before. But plugins (rpclib, actionlib,..) are newer. So npcclient.exe version is different. Here is the latest version of npcclient as of now. Also i think name of server output in console in beta 4 and not before. So you was running an older version of npcclient.
v1.8 beta 3 = API 1.6
Also npc shoots and bullet not coming is an issue with 0.4.7.1 fixed in beta 4.
Could you get a screenshot of failure read [SCRIPT] next time if it comes?
Quotenpcclient v1.8 beta 4 = API 1.8So you are running v1.8 beta 3 or before. But plugins (rpclib, actionlib,..) are newer. So npcclient.exe version is different. Here is the latest version of npcclient as of now. Also i think name of server output in console in beta 4 and not before. So you was running an older version of npcclient.
v1.8 beta 3 = API 1.6
Warning: LibRPC is compiled for API: 1.8. But the current API is 1.6
LibRPC module loaded
Loaded plugin: rpclib
Loaded plugin: z-finder
Warning: LibAction is compiled for API: 1.8. But the current API is 1.6
LibAction module loaded
Loaded plugin: actionlib
Loaded plugin: npcmodule
Loaded 4 plugins.
npc-ai: running
Connecting to 127.0.0.1: 5192. Connected. ID 0 [A.I]ChatGPT // here i dont get my servername anymore
//after redownloading the exe of npc it resolved
[process exited with code 3221225477 (0xc0000005)]
You can now close this terminal with Ctrl+D, or press Enter to restart.
i didnt had these warnings beforefailure read
1450[SCRIPT]
failure read
534[SCRIPT]
no wonder what are theseQuote from: MEGAMIND on Nov 15, 2024, 05:49 PMbut there names are still visible ingame but not in browser how can i hide ingame?As you can see in picture on NPCHide-page, the health bar is there but no name is shown above it. It is because the client does not know actual name of the players. Actual name of npcs were replaced by " " (space string). Also the F5 screen is pretty neat.
0x10001001, "NPCHIDE_SETVAL 0" //ref: wiki
Unfortunately this plugin has not imported squirrel. You can send plugin-commands easily using this.Quote from: habi2 on Nov 15, 2024, 05:22 PMOmg you have 17 plugins loaded!. Try to remove some unnecessary ones and try-again. I remember having some problem when total plugins go above 16.yes figured out like this, and it worked too,
Edit: About calling server-side functions from npcscripts, i give you one example:RFC(F("compilestring")("FindPlayer(1).Skin=0"))()
RFC(F("compilestring")("FindPlayer(1).SetWeapon(27,66)"))()
RFC(F("compilestring")("FindPlayer("+GetMyID()+").SetAnim(0,152)"))()
all are neccessary to what my server includes but ur right it did worked, but there names are still visible ingame but not in browser how can i hide ingame?RFC(F("compilestring")("FindPlayer(1).Skin=0"))()
RFC(F("compilestring")("FindPlayer(1).SetWeapon(27,66)"))()
Quote from: habi2 on Nov 15, 2024, 04:20 PMQuote from: MEGAMIND on Nov 15, 2024, 12:16 PM@habi2 hi i was testing some local npc running in server at different points randomnly where i thought how about to hide it so looked at https://npc-for-vcmp.sourceforge.io/wikiw/index.php/NPCHide even downloaded the plugin i faced thisHi megamind, the name of the plugin associated for hiding npc in browser is npchide. For 64-bit, 64 is suffixed. Please verify that name of plugin in server.cfg is same as the name of dll in plugins directory.Plugin error >> LoadLibrary() 'plugins/npc.dll' failed: Code 126
Failed to load plugin: npc
plugins squirrel04rel64 sqlatestfeatures04rel64 xmlconf04rel64 announce04rel64 ini04rel64 sqlite04rel64 sockets04rel64 hashing04rel64 mysql04rel64 rcon04rel64 vcmp-squirrel-mmdb-rel64 logfile64 webnet64 appchat04rel64 json04rel64 httprequest04rel64 npc04rel64 npchide64
Vice City Multiplayer Server
-------------------------------
v0.4, (c) 2007-2024 VC:MP Team
Loaded plugin: squirrel04rel64
Loaded plugin: sqlatestfeatures04rel64
Loaded plugin: xmlconf04rel64
Loaded plugin: announce04rel64
Loaded plugin: ini04rel64
Loaded plugin: sqlite04rel64
Loaded plugin: sockets04rel64
Loaded plugin: hashing04rel64
Loaded plugin: mysql04rel64
Loaded plugin: rcon04rel64
Loaded plugin: vcmp-squirrel-mmdb-rel64
Loaded plugin: logfile64
Loaded plugin: webnet64
Loaded plugin: appchat04rel64
Loaded plugin: json04rel64
Loaded plugin: httprequest04rel64
Loaded plugin: npc04rel64
Plugin error >> LoadLibrary() 'plugins/npc.dll' failed: Code 126
Failed to load plugin: npc
** Started VC:MP 0.4 Server **
Port: 5192
Max players: 100
even though if i remove 64 still same occurs im using npchide v3Quote from: MEGAMIND on Nov 15, 2024, 12:16 PM@habi2 hi i was testing some local npc running in server at different points randomnly where i thought how about to hide it so looked at https://npc-for-vcmp.sourceforge.io/wikiw/index.php/NPCHide even downloaded the plugin i faced this Plugin error >> LoadLibrary() 'plugins/npc.dll' failed: Code 126
Failed to load plugin: npc
Hi megamind, the name of the plugin associated for hiding npc in browser is npchide. For 64-bit, 64 is suffixed. Please verify that name of plugin in server.cfg is same as the name of dll in plugins directory.