RE: [hlcoders] RE: Cbuf_AddText: overflow

2002-01-25 Thread Leon Hartwig

I'll contact you off the list and we can report back here if we find
something that would be interesting for others to know...


> -Original Message-
> From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 25, 2002 10:28 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [hlcoders] RE: Cbuf_AddText: overflow
> 
> 
> Leon,
> 
> nope :) very slciked server.cfg NO autoexec.cfg command line
> -developer 1 +condebug 1 +maxplayers 4 + map test
> 
> no entry in serverconfigfile at all.. I assume if none is
> set the engine (?) will populate the var with server.cfg
> 
> -Ron


<>

RE: [hlcoders] RE: Cbuf_AddText: overflow

2002-01-25 Thread Yacketta, Ronald

Leon,

nope :) very slciked server.cfg NO autoexec.cfg command line
-developer 1 +condebug 1 +maxplayers 4 + map test

no entry in serverconfigfile at all.. I assume if none is
set the engine (?) will populate the var with server.cfg

-Ron


> -Original Message-
> From: Leon Hartwig [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 25, 2002 12:37
> To: [EMAIL PROTECTED]
> Subject: RE: [hlcoders] RE: Cbuf_AddText: overflow
> 
> 
> Yeah, I assumed that's where this was happening.  It's not 
> even exec'ing
> that file, just the simple act of adding "exec server.cfg" 
> (or whatever)
> to the command buffer is too much.  You don't have "servercfgfile" set
> to some insanely long value, do you? :)  Other than that, there has to
> be other stuff jamming the command buffer.  Either something being
> exec'ed in your command line, or something in autoexec.cfg,
> language.cfg, or joystick.cfg...Maybe this is related to the large ban
> file problem some server ops have.  Are you exec'ing any 
> large files in
> your autoexec.cfg?
> 
> 
> 
> > -Original Message-
> > From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 25, 2002 8:14 AM
> > To: [EMAIL PROTECTED]
> > Subject: [hlcoders] RE: Cbuf_AddText: overflow
> > 
> > 
> > 
> > Thats odd, I am not exec'ing anything else... that is a stock
> > multiplayer_gamerules.ccp function call
> > it is the one that exec's the server.cfg or listenserver.cfg 
> > based on if it
> > is a dedicated gameetc...
> > 
> > -Ron
> > 
> > 
> > >Too much unproccessed stuff already in the server's command 
> > buffer? You
> > +exec'ing anything else on the >>command line or anything 
> like that? 
> > > -Original Message- 
> > > From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>] 
> > > Sent: Thursday, January 24, 2002 7:27 PM 
> > > To: [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]> 
> > > Subject: [hlcoders] Cbuf_AddText: overflow 
> > > 
> > > 
> > > I think this error is hidden deep within the engine, could 
> > > someone shed 
> > > some light? 
> > > 
> > > Cbuf_AddText: overflow 
> 
> 
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




RE: [hlcoders] RE: Cbuf_AddText: overflow

2002-01-25 Thread Leon Hartwig

Yeah, I assumed that's where this was happening.  It's not even exec'ing
that file, just the simple act of adding "exec server.cfg" (or whatever)
to the command buffer is too much.  You don't have "servercfgfile" set
to some insanely long value, do you? :)  Other than that, there has to
be other stuff jamming the command buffer.  Either something being
exec'ed in your command line, or something in autoexec.cfg,
language.cfg, or joystick.cfg...Maybe this is related to the large ban
file problem some server ops have.  Are you exec'ing any large files in
your autoexec.cfg?



> -Original Message-
> From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 25, 2002 8:14 AM
> To: [EMAIL PROTECTED]
> Subject: [hlcoders] RE: Cbuf_AddText: overflow
> 
> 
> 
> Thats odd, I am not exec'ing anything else... that is a stock
> multiplayer_gamerules.ccp function call
> it is the one that exec's the server.cfg or listenserver.cfg 
> based on if it
> is a dedicated gameetc...
> 
> -Ron
> 
> 
> >Too much unproccessed stuff already in the server's command 
> buffer? You
> +exec'ing anything else on the >>command line or anything like that? 
> > -Original Message- 
> > From: Yacketta, Ronald [mailto:[EMAIL PROTECTED]
> ] 
> > Sent: Thursday, January 24, 2002 7:27 PM 
> > To: [EMAIL PROTECTED]
>  
> > Subject: [hlcoders] Cbuf_AddText: overflow 
> > 
> > 
> > I think this error is hidden deep within the engine, could 
> > someone shed 
> > some light? 
> > 
> > Cbuf_AddText: overflow 


<>

Re: [hlcoders] RE: Cbuf_AddText: overflow

2002-01-25 Thread botman

...

> ALERT( at_console, "Executing dedicated server
> config file\n" );
> 04EB5622  pushoffset string "Executing dedicated server
> confi"... (4F76620h)
> 04EB5627  push1
> 04EB5629  calldword ptr [g_engfuncs+0F4h (4FA4C04h)]
> 04EB562F  add esp,8
> sprintf( szCommand, "exec %s\n", servercfgfile
> ); <== is server.cfg
> 04EB5632  mov eax,dword ptr [servercfgfile]
> 04EB5635  pusheax
> 04EB5636  pushoffset string "exec %s\n" (4F76614h)
> 04EB563B  lea ecx,[szCommand]
> <== is server.cfg
> 04EB5641  pushecx
> 04EB5642  call@ILT+13120(_sprintf) (4E33345h)
> 04EB5647  add esp,0Ch
> SERVER_COMMAND( szCommand );
> <== is server.cfg
> 04EB564A  lea eax,[szCommand]
> 04EB5650  pusheax
> 04EB5651  calldword ptr [g_engfuncs+9Ch (4FA4BACh)]
> 04EB5657  add esp,4
> < here is where the debugger stops
> }
> }

Looks like you are using sprintf() to create a string to "exec".  Are you
sure you are passing the correct number of paramters to sprintf()?  Your
format string looks like it takes a single string argument, is that what
you're passing in?

You might want to echo the "exec whatever" command to the console instead of
trying to execute it to see what you are sending to the engine.

Jeffrey "botman" Broome

___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders