Raised This Month: $ Target: $400
 0% 

Sourcemod for Dota 2?


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Tetl
Member
Join Date: Nov 2009
Old 03-14-2013 , 00:23   Re: Sourcemod for Dota 2?
#71

And you're looking in (dota 2 beta\dota\cfg) for those?
Are you sure you're running srcds from \dota 2 beta\ ?
Tetl is offline
Aikari Tsero
Junior Member
Join Date: Mar 2013
Old 03-14-2013 , 00:35   Re: Sourcemod for Dota 2?
#72

Yes, and yes.
heres my gameinfo.txt
Code:
"GameInfo"
{
    game    "DOTA 2"
    gamelogo 1
    type multiplayer_only
    nomodels 1
    nohimodel 1
    nocrosshair 0
    GameData        "dota.fgd"
    SupportsDX8 0


    FileSystem
    {
        SteamAppId                570        // This will mount all the GCFs we need (240=CS:S, 220=HL2).
        ToolsAppId                211        // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
        
        //
        // The code that loads this file automatically does a few things here:
        //
        // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
        // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
        //    For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
        // 3. For the first "Game" search path, it adds a search path called "MOD".
        // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
        //

        //
        // Search paths are relative to the base directory, which is where hl2.exe is found.
        //
        // |gameinfo_path| points at the directory where gameinfo.txt is.
        // We always want to mount that directory relative to gameinfo.txt, so
        // people can mount stuff in c:\mymod, and the main game resources are in
        // someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2.
        //
        SearchPaths
        {
            GameBin                |gameinfo_path|addons\metamod\bin
            Game                |gameinfo_path|
            Game                platform
        }
    }
}
My steam.inf
Code:
ClientVersion=472
ServerVersion=468
PatchVersion=40
ProductName=dota
appID=570
My file direcotry structure for addons:
Code:
/steamapps/common/dota 2 beta/dota/addons/metamod
/steamapps/common/dota 2 beta/dota/addons/d2fixups
Aikari Tsero is offline
Tetl
Member
Join Date: Nov 2009
Old 03-14-2013 , 02:04   Re: Sourcemod for Dota 2?
#73

Thanks for the info, looks pretty good. Unless your spacing after "GameBin" is causing problems I don't know what could be wrong.
But several of the cvars in your log don't even exist in dota so if the server's basic configuration is correct such echos should be impossible.
Are you positive you're sending your parameters correctly?
Where did you get your srcds.exe?
Tetl is offline
TsunamiNori
Junior Member
Join Date: Mar 2013
Old 03-14-2013 , 04:11   Re: Sourcemod for Dota 2?
#74

this part:
Quote:
Game |gameinfo_path|
Mine:
Quote:
Game |gameinfo_path|.
that "dot" may causing your problem
TsunamiNori is offline
Send a message via Skype™ to TsunamiNori
Supersuper2
Member
Join Date: Jan 2010
Old 03-14-2013 , 16:34   Re: Sourcemod for Dota 2?
#75

does anybody know how to:
1. Launch "Greeviling" or "Diretide" modes?
2. how to increase team size? (Like to make 10vs10)
Supersuper2 is offline
Aikari Tsero
Junior Member
Join Date: Mar 2013
Old 03-14-2013 , 20:55   Re: Sourcemod for Dota 2?
#76

Quote:
Originally Posted by Tetl View Post
Thanks for the info, looks pretty good. Unless your spacing after "GameBin" is causing problems I don't know what could be wrong.
But several of the cvars in your log don't even exist in dota so if the server's basic configuration is correct such echos should be impossible.
Are you positive you're sending your parameters correctly?
Where did you get your srcds.exe?
srcds.exe is from alien swarm

Quote:
Originally Posted by TsunamiNori View Post
this part:
Code:
 game |gameinfo_path|.
Mine:
Code:
 game |gameinfo_path|
that "dot" may causing your problem
removed it and the spacing, didn't fix it

Quote:
Originally Posted by Supersuper2 View Post
does anybody know how to:
1. Launch "Greeviling" or "Diretide" modes?
2. how to increase team size? (Like to make 10vs10)
you can start greeviling by passing dota_force_gamemode 9 before the map load (make sure you load dota_winter instead of dota). Diretide could be started with dota_force_gamemode 7 with the map dota_diretide_12, but for some reason the timer for the roshan spawn doesnt work (these were both tested with in-client listen servers since I can't get my dedicated to work)
Aikari Tsero is offline
thegameeer
Junior Member
Join Date: Mar 2013
Old 03-14-2013 , 23:06   Re: Sourcemod for Dota 2?
#77

There was an update today and when I started the server it said failed to find srcds fixup function and when load a map it shutsdown o.o
thegameeer is offline
psychonic

BAFFLED
Join Date: May 2008
Old 03-14-2013 , 23:09   Re: Sourcemod for Dota 2?
#78

Quote:
Originally Posted by thegameeer View Post
There was an update today and when I started the server it said failed to find srcds fixup function and when load a map it shutsdown o.o
I have a fix about ready. It will be posted later.
psychonic is offline
TsunamiNori
Junior Member
Join Date: Mar 2013
Old 03-15-2013 , 00:12   Re: Sourcemod for Dota 2?
#79

Quote:
Originally Posted by Aikari Tsero View Post
removed it and the spacing, didn't fix it
i mean u should add that "." after |gameinfo_path| => |gameinfo_path|.


Quote:
Originally Posted by Aikari Tsero View Post
you can start greeviling by passing dota_force_gamemode 9 before the map load (make sure you load dota_winter instead of dota). Diretide could be started with dota_force_gamemode 7 with the map dota_diretide_12, but for some reason the timer for the roshan spawn doesnt work (these were both tested with in-client listen servers since I can't get my dedicated to work)
thanks for that info, but did you know how to set game mode to Mid Only or other?
TsunamiNori is offline
Send a message via Skype™ to TsunamiNori
Terin
Junior Member
Join Date: Mar 2013
Old 03-15-2013 , 00:30   Re: Sourcemod for Dota 2?
#80

Quote:
Originally Posted by TsunamiNori View Post
thanks for that info, but did you know how to set game mode to Mid Only or other?
Here's a list of gamemodes you can get from dota_force_gamemode:

1. All Pick
2. Captain's Mode
3. Random Draft
4. Single Draft
5. All Random
6. Unknown (Looks like it has only a pool of heroes for "new players", and a 3 minute picking time)
7. Diretide
8. Reverse Captain's Mode
9. The Greeviling
10. Tutorial
11. Mid Only
12. Least Played
13. New Player Pool (same as 6 except with 1 minute picking time and non-playable heroes grayed out instead of not visible)

Everything else after 13 shows up as #game_mode_xx, and is just all pick.

Last edited by Terin; 03-15-2013 at 00:31.
Terin is offline
Closed Thread



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 09:28.


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