.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > YappA > The Agora
The Agora This is the place to go if you have suggestions, or if you want to participate in Council discussions. Everyone is welcome!

Reply
 
Thread Tools
NTBot
Old
  (#1)
vincentbihler
Member
 
Status: Offline
Posts: 1
Join Date: Mar 2011
Default NTBot - 10-03-2011

Hi everybody !
I'm new here, and the reason of my recent inscription on this forum is because I have a project. I'd love to develop, and be helped, for the NeoTokyo mod for HalfLife2. Well to begin, I'd simply like to do simple bots running around the map, and shooting on the opposite team when seeing... Someone can indicate me in which direction I have to go ?
Thaks a lot !
  
Reply With Quote
Re: NTBot
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: NTBot - 11-03-2011

I don't have experience on anything HL2 related however I think these may be useful:
http://yapb.bots-united.com/files/HPB_bot2_Alpha_1.zip (botman's HPB bot2 Template)
http://rcbot.bots-united.com/
  
Reply With Quote
Re: NTBot
Old
  (#3)
ericvoid
Member
 
Status: Offline
Posts: 3
Join Date: Sep 2011
Default Re: NTBot - 28-09-2011

Hello, people. Like Vincent, I'm also interested to develop a Bot for NeoToko.

But before I would like to thank you for the home page inviting text. That's very friendly and encouraging. And please be patient with my "noobness".

I'm quite sad because people over NT's forum doesn't accept (nor refuse) my inscription. And also, many there are not interested in bots.


Hey Vincent, are you still there? Have you done something up to now?


I want to ask some questions. I read quickly the articles about Bot and AI programming in Source Dev Wiki, but they are too sparse, and there are many things that are still confusing for me.

Bots are implemented as a Plugin for the client side? Or as plugin for server side? Or are they are built in the server?

In CouterStrike Source man menu there is the option "create server". Is it really creating a server?

NeoTokyo does not have that option. If I want to play with bots will I have to setup a local server?

Thank you in advance.
  
Reply With Quote
Re: NTBot
Old
  (#4)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: NTBot - 29-09-2011

Quote:
Bots are implemented as a Plugin for the client side? Or as plugin for server side? Or are they are built in the server?
most (if not all) of the HL1 bots runs at the server side which "hijacks" the communication between the engine and the MOD (with the purpose of adding functionality to the MOD). HL2 may have its own server-side plugin system though (I have zero experience on HL2 so maybe someone else can explain that).

Quote:
In CouterStrike Source man menu there is the option "create server". Is it really creating a server?
yes, other clients can connect to the game.

Quote:
NeoTokyo does not have that option. If I want to play with bots will I have to setup a local server?
I didn't know about this MOD however if it's multiplayer game then I dont think it's needed to run a dedicated server. It's just the text in the menu, which is not important.
  
Reply With Quote
Re: NTBot
Old
  (#5)
ericvoid
Member
 
Status: Offline
Posts: 3
Join Date: Sep 2011
Big Grin Re: NTBot - 30-09-2011

Thanks for the response.

Sory, I was wrong. There is actually a "Create Server" option in NeoTokyo.

Some more questions. If the plugin "hijacks" that communication how can I know what communication to "intercept"?

Bot funcionality is assumed by the engine? (eg. those bot_* commands are defined by the plugin?)
  
Reply With Quote
Re: NTBot
Old
  (#6)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: NTBot - 30-09-2011

for HL1 read the botman's readme.txt file. Don't know about HL2 though.

basically (again for HL1):
pfnStartFrame() for running AI code
pfnClientCommand() for intercepting the command input (and if detected bot commands do the operation)
pfnClientMessage() for intercepting the messages engine sent to client to get information of players
etc.

the commands are defined by the bot itself (as noted above), however engine does provide pfnCreateFakeClient() for MODs to create "fake" clients (aka. bot), which can be used by the plugin as well.
  
Reply With Quote
Re: NTBot
Old
  (#7)
ericvoid
Member
 
Status: Offline
Posts: 3
Join Date: Sep 2011
Default Re: NTBot - 01-10-2011

Hey I have read quickly HPB bot's code. It does not look complex, but I found it very cryptic.

I tried opening it with Visual C++ Express, but looks like it's missing many .h files.

Besides that, I tried guessing some stuff that Sorce Dev Wiki did not explain and I got to an "startable" point. I managed to get Source SDK sample codes, and there is a simple Server Plugin src.

I'm going to study it by myself.

Thank you again and seeya later.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com