.:: 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
stefan's new round detection code
Old
  (#1)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default stefan's new round detection code - 24-04-2004

Have you noticed that Stefan Hendriks's New round detection code for CS 1.6 won't work if we use sv_restartround ?

So we may need to check sv_restart and sv_restartround in the StartFrame() function as well
  
Reply With Quote
Re: stefan's new round detection code
Old
  (#2)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: stefan's new round detection code - 24-04-2004

erm, i always use sv_restartround and have no problems?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: stefan's new round detection code
Old
  (#3)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: stefan's new round detection code - 25-04-2004

hmmm....maybe if no players are dead then the HLTV message won't get sent.

I'll test it later, maybe I missed something.
  
Reply With Quote
Re: stefan's new round detection code
Old
  (#4)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: stefan's new round detection code - 25-04-2004

I found this worked reliably for me, with or without bots or players in the game ....
http://forums.bots-united.com/showpo...2&postcount=29


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Re: stefan's new round detection code
Old
  (#5)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: stefan's new round detection code - 26-04-2004

Doooh ! Sorry, I'm using PMTools that day and I didn't see the HLTV network message get sent. It's because of this:

Quote:
SZ_GetSpace: overflow on Player
WARNING: datagram overflowed for Player
There are too many things to print at that time so it overflowed and HLTV message is not printed.

I should test thoroughly before posting next time. Sorry.
  
Reply With Quote
Re: stefan's new round detection code
Old
  (#6)
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: stefan's new round detection code - 26-04-2004

that's why I usually log the output to a text file... in case the message doesn't get sent



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: stefan's new round detection code
Old
  (#7)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: stefan's new round detection code - 26-04-2004

Hehe, i use the HLTV messages And still no problems found so far here Whistler. No problem though, it still is a messy 'fix'.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
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 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com