![]() |
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"? |
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.. |
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.:(
|
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? |
Re: Map name in DS console / log?
Quote:
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. :) |
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. =)
|
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... |
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. |
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.. |
Re: Map name in DS console / log?
Quote:
log 1 and mp_logdetail 3 it will be in the standard logfile anyways, as pointed out before Seb |
Re: Map name in DS console / log?
Quote:
<mapname> is the name of the map .bsp: eg de_dust, dod_avalanche, hi_aurora. The server runs that automatically, as the very last action on changing map. Make it the last line in the file, and then, just as the map finishes loading, the mapname will print to console. |
Re: Map name in DS console / log?
Have mercy with me! I'm just a totally helpless n00b who's never set up a dedicated server...
WHERE and IN WHICH FILE do I have to add WHICH EXACT LINE ? Keep it simple, guys... I don't know jack shit about DS. ;) |
Re: Map name in DS console / log?
What did You do with my PM about this topic? :D
OK , once again. If You have a shortcut at Your desktop to the game cstrike (for client or listenserver), just copy this shortcut and paste at the desktop and rename it to HLDS, for example. Then open properties (by mouse right-click) of this new shortcut and change the command line, for example this: [path]\hl.exe -noipx -console 1 -game cstrike to this: [path]\hlds.exe -noipx -nomaster -console 1 -game cstrike +maxplayers 16 +sv_lan 1 +map de_dust2 You can change the start map or maxplayers - if You want. This sv_lan 1 You have to use if You create a LAN DS. After this You have to prepare Your server.cfg file. Here You have an example: ================= hostname "T Wrecks CS Ded. Server" sv_allowdownload 1 sv_allowupload 1 sv_aim 0 sv_lan 1 sv_cheats 0 motd //important - change the following line!!! rcon_password "your_password_here" pb removebots mp_logmessages 1 mp_logdetails 3 log on ================= This should be sufficient to start dedicated server. If You have to be an admin from some remote client computer, You have to type this line in the console of this client computer: rcon_password "the_same_password_like_in_server.cfg_file" Then You can check if all is OK by typing in client computer's console for example: rcon changelevel cs_militia If You want to close remotely You DS , just type in client computer console: rcon exit To close the HLDS directly on DS computer type in DS computer console: exit I hope this at begining should be sufficient to start Your DS experience. Write here if You have some problems. :) |
All times are GMT +2. The time now is 16:43. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.