Recent posts

#41
Script Showroom / Re: Fishing system!
Last post by Abbas_905 - Mar 03, 2024, 02:54 AM
Nice
#42
Bugs and Crashes / Re: [BUG] input not supported
Last post by ZYTREX - Mar 01, 2024, 05:01 PM
If I delete the patch EXE, then the normal EXE doesn't work with the VCMP.
#43
Community Plugins / Re: NPC/Bots implementation in...
Last post by PSL - Mar 01, 2024, 11:34 AM
Hi Habi, Both of these bugs have been fixed in this new release, which is great. After my update, these two issues have also been fixed. Thank you.
I put the NPC in the vehicle and played it back. After my NPC got out of the car, he stood upright like a corpse, only the coordinates had changed. This was also the case in the previous version. I didn't record the entire server, so maybe that will happen here as well.
#44
Community Plugins / Re: NPC/Bots implementation in...
Last post by habi2 - Feb 29, 2024, 05:55 PM
Hi PSL, i have fixed the two bugs
QuoteFixed Npc not able to enter into ships
Fixed Server crashing when calling ConnectMultipleNpcs.
Now patch1 available for download:

NPC v1.8 Beta - Patch 1 - Updated Files

Released on: 29-02-2024

Downloads
npc_vcmp_rel006_windows_v1.8-beta-p1.zip (Size: 1.00 MB)
npc_vcmp_rel006_linux_x86_v1.8-beta-p1.zip (Size: 3.10 MB)
npc_vcmp_rel006_linux_x64_v1.8-beta-p1.zip (Size: 1.03 MB)
npc_vcmp_rel004_win_lin_v1.8-beta-p1.zip (Size: 2.23 MB)
npcclient-setup-v1.8-beta-p1.exe (Size: 2.19 MB)

source-code
NPC-VCMP-master-v1.8-beta-p1.zip (Size: 10.10 MB)

Note: Please make sure to update to these latest files for an enhanced NPC experience!
#45
Community Plugins / Re: NPC/Bots implementation in...
Last post by PSL - Feb 29, 2024, 07:34 AM
Hi Habi, I add PLAY_IGNORE_VEHICLEID, you will be able to play back normally. thank you.
But I've noticed that NPCS don't seem to be able to get into ships, say with ID 176.
I simply execute ConnectMultipleNpcs("testfile","127.0.0.1",7); , The NPC console does not appear at all, My server simply shut down after executing this code.What's the reason?
#46
Community Plugins / Re: NPC/Bots implementation in...
Last post by habi2 - Feb 29, 2024, 07:07 AM
Quote from: PSL on Feb 18, 2024, 06:06 AMHi Habi. I started recording perfectly fine, generating hrec and some rec files, and when I did ConnectMultipleNpcs, the main console just shut down.
Here is the link to the file: https://file.io/lWGmWVUgd8ea
function onPlayerCommand(player,cmd,text)
{
    if(cmd=="test2")
    {
        ConnectMultipleNpcs("testfile","127.0.0.1",7); // Create a recording file and run this command
    }
}
By main console, i assume that you mean the console of npc which opens up was shutdown. The ConnectMultipleNpcs will connect npcs with same name as those players when hrec file was recorded. So from your file, the npc will have name pq. So if your game-name is also pq, those npcs fail to be connected.
QuoteKicking connecting player at ID 1, name already in use.
#47
Community Plugins / Re: NPC/Bots implementation in...
Last post by habi2 - Feb 28, 2024, 10:04 AM
Hi PSL,
I understand that you create a vehicle with model ID 141 and put npc inside it and using RFC executed the playback recording.
That is correct, field2 is indeed model ID of the vehicle.

Playback type PLAYER_RECORDING_TYPE_ALL checks  whether vehicle.ID is same as that of recfile. This is saved in field1.
You can avoid this vechicleID check by using
StartRecordingPlayback(3,"cartest",PLAY_IGNORE_VEHICLEID)
#48
Community Plugins / Re: NPC/Bots implementation in...
Last post by PSL - Feb 27, 2024, 02:32 PM
Hi Habi, There was an error playing back the recording, and the vehicle stood still.  Error. Vehicle id from rec file different. See flags for overriding.
When I open the rec file, field2 is 141, When the NPC comes back to life, immediately create the vehicle with model ID 141, then put the NPC in the driving position, then execute the recording file with the RFC, and the NPC stays still.
#49
Bugs and Crashes / Re: [BUG] input not supported
Last post by PSL - Feb 25, 2024, 12:37 PM
Delete the module you added.
#50
Bugs and Crashes / [BUG] input not supported
Last post by ZYTREX - Feb 24, 2024, 01:32 PM
When I played GTA Vice City before the mod it did not show the "Input not supported" error but when I installed the mod and the patch, and now it shows this error and I can play, but I can't see the screen it's just a black screen with the text on it

How do I fix it?