Raised This Month: $ Target: $400
 0% 

Some questions (srcds and l4d2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dimon222
Member
Join Date: Jun 2010
Location: Hell
Old 08-31-2010 , 15:58   Some questions (srcds and l4d2)
Reply With Quote #1

When i start server with console - my SM/MM don't load , and i can't join server. Is there any fix? I use last snapshot.
When i start server with gui - all works fine, but i wan't get to work autorestart with bat file.
How to start server automaticly with gui? If i just delete "-console", it loads this.
But i want to pass clicking "Start server"

__________________
dimon222 is offline
Send a message via ICQ to dimon222 Send a message via MSN to dimon222 Send a message via Skype™ to dimon222
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-31-2010 , 18:21   Re: Some questions (srcds and l4d2)
Reply With Quote #2

Show inside your bat file.
__________________
Do not Private Message @me
Bacardi is offline
dimon222
Member
Join Date: Jun 2010
Location: Hell
Old 09-01-2010 , 09:10   Re: Some questions (srcds and l4d2)
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
Show inside your bat file.
Quote:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game left4dead2 -map c4m1_milltown_a +maxplayers 24 -port 27015
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
__________________
dimon222 is offline
Send a message via ICQ to dimon222 Send a message via MSN to dimon222 Send a message via Skype™ to dimon222
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-01-2010 , 13:49   Re: Some questions (srcds and l4d2)
Reply With Quote #4

Do you run MMS using ...addons/metamod.vdf -file ?
http://www.sourcemm.net/vdf

Do you play game and host server (srcds) same time on same computer ?
Remove -port 27015 from your launch parameters and try join your server now what happens...
Bacardi is offline
omgitsme
Veteran Member
Join Date: Mar 2010
Old 09-01-2010 , 14:05   Re: Some questions (srcds and l4d2)
Reply With Quote #5

can i make a suggestion. if you play l4d2 on the same computer as when your server is. i suggest you use 27016 port. because sometimes you get errors when running the server on port 27015 and playing l4d2, either l4d2 will shut down, or the server
__________________
omgitsme is offline
Send a message via Skype™ to omgitsme
dimon222
Member
Join Date: Jun 2010
Location: Hell
Old 09-01-2010 , 15:15   Re: Some questions (srcds and l4d2)
Reply With Quote #6

Quote:
Originally Posted by Bacardi View Post
Do you run MMS using ...addons/metamod.vdf -file ?
http://www.sourcemm.net/vdf
ehm, yes
Quote:
Originally Posted by Bacardi View Post
Do you play game and host server (srcds) same time on same computer ?
yes, also i don't see server in lan tab ("openserverbrowser") if i run server with console (without gui)
Quote:
Originally Posted by Bacardi View Post
Remove -port 27015 from your launch parameters and try join your server now what happens...
Tried, still no response
Quote:
Originally Posted by omgitsme View Post
can i make a suggestion. if you play l4d2 on the same computer as when your server is. i suggest you use 27016 port. because sometimes you get errors when running the server on port 27015 and playing l4d2, either l4d2 will shut down, or the server
Thx, will use it when i get to work console version of srcds.

// Problem fixed
// I need just change map O_O and then mm/sm loaded succesfully and i can join game
// Seems need to add -map param to config, and don't use it in bat

// Also here must be +map, not -map, so, there's problem because server don't start any map...
// Fully solved, sry guys for wasting time ;)
__________________

Last edited by dimon222; 09-01-2010 at 15:55.
dimon222 is offline
Send a message via ICQ to dimon222 Send a message via MSN to dimon222 Send a message via Skype™ to dimon222
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-02-2010 , 10:49   Re: Some questions (srcds and l4d2)
Reply With Quote #7

Good to know, I haven't thought that there is a difference.
I looked from http://developer.valvesoftware.com/w...d_Line_Options
and there is explanation.

  • 5.1 Command-line parameters
    These parameters what start (-) are harcoded startup commands in srcds.exe, not cvars. Can't use on console when server is running.

  • 5.2 Console variables
    These parameters what start (+) set srcds cvars, like rcon_password, sv_gravity 800 etc. etc. what you find from console.
    Seems there cvars what you can't change during game play, like maxplayers
Bacardi is offline
Reply



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


All times are GMT -4. The time now is 13:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode