NPC/Bots implementation in VCMP 0.4 Servers

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

Previous topic - Next topic

PSL

Hi Habi, NPC cannot enter the new server version 0.4.7.0
Console: Error server version: 67700. Using REL006 = 67400

habi2

Hi PSL, i will check what can be done.

Ridwan Rz


habi2

Hi Ridwan Rz, it is not yet updated to 0.4.7.

PSL

Hi Habi,What is the current status of NPC plugin updates :)  :)  :)

habi2

#125
Hi PSL, thank you for your interest in npc-plugin. I just reached home today and you can expect the update anytime during the next few days.

Edit: Found  that new server is using protocol version 47 related to 'raknet networking engine'. This protocol, i have no idea.
So next update of plugin might take longer than i expected.

2b2ttianxiu

Use a newer raknet?
(I mean client protocol base network raknet is update?)
(I can help u)

vitovc

new vcmp version is full of bugs, it will take a time before it will be popular to use, so don't hurry with that, just keep improve your server scripts, AI of npc has unlimited potential to code. let habi to relax a bit. he did awesome things to vcmp.
...::: vice city :::...
Useful things for vcmp: Relative position and finding an angle (in 3d), 3d line (like laser)

habi2

#128
Quote from: 2b2ttianxiu on Jul 28, 2024, 11:16 AMUse a newer raknet?
(I mean client protocol base network raknet is update?)
(I can help u)
they are using 'SLikeNet' - a modification of raknet, in new vcmp version.
The windows version of server crashes sometimes when npc connects to it.
And 2b2ttianxiu, thanks for your offer, but i will manage it myself.
 
Quote from: vitovc on Jul 28, 2024, 06:12 PMnew vcmp version is full of bugs, it will take a time before it will be popular to use, so don't hurry with that, just keep improve your server scripts, AI of npc has unlimited potential to code. let habi to relax a bit.
i agree ai of npc has unlimited potential. and I'm relaxing 😌
Quotehe did awesome things to vcmp.
me?  :)

MEGAMIND

Quote from: habi2 on Jul 29, 2024, 01:49 PM
Quote from: 2b2ttianxiu on Jul 28, 2024, 11:16 AMUse a newer raknet?
(I mean client protocol base network raknet is update?)
(I can help u)
they are using 'SLikeNet' - a modification of raknet, in new vcmp version.
The windows version of server crashes sometimes when npc connects to it.
And 2b2ttianxiu, thanks for your offer, but i will manage it myself.
 
Quote from: vitovc on Jul 28, 2024, 06:12 PMnew vcmp version is full of bugs, it will take a time before it will be popular to use, so don't hurry with that, just keep improve your server scripts, AI of npc has unlimited potential to code. let habi to relax a bit.
i agree ai of npc has unlimited potential. and I'm relaxing 😌
Quotehe did awesome things to vcmp.
me?  :)
yeup totaly u 😅  ill msg an idea on discord soon..

vitovc

...::: vice city :::...
Useful things for vcmp: Relative position and finding an angle (in 3d), 3d line (like laser)

Dieciseis

Here now it connects but it stays in spawnscreen position and is invisible

habi2

Quote from: Dieciseis on Aug 07, 2024, 07:13 PMHere now it connects but it stays in spawnscreen position and is invisible
Are you using rel006 or 0.4.7 ?
2. Did you downloaded v1.8 version of npc .?

Dieciseis

It turned out that there was a login system so that it stayed at spawnscreen position.Do I need to ask him to enter the command to solve it?

habi2

yes.
SendCommand("login password");
You can put this in a variety of places

My suggestion is use event OnClientMessage

function OnClientMessage(r,g,b,message)
{ if(message.find("login")!=null)
SendCommand ("login password_of_npc");
}