.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Ideas (http://forums.bots-united.com/forumdisplay.php?f=50)
-   -   Map name in DS console / log? (http://forums.bots-united.com/showthread.php?t=1954)

>BKA< T Wrecks 13-06-2004 12:03

Map name in DS console / log?
 
My friend Robert is running a linux DS. He has his server log all messages into a text file in order to see if there were problems.
However, there's one thing he found quite annoying: At map change, all kinds of events are logged, but there is no way to see to which map the server just changed. So if there are crashes, he can't see on which map they happened to kick the map out of his map cycle if necessary.
Would it be a problem to have the name of each starting map printed into the console? Like "map change to de_example"?

sPlOrYgOn 13-06-2004 12:07

Re: Map name in DS console / log?
 
I don't think that should be added with the bot..
but I think I can make another metamod plugin to do that..

Hardwood 13-06-2004 14:10

Re: Map name in DS console / log?
 
My bad.. thought I was posting on amxmodx site 9_9 Ya.. it's early in the a.m.:(

>BKA< T Wrecks 13-06-2004 15:34

Re: Map name in DS console / log?
 
Ah yes, that's true. Strictly speaking, it has nothing to do with the bot. Would be a nice plugin, though.
OK, maybe this thread should be deleted or moved to the MM plugins forum?

KWo 13-06-2004 17:46

Re: Map name in DS console / log?
 
Quote:

Originally Posted by >BKA< T Wrecks
Would it be a problem to have the name of each starting map printed into the console? Like "map change to de_example"?

I use ClanMod and after ech start map there are printed to log all variable loaded by this plugin (and others for example statsme) and there is printed the map name started, too. Then log file is closed and after is started a new one. Look at my end part of some my log:

L 06/13/2004 - 17:37:18: Server cvar "sv_accelerate" = "5"
L 06/13/2004 - 17:37:18: Server cvar "sv_stopspeed" = "75"
L 06/13/2004 - 17:37:20: Started map "cs_house" (CRC "-16269468")
L 06/13/2004 - 17:37:20: Server cvar "sv_accelerate" = "15"
L 06/13/2004 - 17:37:20: Log file closed

I suppose this should be sufficient. :)

>BKA< T Wrecks 13-06-2004 23:02

Re: Map name in DS console / log?
 
Yes, this IS sufficient. :) It tells the name of the map it changes to, that's all Robert wants for his DS. However, I think ClanMod is a very feature-rich mod (kind of like amx, or is that totalk nonsense?), and if you are using other plugins and don't want to dump them, maybe it's a bit too much to install another plugin with so many features. Well, I'll leave that decision to him . Anyway, it's good to know that there ARE plugins that log the map name (among other things). Thx for the info. =)

sPlOrYgOn 13-06-2004 23:08

Re: Map name in DS console / log?
 
well if he's using amx then maybe an amx plugin should be made...
I don't think it's worth a metamod plugin to just log the map name each new map...

Brainz 14-06-2004 04:30

Re: Map name in DS console / log?
 
surely the easiest way would be to add an 'echo' line in <mapname>.cfg? no C, small, java, or even BBC BASIC* required to do that, just the name of the map, and the 'echo' command.

*I know these last two have little relevance to HL, but I wanted to make a pint.

sPlOrYgOn 14-06-2004 04:33

Re: Map name in DS console / log?
 
uhh and what will run that <mapname>.cfg???
most likely a plugin...
which would require C\C++ or small if it's a amx plugin..

Nova 14-06-2004 12:10

Re: Map name in DS console / log?
 
Quote:

Originally Posted by sPlOrYgOn
uhh and what will run that <mapname>.cfg???
most likely a plugin...
which would require C\C++ or small if it's a amx plugin..

Dont think so complicated guys, just shove it in the autoexec.cfg, and it will be executed after every mapchange / reload. but if

log 1
and mp_logdetail 3

it will be in the standard logfile anyways, as pointed out before

Seb


All times are GMT +2. The time now is 18:47.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.