Jump to content

Solution to fix most Warcraft 3 and Battle.net Problems

Recommended Posts

Dear Community,

I have found the best way, that can help all players, to solve most problems in Warcraft 3, such as disconnections, latency problems, installations, ect...
i will post a source code for each problem, which you can copy, paste into notepad, and save the file as .bat , then run commands as administrator.
i will give you an explanation on how to do it.


EXAMPLE:


5939-copy-pngCOPY THE SOURCE CODE (WITHOUT THE TITLE)
5940-make-a-notepad-file-png RIGHT CLICK ON YOUR DESKTOP, CHOOSE TEXT DOCUMENT
5938-copy-the-source-code-into-notepad-p PASTE THE COPIED SOURCE CODE INTO NOTEPAD
5942-save-as-png CLICK ON FILE, SAVE AS



5945-select-all-files-type-png


5941-name-it-with-bat-at-the-end-png



NOW THE BATCH FILE IS CREATED, YOU CAN FIND IT WHERE YOU SAVED IT AS A CONFIGURATION FILE.

5944-right-click-the-batch-file-and-chooALWAYS RUN AS ADMINISTRATOR
then a command window will popup for a second or 2, then closes. and that would be it, for every source code.



PLEASE NOTE THAT FOR EACH SOURCE CODE, YOU HAVE TO SAVE IT SEPARATELY FROM THE OTHERS. DO NOT COMBINE ALL SOURCE CODES IN 1 BATCH FILE.

 

 

For the ones who are disconnecting from battle.net in games or the ones who cannot connect to battle.net after reinstalling windows or warcraft, there are 3 ports that should be opened in firewall. I divided 3 batch files to open each port, so again, save each source code separately.
 

 

 ECHO OFF
 set PORT=6112
 set RULE_NAME="Open Port %PORT%"
 netsh advfirewall firewall show rule name=%RULE_NAME% >nul
 if not ERRORLEVEL 1 (
 rem Rule %RULE_NAME% already exists.
 echo Hey, you already got a out rule by that name, you cannot put another one in!
 ) else (
 echo Rule %RULE_NAME% does not exist. Creating...
 netsh advfirewall firewall add rule name=%RULE_NAME% dir=in action=allow protocol=TCP localport=%PORT%
 )

 

 ECHO OFF
 set PORT=6113
 set RULE_NAME="Open Port %PORT%"
 netsh advfirewall firewall show rule name=%RULE_NAME% >nul
 if not ERRORLEVEL 1 (
 rem Rule %RULE_NAME% already exists.
 echo Hey, you already got a out rule by that name, you cannot put another one in!
 ) else (
 echo Rule %RULE_NAME% does not exist. Creating...
 netsh advfirewall firewall add rule name=%RULE_NAME% dir=in action=allow protocol=TCP localport=%PORT%
 )

 

 ECHO OFF
 set PORT=6119
 set RULE_NAME="Open Port %PORT%"
 netsh advfirewall firewall show rule name=%RULE_NAME% >nul
 if not ERRORLEVEL 1 (
 rem Rule %RULE_NAME% already exists.
 echo Hey, you already got a out rule by that name, you cannot put another one in!
 ) else (
 echo Rule %RULE_NAME% does not exist. Creating...
 netsh advfirewall firewall add rule name=%RULE_NAME% dir=in action=allow protocol=TCP localport=%PORT%
 )

 

Sometimes, when you install a new patch, you have to allow the program in firewall.

to do this, i have created a batch file for it :

 

@echo OFF
netsh firewall add allowedprogram "C:\WarCraft III\Frozen Throne.exe" cobain enable >nul
netsh firewall add portopening tcp 139 "File And printer Sharing" >nul
netsh firewall add portopening tcp 445 "File And printer Sharing" >nul
netsh firewall add portopening tcp 137 "File And printer Sharing" >nul
netsh firewall add portopening tcp 138 "File And printer Sharing" >nul
netsh firewall add portopening tcp 5900 vnc5900 >nul
netsh firewall add portopening tcp 5800 vnc5800 >nul
Echo. Done....

Now before you make this one, be sure that C:\WarCraft III\Frozen Throne.exe will be different! What you have to do is right click on the tft icon, click properties, and copy the text in target textbox, replace the source code, than save it again.

this should be done for both files, the Frozen Throne and Reign of Chaos

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Members

    • peanutbuddha 16

      Members
      Joined:
      Last active:
    • Buubs -9

      Members
      Joined:
      Last active:
    • Storm- 16

      Members
      Joined:
      Last active:
    • vrz-_- 0

      Members
      Joined:
      Last active:
    • bunek 94

      Moderator
      Joined:
      Last active:
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.