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

Dota 2 Dedicated Servers


Post New Thread Reply   
 
Thread Tools Display Modes
CyberStars
Senior Member
Join Date: May 2013
Old 06-12-2014 , 02:28   Re: Dota 2 Dedicated Servers
Reply With Quote #111

Quote:
Originally Posted by _DEMON View Post
It's true! I want to make a delay or cancel the command jointeam spec and make came on SourceTV
To prevent players from using command "jointeam", you need Sourcemod plug-in with following:
Code:
public OnPluginStart()
{
     AddCommandListener(ComCallback, "jointeam");
}

public Action:ComCallback(client, const String:command[], argc)
{
	return Plugin_Handled;
}

For SourceTV take a look at SourceTV for Dota 2

Last edited by CyberStars; 06-12-2014 at 04:36. Reason: Code correcting
CyberStars is offline
_DEMON
Member
Join Date: Apr 2014
Old 06-12-2014 , 03:52   Re: Dota 2 Dedicated Servers
Reply With Quote #112

Quote:
Originally Posted by CyberStars View Post
To prevent players from using command "jointeam", you need Sourcemod plug-in with following:
Code:
public OnPluginStart()
{
     AddCommandListener(ComCallback, "jointeam");
}

public Action:CommandCallback(client, const String:command[], argc)
{
	return Plugin_Handled;
}

For SourceTV take a look at SourceTV for Dota 2
Ie write AddCommandListener (ComCallback, "jointeam spec"); ?

Skype is? throw in PM

Last edited by _DEMON; 06-12-2014 at 03:56.
_DEMON is offline
_DEMON
Member
Join Date: Apr 2014
Old 06-12-2014 , 04:28   Re: Dota 2 Dedicated Servers
Reply With Quote #113

Quote:
Originally Posted by CyberStars View Post
To prevent players from using command "jointeam", you need Sourcemod plug-in with following:
Code:
public OnPluginStart()
{
     AddCommandListener(ComCallback, "jointeam");
}

public Action:CommandCallback(client, const String:command[], argc)
{
	return Plugin_Handled;
}

For SourceTV take a look at SourceTV for Dota 2
/groups/sourcemod/upload_tmp/text3NDjJV.sp(4) : error 017: undefined symbol "ComCallback"
_DEMON is offline
CyberStars
Senior Member
Join Date: May 2013
Old 06-12-2014 , 04:36   Re: Dota 2 Dedicated Servers
Reply With Quote #114

Quote:
Originally Posted by _DEMON View Post
/groups/sourcemod/upload_tmp/text3NDjJV.sp(4) : error 017: undefined symbol "ComCallback"
Sorry, my previous post has been changed )
CyberStars is offline
mrelfire
Member
Join Date: May 2010
Old 06-14-2014 , 08:22   Re: Dota 2 Dedicated Servers
Reply With Quote #115

I am under windows, with metamod working I have an "exit"
the debug log is :

PHP Code:
[D2FixupsWarningFailed to setup Test Client shutdown patch.
Unable to load #included script scripts/talker/response_rules_techies.txt
(token -1) : Discarded rule because of invalid criterion isallytechies
(token -1) : Discarded rule because of invalid criterion isallytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
(token -1) : Discarded rule because of invalid criterion isallytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
(token -1) : Discarded rule because of invalid criterion isenemytechies
Unknown command 
"mat_bloom_scalefactor_scalar"
Unknown command "mat_grain_enable"
Unknown command "dota_camera_listening_offset"
CSoundEmitterSystem:  Registered 1267 sounds 
in fact if I not put any map it doesn't crash => loading a map make the server stopping ;)

any ideas please ?

Last edited by mrelfire; 06-14-2014 at 11:22.
mrelfire is offline
DragonbornEngineer
Junior Member
Join Date: Mar 2013
Old 06-14-2014 , 09:42   Re: Dota 2 Dedicated Servers
Reply With Quote #116

How do I start a server with a gamemode addon? What addon that works with the current server build?
DragonbornEngineer is offline
mrelfire
Member
Join Date: May 2010
Old 06-14-2014 , 09:44   Re: Dota 2 Dedicated Servers
Reply With Quote #117

Quote:
Originally Posted by DragonbornEngineer View Post
How do I start a server with a gamemode addon? What addon that works with the current server build?
is your server working without ?
if yes, put it in the addons folder your preferd addons for dota2

Last edited by mrelfire; 06-14-2014 at 09:44.
mrelfire is offline
shmishleniy
Junior Member
Join Date: Jun 2014
Location: Ukraine
Old 06-15-2014 , 10:17   Re: Dota 2 Dedicated Servers
Reply With Quote #118

Hi! Can I start server that will wait for list of the players specified by STEAMID?
For example:
STEAM_0:1:1234567 - good
STEAM_0:1:1234568 - good
STEAM_0:1:1234569 - bad
STEAM_0:1:1234570 - bad

Or I have to write some sourcemod plugin myself?
shmishleniy is offline
_kaaarl_
New Member
Join Date: Jun 2014
Old 06-15-2014 , 15:27   Re: Dota 2 Dedicated Servers
Reply With Quote #119

My server crashes when i join and i get this message:

Engine Error:
Failed to execute script: ...2
beta\dota\scripts\vscripts\addon_init.lua:18: attempt to index
upvalue 'mt'(a nil value)

addon_init:

function Dynamic_Wrap( mt, name )
if Convars:GetFloat( 'developer' ) == 1 then
local function w(...) return mt[name](...) end
return w
else
return mt[name]
end
end


The third line is the 18. line
_kaaarl_ is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-16-2014 , 14:48   Re: Dota 2 Dedicated Servers
Reply With Quote #120

Quote:
Originally Posted by shmishleniy View Post
Hi! Can I start server that will wait for list of the players specified by STEAMID?
For example:
STEAM_0:1:1234567 - good
STEAM_0:1:1234568 - good
STEAM_0:1:1234569 - bad
STEAM_0:1:1234570 - bad

Or I have to write some sourcemod plugin myself?
That functionality would normally be provided by matchmaking lobbies which are not available with unofficial servers. You would have to create a plugin to replicate that functionality. (It is possible.)
psychonic is offline
Reply


Thread Tools
Display Modes

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 04:52.


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