.:: 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 ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
DOD WeaponList
Old
  (#1)
Danni
Hackin away!
 
Status: Offline
Posts: 2
Join Date: Oct 2005
Location: Looking over your shoulder.
Default DOD WeaponList - 15-10-2005

I am presently looking at starting an OpenSource DOD Bot project and at the moment I have horrible merge of Blitzbot 2.0 sources and HPB4.0_MM.

It runs, but has some issues with bots joining the game. However at present my issues are with the WeaponList message format. I understand DOD has an addition to the standard format for clip size, but there is no string in the message at all?

e.g. (The first byte should be a string from all the sources i have looked at. Notice weaponid is also borked.)

pfnMessageBegin: edict=442b80c dest=1 type=79
pfnWriteByte: 6
pfnWriteByte: 180
pfnWriteByte: -1
pfnWriteByte: -1
pfnWriteByte: 2
pfnWriteByte: 0
pfnWriteShort: 27
pfnWriteByte: 128
pfnWriteByte: 30
pfnMessageEnd:

pfnMessageBegin: edict=442b80c dest=1 type=79
pfnWriteByte: 4
pfnWriteByte: 18
pfnWriteByte: -1
pfnWriteByte: -1
pfnWriteByte: 1
pfnWriteByte: 0
pfnWriteShort: 28
pfnWriteByte: 64
pfnWriteByte: 6
pfnMessageEnd:

Anyone know whats up? I thourght at first I had the wrong messageID# assigned, so I used the old method of mapping them from regusermsg. I at least know that is not the problem. I cannot find any referance on this format?
  
Reply With Quote
Re: DOD WeaponList
Old
  (#2)
Danni
Hackin away!
 
Status: Offline
Posts: 2
Join Date: Oct 2005
Location: Looking over your shoulder.
Default Re: DOD WeaponList - 15-10-2005

Doh! Just ignore the fact we are missing the string at the beginning... Silly me. Now to find out why they are ingame, but listed as spectators.
  
Reply With Quote
Re: DOD WeaponList
Old
  (#3)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: DOD WeaponList - 20-10-2005

Quote:
Now to find out why they are ingame, but listed as spectators.
try the old FakeClientCommand(pBot,"_firstspawn"); trick, dunno if it will work for DOD though
  
Reply With Quote
Re: DOD WeaponList
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: DOD WeaponList - 21-10-2005

I believe that trick works for DMC only.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: DOD WeaponList
Old
  (#5)
sparky99
Member
 
Status: Offline
Posts: 18
Join Date: Oct 2009
Default Re: DOD WeaponList - 02-10-2012

Did you finnish your DoD bot?

You need to thik of how the bot will get throu the VGUI.

You need to get your bot past the MOTD
Then select a Team
Then select a class

Then he should spawn.
  
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 Off

Forum Jump



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