.:: 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 ::. > Cyborg Factory > RealBot > The RealBot 'Source'
The RealBot 'Source' Discuss things about the source code. You can here point out bugs, share ideas and code. Assign to become an 'official team member' and so on!

Reply
 
Thread Tools
Garbage spit into client consoles.
Old
  (#1)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Garbage spit into client consoles. - 25-06-2004

While I'm playing on my Win32 ded. server, I sometimes get garbage spit into my console. Words like "worldspawn" repeated without spaces or newlines, so my console looks like this sometimes:
Code:
** [RB]Deagle killed [RB]Dualie with headshot frworldspawnworldspawnworldspawnom mp5**
[WC3] dstruct2k gained 24xp for winning the roundworldspawnworldspawnworldspawn
I get other words too, but it's usually worldspawn.
  
Reply With Quote
Re: Garbage spit into client consoles.
Old
  (#2)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Garbage spit into client consoles. - 25-06-2004

lol yeah, those are debug messages from the node machine. It returns what hit the tracehull/line and returns the name of it. Worldspawn is simply 'the world'. I have seen it returning several things:

worldspawn
func_door
func_wall

etc.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Garbage spit into client consoles.
Old
  (#3)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Re: Garbage spit into client consoles. - 25-06-2004

Where in the nodemachine can I turn this off? I've gotten "Reliable channel overflow" messages from this. I run Warcraft3-FT mod, and "special" damage is classified as "worldspawn" so sometimes when I start spraying people I'll get flooded with worldspawnworldspawnworldspawnworldspawn and disconnect.


And how do I turn on reallog.txt?
  
Reply With Quote
Re: Garbage spit into client consoles.
Old
  (#4)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Garbage spit into client consoles. - 25-06-2004

reallog.txt is created everytime you start RB.

you can disable the messages by going into the source and changing the log() line somewhere in cNodeMachine::add()


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Garbage spit into client consoles.
Old
  (#5)
Josh_Borke
Member
 
Status: Offline
Posts: 152
Join Date: Jun 2004
Default Re: Garbage spit into client consoles. - 25-06-2004

methinks #ifdef DEBUG should be implemented...
  
Reply With Quote
Re: Garbage spit into client consoles.
Old
  (#6)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Garbage spit into client consoles. - 25-06-2004

nah;

/me thinks too many people want to use this 'BETA' (ie IN DEVELOPMENT) version as a 'real version'...


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Garbage spit into client consoles.
Old
  (#7)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: Garbage spit into client consoles. - 25-06-2004

well, but a #define in front of every debug_beam or text isnt that much of work ... the problem is then sometimes that you want to test some stuff in release mode, because of performance, and then you have the old prblm again ... another compile config is then needed, that may be a solution .... ( as you saw in the demo of joebotxp, hm, there are still some beams ... )

or you write a function special for debug messages, then you can switch them on and off as you like ... ha, I should do that myself also for the beams ... and then give those functions ID's so I can switch on whatever I want



Last edited by @$3.1415rin; 25-06-2004 at 22:34..
  
Reply With Quote
Re: Garbage spit into client consoles.
Old
  (#8)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Garbage spit into client consoles. - 25-06-2004

Asp, i normally have this debug stuff. There is actually a flag built in, that spits out engine messages and such, like HPB did. Anyway, the source code is under construction every minute, i won't do such changes for others in that case, its not productive in any sense, and most people use official releases anyway


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Garbage spit into client consoles.
Old
  (#9)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: Garbage spit into client consoles. - 26-06-2004

I do that a lot too, and will even forget I have some debug msg in there, until it shows itself again, which of course will only happen WHILE I'm showing someone else the bot!


Dum Spiro Spero


  
Reply With Quote
Re: Garbage spit into client consoles.
Old
  (#10)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Garbage spit into client consoles. - 26-06-2004

what about this one:
Code:
#ifdef _DEBUG
void debuglog(char *txt);
#else
#define debuglog(txt) ((void)0)
#endif
btw, I have changed the "log" to "debuglog" since I don't think using the name "log()" is good. Because that name is already used in maths function.
  
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