AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Plugins (https://forums.alliedmods.net/forumdisplay.php?f=76)
-   -   Dota 2 Fixups (https://forums.alliedmods.net/showthread.php?t=209965)

psychonic 03-04-2013 11:34

Dota 2 Fixups
 
8 Attachment(s)
Dota 2 Fixups is a Metamod:Source plugin that provides some fixes for issues present when attempting to run a Dota 2 server.

It currently provides the following fixes:
  • Fix clients receiving an error message when manually connecting to servers (due to not bringing lobby data with them).
  • Fix third-party dedicated servers shutting down shortly after startup.
  • Fix waiting for players stage being skipped.
  • If custom addon desired, only load that addon's directory. (or dota_local_custom_allow_multiple 1 to keep all, with desired one first).
  • Promote desired custom addon, if any, above other addon search paths so correct addon always loads.
  • Disables auto-exit when server version doesn't exactly match official server versions.
  • Blocks server commands sent from the Game Coordinator backend.
  • Blocks Game Coordinator attempting to turn server into a SourceTV relay.
  • Fixes engine bug where SourceTV is included in bots that get kicked when server hibernates (including on startup). This fix is Windows-only for now.


D2Fixups is now open source under the GPL v2 license. https://github.com/psychonic/d2fixups

Many thanks to DS for adding support for Linux and Mac.

psychonic 03-04-2013 13:30

Re: Dota 2 Fixups
 
It looks like Valve has already broken this on the main client, but it should still work on the test client for now. I'm looking into a fix.

psychonic 03-04-2013 14:05

Re: Dota 2 Fixups
 
Version 1.1 uploaded. It should work both on the main and test clients now. Also, all development cvars are unhidden.

KyleS 03-06-2013 06:53

Re: Dota 2 Fixups
 
Nice Job!

ghostdlr 03-09-2013 15:08

Re: Dota 2 Fixups
 
In what directory should I copy the files?
Is there anything else I have to edit (like a liblist.gam on cs 1.6)?

ghostdlr 03-09-2013 15:23

Re: Dota 2 Fixups
 
I followed the instructions here
http://wiki.alliedmods.net/Installin...ource#GameInfo

In gameinfo.txt I have:
SearchPaths
{
GameBin |gameinfo_path|addons\metamod
Game |gameinfo_path|.
Game platform
}

and I'm stuck at generating that metamod.vdf file ...
Can anyone help ?

MapleRabbit 03-13-2013 12:43

Re: Dota 2 Fixups
 
Is it legal for us to run a server with this plugin?

psychonic 03-13-2013 12:44

Re: Dota 2 Fixups
 
Quote:

Originally Posted by MapleRabbit (Post 1911993)
Is it legal for us to run a server with this plugin?

I am not a lawyer, but I don't see why it wouldn't be.

MapleRabbit 03-13-2013 13:12

Re: Dota 2 Fixups
 
Quote:

Originally Posted by psychonic (Post 1911995)
I am not a lawyer, but I don't see why it wouldn't be.

thank you very much for the reply :D
Im sorry but im a newbie in this
So im a little afraid that using this and metamod when dota 2 is still in beta will be considered as hack or crack or something?
Any specificed materials for me to read like valve's attitude or something?

And thank you for the great work you have done :D

Solace 03-15-2013 09:12

Re: Dota 2 Fixups
 
its not illegal but vac could get a false positive but is highly unlikely. very few cases in the past have that occurred with metamod. ive had it running for 2 weeks and played in mming without any issues.

psychonic 03-15-2013 09:24

Re: Dota 2 Fixups
 
Quote:

Originally Posted by Solace (Post 1913074)
its not illegal but vac could get a false positive but is highly unlikely. very few cases in the past have that occurred with metamod. ive had it running for 2 weeks and played in mming without any issues.

If you copy the files to a separate directory for running the server and don't put MM:S into your Steam client install then VAC is not an issue.

psychonic 03-15-2013 10:51

Re: Dota 2 Fixups
 
New version 1.4 attached to fix the issues after yesterday's game update.

V1.4
  • Fixed lookup for srcds startup patch
  • Removed dev-cvar unlock (hasn't worked anymore since a week ago)
  • Added a new fix for Waiting For Players being skipped.

New cvar dota_wait_for_players_to_load_count has been added, defaulting to 10.

The other existing dota_wait_for_players_to_load* cvars in the game are respected. You may join a team with the jointeam command while waiting for others to join (which will make your name appear ready on the waiting list and go straight to hero selection when appropriate).

http://puu.sh/2i67r/?.png

Supersuper2 03-15-2013 11:30

Re: Dota 2 Fixups
 
psychonic
thank you. But how to change time for waiting players to join. For example if I want to make 3 minutes.

And does it possible to fix Roshan timers on Diretide?

psychonic 03-15-2013 11:32

Re: Dota 2 Fixups
 
Quote:

Originally Posted by Supersuper2 (Post 1913152)
psychonic
thank you. But how to change time for waiting players to join. For example if I want to make 3 minutes.

As hinted above, the game already comes with these two cvars which should work fine:
Code:

"dota_wait_for_players_to_load" = "1" game
 - If set, hero picking will be delayed until all players have loaded
"dota_wait_for_players_to_load_timeout" = "120" game
 - Game will start after this time, even if all players haven't loaded yet

Quote:

Originally Posted by Supersuper2 (Post 1913152)
And does it possible to fix Roshan timers on Diretide?

idk. I probably won't be touching Diretide (nor the Greeviling) in the near future. That doesn't mean that someone else won't look into and find a fix.

Supersuper2 03-15-2013 12:10

Re: Dota 2 Fixups
 
And one more question. Why sv_cheats and forcegamemode in server.cfg does not work?
Server is loading fine, but server can't this commands in server.cfg

psychonic 03-15-2013 12:11

Re: Dota 2 Fixups
 
Quote:

Originally Posted by Supersuper2 (Post 1913175)
And one more question. Why sv_cheats and forcegamemode in server.cfg does not work?
Server is loading fine, but server can't this commands in server.cfg

I don't know. This isn't a thread for general Dota 2 (server) support.

Supersuper2 03-16-2013 08:45

Re: Dota 2 Fixups
 
sorry, fixed

LeoRicK 03-16-2013 11:57

Re: Dota 2 Fixups
 
d2fixups.dll does not work, please help.
Quote:

Filed to find SRCDS fixup function.
Quote:

Originally Posted by l080_080_220_230_27015_201303162055_000
L 03/16/2013 - 20:55:03: Log file started (file "logs\L080_080_220_230_27015_201303162055_000 .log") (game "G:\leonid\DotA_2_Serv\dota 2 beta\dota") (version "5227")
L 03/16/2013 - 20:55:03: server_cvar: "sv_cheats" "0"
L 03/16/2013 - 20:55:04: [META] Failed to load plugin addons/d2fixups/d2fixups: Failed to find SRCDS fixup function.
L 03/16/2013 - 20:55:04: [META] Loaded 0 plugins (1 already loaded)
L 03/16/2013 - 20:55:04: server_message: "quit"
L 03/16/2013 - 20:55:05: Log file closed


psychonic 03-16-2013 11:59

Re: Dota 2 Fixups
 
Quote:

Originally Posted by LeoRicK (Post 1913819)
d2fixups.dll does not work, please help.

Quote:

Originally Posted by psychonic (Post 1913133)
New version 1.4 attached to fix the issues after yesterday's game update.

V1.4
  • Fixed lookup for srcds startup patch
  • Removed dev-cvar unlock (hasn't worked anymore since a week ago)
  • Added a new fix for Waiting For Players being skipped.

New cvar dota_wait_for_players_to_load_count has been added, defaulting to 10.

The other existing dota_wait_for_players_to_load* cvars in the game are respected. You may join a team with the jointeam command while waiting for others to join (which will make your name appear ready on the waiting list and go straight to hero selection when appropriate).


LeoRicK 03-16-2013 12:12

Re: Dota 2 Fixups
 
Can you give me the previous version of this program?

psychonic 03-16-2013 12:13

Re: Dota 2 Fixups
 
Quote:

Originally Posted by LeoRicK (Post 1913834)
Can you give me the previous version of this program?

No. Only the latest version with the latest version of Dota 2 is supported.

LeoRicK 03-16-2013 13:25

Re: Dota 2 Fixups
 
My Dota 2 version 05.03.2013 this version will not work?

psychonic 03-16-2013 13:45

Re: Dota 2 Fixups
 
Quote:

Originally Posted by LeoRicK (Post 1913883)
My Dota 2 version 05.03.2013 this version will not work?

Only the always-up-to-date Steam version is supported. If you're not using it via Steam, leave.

LeoRicK 03-16-2013 17:58

Re: Dota 2 Fixups
 
The problem with d2fixup solved
The next problem in the log:
Code:

L 03/17/2013 - 02:49:36: Log file started (file "logs\L080_080_220_230_27015_201303170249_001.log") (game "g:\leonid\DotA_2_Serv\dota 2 beta\dota") (version "5241")
L 03/17/2013 - 02:49:36: server_cvar: "sv_cheats" "0"
L 03/17/2013 - 02:49:41: [META] Loaded 0 plugins (1 already loaded)
L 03/17/2013 - 02:49:41: server_message: "quit"
L 03/17/2013 - 02:49:41: Log file closed


guru1729 03-17-2013 11:45

Re: Dota 2 Fixups
 
Is the latest version of d2fixups the file attached in the first post or should it be downloaded from somewhere else?

psychonic 03-17-2013 11:46

Re: Dota 2 Fixups
 
Quote:

Originally Posted by guru1729 (Post 1914409)
Is the latest version of d2fixups the file attached in the first post or should it be downloaded from somewhere else?

Yes. The attached file in the first post will always be the latest version.

IIItepSeLb 03-18-2013 02:53

Re: Dota 2 Fixups
 
After fixing the problem:

Code:

L 03/16/2013 - 13:38:48: Log file started (file "logs\L010_254_254_100_27029_201303161338_001.log") (game "D:\Program Files\Steam\steamapps\common\Dota 2 Server\dota") (version "5241")
L 03/16/2013 - 13:38:48: server_cvar: "sv_cheats" "0"
L 03/16/2013 - 13:38:48: [META] Failed to load plugin addons/d2fixups/d2fixups: Failed to find SRCDS fixup function.
L 03/16/2013 - 13:38:48: [META] Loaded 0 plugins (1 already loaded)
L 03/16/2013 - 13:38:48: server_message: "quit"
L 03/16/2013 - 13:38:49: Log file closed

Now there's a new problem:

Code:

L 03/18/2013 - 17:47:26: Log file started (file "logs\L010_254_254_100_27029_201303181747_002.log") (game "D:\Program Files\Steam\steamapps\common\Dota 2 Server\dota") (version "5241")
L 03/18/2013 - 17:47:26: server_cvar: "sv_cheats" "0"
L 03/18/2013 - 17:47:29: [META] Loaded 0 plugins (1 already loaded)
L 03/18/2013 - 17:47:29: server_message: "quit"
L 03/18/2013 - 17:47:29: Log file closed

At the cmd server, there are many errors and the server is turned off. But not recorded in the logs the errors.


Server.cfg:

Code:

hostname "Dota Test Server 1.0"
rcon_password "123"

sv_cheats "1"
dota_ability_debug "1"
sv_lan "0"


log on
sv_rcon_log "1"
sv_logsdir "logs"
sv_log_onefile "0"
sv_logbans "1"
sv_logecho "0"
sv_logfile "1"
sv_logflush "0"

server_log:

Code:

03/14/2013 - 18:12:07: 146.66.155.60:27025 (Lobby 22871063581132626 DOTA_GAMEMODE_AP 0:[U:1:112693869] 1:[U:1:117846278] 2:[U:1:116543813] 3:[U:1:17107814] 4:[U:1:96454346] 5:[U:1:100774104] 6:[U:1:116853072] 7:[U:1:34345633] 8:[U:1:42310354] 9:[U:1:116573354]) (Party 22871063493893004 0:[U:1:34345633] 1:[U:1:42310354] 2:[U:1:116573354])
03/14/2013 - 19:16:53: 146.66.154.39:27027 (Lobby 22871063612085070 DOTA_GAMEMODE_AP 0:[U:1:80531481] 1:[U:1:117846278] 2:[U:1:116543813] 3:[U:1:94083564] 4:[U:1:61887949] 5:[U:1:67115652] 6:[U:1:48386376] 7:[U:1:34345633] 8:[U:1:42310354] 9:[U:1:116573354]) (Party 22871063493893004 0:[U:1:34345633] 1:[U:1:42310354] 2:[U:1:116573354])
03/14/2013 - 19:19:15: 146.66.152.55:27046 (Lobby 22871063613269232 DOTA_GAMEMODE_AP 0:[U:1:34345633] 1:[U:1:42310354] 2:[U:1:116573354] 3:[U:1:117846278] 4:[U:1:116543813] 5:[U:1:91120578] 6:[U:1:58948726] 7:[U:1:84817925] 8:[U:1:110620901] 9:[U:1:72862820]) (Party 22871063493893004 0:[U:1:34345633] 1:[U:1:42310354] 2:[U:1:116573354])
03/14/2013 - 19:21:50: 146.66.153.78:27038 (Lobby 22871063614676032 DOTA_GAMEMODE_AP 0:[U:1:34345633] 1:[U:1:42310354] 2:[U:1:116573354] 3:[U:1:117846278] 4:[U:1:116543813] 5:[U:1:91120578] 6:[U:1:117600132] 7:[U:1:125557703] 8:[U:1:89902256] 9:[U:1:125395956]) (Party 22871063493893004 0:[U:1:34345633] 1:[U:1:42310354] 2:[U:1:116573354])
03/14/2013 - 20:28:35: 146.66.153.118:27036 (Lobby 22871063652188690 DOTA_GAMEMODE_AP 0:[U:1:110559345] 1:[U:1:115231895] 2:[U:1:34345633] 3:[U:1:42310354] 4:[U:1:116573354] 5:[U:1:114045338] 6:[U:1:116581960] 7:[U:1:120023137] 8:[U:1:118194221] 9:[U:1:26980714]) (Party 22871063493893004 0:[U:1:34345633] 1:[U:1:42310354] 2:[U:1:116573354])
03/14/2013 - 22:00:45: 146.66.156.68:27054 (Lobby 22871063715453806 DOTA_GAMEMODE_AP 0:[U:1:93190587] 1:[U:1:38334016] 2:[U:1:115885056] 3:[U:1:118333886] 4:[U:1:75773914] 5:[U:1:34345633] 6:[U:1:116573354] 7:[U:1:42310354] 8:[U:1:112628375] 9:[U:1:117213937]) (Party 22871063493893004 0:[U:1:34345633] 1:[U:1:116573354] 2:[U:1:42310354])
03/14/2013 - 22:50:14: 146.66.155.92:27063 (Lobby 22871063755649866 DOTA_GAMEMODE_AP 0:[U:1:72900636] 1:[U:1:96167164] 2:[U:1:115085957] 3:[U:1:41550852] 4:[U:1:77935628] 5:[U:1:34345633] 6:[U:1:116573354] 7:[U:1:42310354] 8:[U:1:106076513] 9:[U:1:109956953]) (Party 22871063493893004 0:[U:1:34345633] 1:[U:1:116573354] 2:[U:1:42310354])
03/15/2013 - 00:19:52: loopback


LeoRicK 03-18-2013 15:45

Re: Dota 2 Fixups
 
Quote:

Originally Posted by IIItepSeLb (Post 1914856)
After fixing the problem:
At the cmd server, there are many errors and the server is turned off. But not recorded in the logs the errors.

Sorry for my English, I had the same problem, solved the problem by modifying steam.inf as written here: http://api.steampowered.com/IGCVersi.../v1?format=xml
change the line
ClientVersion =
ServerVersion =
What is written in the lines:
<deploy_version> 475 </ deploy_version>
<active_version> 475 </ active_version>

IIItepSeLb 03-18-2013 16:17

Re: Dota 2 Fixups
 
Quote:

Originally Posted by LeoRicK (Post 1915176)
Sorry for my English, I had the same problem, solved the problem by modifying steam.inf as written here: http://api.steampowered.com/IGCVersi.../v1?format=xml
change the line
ClientVersion =
ServerVersion =
What is written in the lines:
<deploy_version> 475 </ deploy_version>
<active_version> 475 </ active_version>

I had previously seen a difference in the versions of the file steam.inf. Is it possible to change the value? The customer value of 473, as well as at the server. Why change?

LeoRicK 03-19-2013 00:10

Re: Dota 2 Fixups
 
Quote:

Originally Posted by IIItepSeLb (Post 1915197)
I had previously seen a difference in the versions of the file steam.inf. Is it possible to change the value? The customer value of 473, as well as at the server. Why change?

Client version, you can leave 473, and the server needs to be changed like this:
http://api.steampowered.com/IGCVersi...мл
I do not know why but the server crashes when you put the value of 473, I Swap the value of all the 475 has to work

Cyborgmatt 03-22-2013 16:28

Re: Dota 2 Fixups
 
481 is now live.

Pruney 03-25-2013 19:29

Re: Dota 2 Fixups
 
Still having an issue with this and I downloaded everything to make sure it was new, checked that all the commands are typed correctly all directories but whenever I launch the srcds it starts, loads a couple of stuff and then just randomly closes off after seeming to load some data.

On the console it also says

exec: couldn't exe server.cfg

I don't have a server.cfg could this be the problem?

Gun koenig 03-27-2013 11:35

Re: Dota 2 Fixups
 
Cout be that the newest version of the Dota 2 test client (481) broke it,
because i got the latest metmod:source snapshot for windows (hg821) and the
latest d2fixup and every time i launch the srcds.exe it closes it self. And if i take a
look into the log file i got this error log:
Code:

L 03/27/2013 - 15:56:35: Log file started (file "logs\L192_168_178_033_27015_201303271556_001.log") (game "C:\dotaserver\dota") (version "5247")
L 03/27/2013 - 15:56:35: [META] Failed to load plugin addons/d2fixups/d2fixups: Failed to find SRCDS fixup function.
L 03/27/2013 - 15:56:35: [META] Loaded 0 plugins (1 already loaded)
L 03/27/2013 - 15:56:35: server_message: "quit"
L 03/27/2013 - 15:56:35: Log file closed


psychonic 03-27-2013 11:51

Re: Dota 2 Fixups
 
Quote:

Originally Posted by Gun koenig (Post 1921255)
Cout be that the newest version of the Dota 2 test client (481) broke it,
because i got the latest metmod:source snapshot for windows (hg821) and the
latest d2fixup and every time i launch the srcds.exe it closes it self. And if i take a
look into the log file i got this error log:
Code:

L 03/27/2013 - 15:56:35: Log file started (file "logs\L192_168_178_033_27015_201303271556_001.log") (game "C:\dotaserver\dota") (version "5247")
L 03/27/2013 - 15:56:35: [META] Failed to load plugin addons/d2fixups/d2fixups: Failed to find SRCDS fixup function.
L 03/27/2013 - 15:56:35: [META] Loaded 0 plugins (1 already loaded)
L 03/27/2013 - 15:56:35: server_message: "quit"
L 03/27/2013 - 15:56:35: Log file closed


While the test client will sometimes work, it isn't supported and can't really be used for actual testing of this stuff. Because they use different compile-time options or compiler version for the test client, almost all of the byte signatures used for D2Fixups and SM will differ.

Rogash 03-29-2013 16:18

Re: Dota 2 Fixups
 
Hi guyz.
I ve tried the chinese versions of this dota 2 lan workaround
translated and tried a lot but I cant get it working. Server not starting for some reason
Could someone plz post a complete guide for this ?
I really need to get it working so I can start some lan tourneys xD

SpiriT_win32 04-04-2013 12:22

Re: Dota 2 Fixups
 
#console initialized
#ConVarRef rr_debugresponses doesn`t point to an existing ConVar
#Could nod get IReplayDirector interfac from library server.dll#Game.dll loaded
for "Dota 2"
Seeded random number generator @ 1046225265 ( 0.215 )
help

psychonic 04-07-2013 01:15

Re: Dota 2 Fixups
 
As a heads up, with the next D2Fixups version (whenever it needs to be updated for another game update), the Dota 2 Spectator Client will no longer work to join servers.

In my opinion, Valve's handling of ownership of the game is done poorly. Everyone owns the game on Steam, but it won't let you do matchmaking with the spectator client. Because of this, anyone can manually connect to a lobby-less server like D2Fixups allows, completely bypassing the matchmaking backend. Therefore, I feel that it's my responsibility to add the restriction manually.

D2Fixups will also become incompatible with a certain Steam emulator (do not mention its name here) that I'm seeing commonly bundled with it. I do not support bypassing Steam nor Steam authentication.

ghostdlr 04-11-2013 07:08

Re: Dota 2 Fixups
 
I want to start picking after one player finished loading but the cvar doesn't work.
dota_wait_for_players_to_load_count 1

I tried adding it as a command line argument when starting the server and as a line in server.cfg . Neither works.

psychonic 04-11-2013 07:13

Re: Dota 2 Fixups
 
Quote:

Originally Posted by ghostdlr (Post 1930650)
I want to start picking after one player finished loading but the cvar doesn't work.
dota_wait_for_players_to_load_count 1

I tried adding it as a command line argument when starting the server and as a line in server.cfg . Neither works.

Like the dota_wait_for_players_to_load cvars already built into the game, and like the game mode cvar, and probably many others, it needs to be set either before the server wakes up from hibernation or before the first player joins (I've only testing by manually setting them right after startup).

I'm guessing, due to the number of complaints about server.cfg "not working", that it gets executed too early or too late for many of the cvars to take effect. You'll just have to find another way.

ghostdlr 04-11-2013 09:44

Re: Dota 2 Fixups
 
Ok, thanks .


All times are GMT -4. The time now is 16:07.

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