Raised This Month: $51 Target: $400
 12% 

Dota 2 Fixups


Post New Thread Reply   
 
Thread Tools Display Modes
psychonic

BAFFLED
Join Date: May 2008
Old 01-11-2014 , 12:49   Re: Dota 2 Fixups
Reply With Quote #121

Version 1.9.2 has been attached to the first post.

Changelog:
  • Block GC message that turns server into a SourceTV relay (occasionally happens at peak times and usually causes server to eventually exit after failing to connect).
  • Further fixes to version check patching.
psychonic is offline
haukgwai
Junior Member
Join Date: Jan 2014
Old 01-11-2014 , 13:39   Re: Dota 2 Fixups
Reply With Quote #122

Is the latest Dota2Fixup preventing other plugins from working, such as Dota vpk override? I've updated my previous dota2fixup with the latest (v1.9.2) and the vpk override seems to have stopped working.
haukgwai is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-11-2014 , 14:09   Re: Dota 2 Fixups
Reply With Quote #123

Quote:
Originally Posted by haukgwai View Post
Is the latest Dota2Fixup preventing other plugins from working, such as Dota vpk override? I've updated my previous dota2fixup with the latest (v1.9.2) and the vpk override seems to have stopped working.
No, but it's possible that that plugin needs an update as well.
psychonic is offline
Wing TvT
Junior Member
Join Date: Oct 2013
Location: China
Old 01-11-2014 , 19:12   Re: Dota 2 Fixups
Reply With Quote #124

Hello, why I try to have repair server, but still is the 57 floor of the error, but the model file, what solutions?
__________________
Are you means " Really ?"
Wing TvT is offline
vbearn
Junior Member
Join Date: Jan 2014
Old 01-14-2014 , 07:40   Running SourceTV
Reply With Quote #125

hi,
i'm a longtime user of sourcemod and has developed a few plugins for my dota2 local servers. (tanX for this great piece of work btw!)

i'm trying to add SourceTV features to my server. this is the steps i took:

1. put these lines in server.cfg

Code:
tv_maxclients 16
tv_name SourceTV123
tv_delay 15
tv_port 27020
tv_enable 1
2. when srcds is up and running, i type this command into console:

Code:
changelevel dota
3. i check sourcetv status via tv_status command (included in picture below)


everything seems fine on the server, but when a client is trying to connect to source tv via command:
Code:
connect 127.0.0.1:27020
i get this error on client:
Code:
118.263:  Sending UDP connect to public IP 192.168.1.52:27020
NotifyClientSignon: 2
Connected to 192.168.1.52:27020

Disconnect: Bad relay password
NotifyClientSignon: 0
there goes a similar error on srcds console window.



can anyone plz help me with this?
Attached Thumbnails
Click image for larger version

Name:	tv.png
Views:	987
Size:	67.1 KB
ID:	129494  

Last edited by vbearn; 01-14-2014 at 07:49.
vbearn is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-14-2014 , 09:19   Re: Running SourceTV
Reply With Quote #126

Quote:
Originally Posted by vbearn View Post
hi,
i'm a longtime user of sourcemod and has developed a few plugins for my dota2 local servers. (tanX for this great piece of work btw!)

i'm trying to add SourceTV features to my server. this is the steps i took:

1. put these lines in server.cfg

Code:
tv_maxclients 16
tv_name SourceTV123
tv_delay 15
tv_port 27020
tv_enable 1
2. when srcds is up and running, i type this command into console:

Code:
changelevel dota
3. i check sourcetv status via tv_status command (included in picture below)


everything seems fine on the server, but when a client is trying to connect to source tv via command:
Code:
connect 127.0.0.1:27020
i get this error on client:
Code:
118.263:  Sending UDP connect to public IP 192.168.1.52:27020
NotifyClientSignon: 2
Connected to 192.168.1.52:27020

Disconnect: Bad relay password
NotifyClientSignon: 0
there goes a similar error on srcds console window.



can anyone plz help me with this?
Try setting tv_secret_code to 0.
psychonic is offline
vbearn
Junior Member
Join Date: Jan 2014
Old 01-14-2014 , 09:51   Re: Running SourceTV
Reply With Quote #127

Quote:
Originally Posted by psychonic View Post
Try setting tv_secret_code to 0.
thank you psychonic! that worked

ohh boooy! where did u read about that parameter?! i've been screwing around with these servers for about 2 weeks, never seen that parameter ...

thank u again...

and by any chance, do you happen to have a workaround for "changelevel dota" command?...
the problem is : it must be typed manually into server after server is up and running,
and if it's put in server.cfg , server crashes... i want it to be automated
vbearn is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-14-2014 , 09:59   Re: Running SourceTV
Reply With Quote #128

Quote:
Originally Posted by vbearn View Post
ohh boooy! where did u read about that parameter?! i've been screwing around with these servers for about 2 weeks, never seen that parameter ...
I typed "find tv_" into console. Not having seen that convar in other games, seeing the error message your clients were getting, assuming that you would know if you had set tv_password, and knowing that Dota handles SourceTV a little differently - it seemed highly plausible.

Quote:
Originally Posted by vbearn View Post
and by any chance, do you happen to have a workaround for "changelevel dota" command?...
the problem is : it must be typed manually into server after server is up and running,
and if it's put in server.cfg , server crashes... i want it to be automated
Dota does not support changelevel. The "map" command should be used, which reinits the whole server. SourceTV will join if tv_enable is set to 1 before the map command (you can do one or both on the command-line, prefixed with +. the order does matter). SourceTV will however exit the server if it hibernates, which it will do by default right after loading the map unless you also have sv_hibernate_when_empty as 0.
psychonic is offline
vbearn
Junior Member
Join Date: Jan 2014
Old 01-14-2014 , 10:16   Re: Running SourceTV
Reply With Quote #129

Quote:
Originally Posted by psychonic View Post
I typed "find tv_" into console. Not having seen that convar in other games, seeing the error message your clients were getting, assuming that you would know if you had set tv_password, and knowing that Dota handles SourceTV a little differently - it seemed highly plausible.
Ahhh... spoken like a true software ENGINEER...

Quote:
Originally Posted by psychonic View Post

Dota does not support changelevel. The "map" command should be used, which reinits the whole server. SourceTV will join if tv_enable is set to 1 before the map command (you can do one or both on the command-line, prefixed with +. the order does matter). SourceTV will however exit the server if it hibernates, which it will do by default right after loading the map unless you also have sv_hibernate_when_empty as 0.
thank you... again... it worked.

i'll be posting a rather complete guide here, for anyone else who has this problem and wants to enjoy SouceTV feautures...

Last edited by vbearn; 01-14-2014 at 10:18.
vbearn is offline
vbearn
Junior Member
Join Date: Jan 2014
Old 01-14-2014 , 10:36   SourceTV for Dota 2
Reply With Quote #130

SourceTV for Dota 2


Here is the guide to enable SourceTV feauture on Dota2 local srcds server. (for instructions to setup dota 2 local servers, see https://github.com/Matheus28/SourceM...a-local-server )

SourceTV's advantages over Spectator Mode:
  • a customizable delay (in seconds) for watchers
  • ability to restrict watcher's chat, voice message, ... with currently playing users
  • record games for later reviews
  • ...

Instructions:

1. Put these lines in your server.cfg file (\dota\cfg\server.cfg)

Code:
sv_hibernate_when_empty 0
tv_maxclients 16 // max source tv clients
tv_name YourSourceTVName
tv_delay 20 // delay in seconds for watching the game
tv_port 27020 // source tv port
tv_autorecord 1 // automatically records every game
tv_secret_code 0
2. Start srcds.exe with these command line arguments (order is important)

Code:
srcds.exe -console -game dota +maxplayers 10 +exec server.cfg +tv_enable 1 +map dota
3. Check tv status by typing this command into server:

Code:
tv_status
4. Connect Dota2 Clients to your server by using:
Code:
connect [serverip]:27020
for those who want a complete introduction to SourceTV, here's a good starting point:
https://developer.valvesoftware.com/wiki/SourceTV
vbearn 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 14:34.


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