NPC/Bots implementation in VCMP 0.4 Servers

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

Previous topic - Next topic

PSL

Hi Habi, I did what you told me to do, and I was lucky enough to catch a kick the first time. I hope this was helpful.
Not only armor, increasing health will also result in being kicked, because I set up, after killing people to increase health, NPC health increased from 94 to 100, the NPC was kicked, the increase in health is done in the server onPlayerKill event.
I will try to catch this health increase kicked error, if there is I will change this post.
File link: https://file.io/yomPhPTtRbob

habi

#76
Thank you PSL, i am happy that you were able to record the traffic.
That will contain enough information. I will be working on it soon. thank you again

habi

Oh God, when i closely examined the file, the bug was before my eyes. It took me one minute only to fix it.

Here is a fixed version for you. Please replace the executable with the following one and tell me if the problem is fixed.
npcclient-fix.7z

thank you.

PSL

HI Habi, Thank you very much, I used the version without timer, that is, I originally sent the code to be kicked, after using this did not happen to be kicked, the NPC was never kicked from the beginning to the end, the problem has been fixed.

habi

You're welcome! I'm glad to hear that the issue has been resolved and that the NPC is no longer getting kicked.

habi

#80
NPC v1.7 Beta 3 Released - Changelog

QuoteFixed NPC getting kicked when setting armor/health/weapon from server-side

Download Links:
rel006
Windows:    Windows-installer           binary-zip

Linux x64    Linux x86    source   

rel004
Windows+Linux: binaries 


Release Notes: V1.7 Beta 3 Release Notes

It's not a major release, but the significant bug has been fixed.

habi

#81



Introducing the 'NPC Playback File Editor' - Your Ultimate .REC File Tool!

Dear Community,

We are thrilled to present the 'NPC Playback File Editor,' your essential Windows tool for playback recording files (.rec files). This playback file are usually created by StartRecordingPlayerData. This software lets you effortlessly view, edit, modify, export to Excel, and import .rec files with a simple drag-and-drop feature.

Key Features:

  • View Recordings: Seamlessly view .rec files and gain insights into your recorded data.
  • Edit and Modify: Easily fine-tune and adjust your recordings.
  • Export to Excel: Analyze your data with precision using Excel.
  • Drag and Drop: Simplify your workflow by dragging and dropping .rec files into the editor.
Unlock the full potential of your recorded data with the 'NPC Playback File Editor.'

How to Get Started:

  • Download the 'NPC Playback File Editor' from our
  • Launch the program and start editing, modifying, exporting, and importing your .rec files with ease.

Download now and elevate your .rec file handling!

Best Regards,
habi

PSL

Well done, Habi That'll be can see clearly.

PSL


habi

Thankyou PSL, it was database problem and is now solved.

PSL

Hello, habi. Can you update the save location of the recording file?  I want to save it directly in the npcscripts/recordings folder, so that it can be played back directly, without manually copying the past.

PSL


PSL

This is very nice and just what I needed, thanks to habi, the author of the NPC plugin.I'm looking forward to the next update.

PSL

HI, Habi, When I raced with the recorded car playback, the recorded car always accelerated slower than me in a straight line, even though I was accelerating at full speed while recording, is there a way to solve the problem of slow recording cars.

habi2

#89
Hi PSL thank you for reporting the issue.
This is a video of me racing with npc:
Video
As you can see, the npc car is racing ahead of me at full speed.

Was the server run on your pc or remote computer?