<see below>... > ALERT( at_console, "Executing dedicated server > config file\n" ); > 04EB5622 push offset string "Executing dedicated server > confi"... (4F76620h) > 04EB5627 push 1 > 04EB5629 call dword 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 push eax > 04EB5636 push offset string "exec %s\n" (4F76614h) > 04EB563B lea ecx,[szCommand] > <== is server.cfg > 04EB5641 push ecx > 04EB5642 call @ILT+13120(_sprintf) (4E33345h) > 04EB5647 add esp,0Ch > SERVER_COMMAND( szCommand ); > <== is server.cfg > 04EB564A lea eax,[szCommand] > 04EB5650 push eax > 04EB5651 call dword 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

