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

Sourcemod for Dota 2?


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Ghost.Hunterzz
Junior Member
Join Date: Jul 2013
Old 07-03-2013 , 05:21   Re: Sourcemod for Dota 2?
#581

Thanks,Tetl !! I didn't tried from another pc except server pc.Can't anyone connect to game from server pc?
Ghost.Hunterzz is offline
ArCaDiON
Junior Member
Join Date: May 2013
Old 07-03-2013 , 05:34   Re: Sourcemod for Dota 2?
#582

i can join my server from host pc , try command "connect localhost" in the console
ArCaDiON is offline
Ghost.Hunterzz
Junior Member
Join Date: Jul 2013
Old 07-03-2013 , 07:00   Re: Sourcemod for Dota 2?
#583

Quote:
Originally Posted by ArCaDiON View Post
i can join my server from host pc , try command "connect localhost" in the console
can't join from host pc.its showing
Quote:
] connect localhost
NotifyClientSignon: 1
139.663: Sending UDP connect to public IP 127.0.0.1:27015
145.674: Sending UDP connect to public IP 127.0.0.1:27015
151.690: Sending UDP connect to public IP 127.0.0.1:27015
157.723: Sending UDP connect to public IP 127.0.0.1:27015
163.741: Sending UDP connect to public IP 127.0.0.1:27015
169.746: Sending UDP connect to public IP 127.0.0.1:27015
175.761: Sending UDP connect to public IP 127.0.0.1:27015
181.770: Sending UDP connect to public IP 127.0.0.1:27015
187.777: Sending UDP connect to public IP 127.0.0.1:27015
193.807: Sending UDP connect to public IP 127.0.0.1:27015

Disconnect: Unable to establish connection to the server.

NotifyClientSignon: 0
i'm using this command for server -console -game dota -port 27015 +map dota +maxplayers 10 -ip 10.220.52.2
Ghost.Hunterzz is offline
ArCaDiON
Junior Member
Join Date: May 2013
Old 07-03-2013 , 07:04   Re: Sourcemod for Dota 2?
#584

My server command is -console -game dota +maxplayers 10 +map dota
try this one
ArCaDiON is offline
Ghost.Hunterzz
Junior Member
Join Date: Jul 2013
Old 07-03-2013 , 07:16   Re: Sourcemod for Dota 2?
#585

Thanks ArCadiON now i can connect from host pc by giving server without -ip xx.xx.xx.xx command
Ghost.Hunterzz is offline
AlphaRage
Junior Member
Join Date: Jul 2013
Old 07-10-2013 , 06:08   Re: Sourcemod for Dota 2?
#586

Hey fellow modders and everybody in the forums.

I read some of the pages in this thread and got the server up. Thanks to Matheus28.
Now there are still some questions left over and I am sure someone can answer them.

I have created additional files to edit some heroes here: (...\dotaserver\dota\scripts\npc). They will work on offline bots if I launch DotA 2 with -override_vpk. How can I make the server also using these files?

And I would like to know how to have a server config running. I would like to turn sv_cheats on for example or execute other commands with the launch of the server. I know this is possible but I don't know how.

Thank you!
AlphaRage is offline
Vulcanit3
New Member
Join Date: Apr 2013
Old 07-10-2013 , 09:13   Re: Sourcemod for Dota 2?
#587

Hey guys, I apologize if this is a really noob question. My server is running nicely (MM and D2Fixups), the only problem i have, is when I run "map dota", it says:
"exec: couldn't exec server.cfg"
I don't have this server file, and I don't know where it comes from (I saw mention of it earlier in the posts)
If someone could let me know where it comes from/how to get it/what it does, that would be amazing

Thanks for the great work
Vulcanit3 is offline
Vulcanit3
New Member
Join Date: Apr 2013
Old 07-10-2013 , 09:20   Re: Sourcemod for Dota 2?
#588

Once you get a server running, add the line "sv_cheats 1"
There are many useful commands, these are some of the ones i know of as important
"map dota" Creates the actual game in the server
"ip:127.0.0.0" Sets the IP of the server (that is localhost)
"port:27015" Sets the port of the server (default dota2 port is 27015)
"max_players 10" Sets the max amount of players for the server
"dota_force_gamemode 1" Sets the gamemode (1 is AP, there is a list somewhere for this)
"sv_lan 1" Sets the server to lanmode (Turns off Heartbeat and a whole lot of steam auth stuff)

I'm new to this stuff though, so don't my word as gospel
Vulcanit3 is offline
Tetl
Member
Join Date: Nov 2009
Old 07-10-2013 , 12:27   Re: Sourcemod for Dota 2?
#589

Quote:
Originally Posted by AlphaRage View Post
Hey fellow modders and everybody in the forums.

I read some of the pages in this thread and got the server up. Thanks to Matheus28.
Now there are still some questions left over and I am sure someone can answer them.

I have created additional files to edit some heroes here: (...\dotaserver\dota\scripts\npc). They will work on offline bots if I launch DotA 2 with -override_vpk. How can I make the server also using these files?

And I would like to know how to have a server config running. I would like to turn sv_cheats on for example or execute other commands with the launch of the server. I know this is possible but I don't know how.

Thank you!
This and the post below it
https://forums.alliedmods.net/showth...57#post1907757
Tetl is offline
AlphaRage
Junior Member
Join Date: Jul 2013
Old 07-10-2013 , 18:42   Re: Sourcemod for Dota 2?
#590

Quote:
Originally Posted by Tetl View Post
Our SRCDS does not support --override_vpk. GCFScape etc. does not yet support convenient editing of VPKs, so we had to do that using the VPK.EXE utility. This program seems strange when it comes to paths. I found mine in Alien Swarm/bin. I'm not really sure, but it seems if you try to give it a full directory path, it'll add that PATH to the VPK. That may or may not make sense, but hopefully this example is enough:

D:\Program Files\Steam\steamapps\common\dota 2 beta\dota\> "D:\Program Files\Steam\steamapps\common\alien swarm\bin\vpk.exe" -M -v a pak01 scripts\npc\npc_abilities.txt
I cannot get this to work. I downloaded the L4D2 Authority Tools where VPK.exe is included. After that I copied VPK.exe and both necessary *.dll files to my dotaserver directory
(...dotaserver\dota). With npc_abilites.txt being in the right directory I made a link to VPK.exe using these paramters:
G:\dotaserver\dota\vpk.exe a pak01 @G:\dotaserver\dota\scripts\npc\npc_abilities .txt
However it will only return "CComandLine::AddArgument: exceeded 256 parameters. Any workaround?

Quote:
Originally Posted by Terin View Post
An easier method, for me at least, is to just extract all the files from the VPKs for Dota 2, put them in ...\Steam\steamapps\common\dota 2 beta\dota\ directory, and just move the VPK files to a temporary directory. The files you extracted will then be the only files that srcds can see, and it'll obey whatever edits you want to make.
This does not work. It gives me tons of various errors when trying to start the server.

Last edited by AlphaRage; 07-10-2013 at 18:44.
AlphaRage 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 06:05.


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