• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Misc] Lan hosting multiple players single PC

Level 4
Joined
Sep 25, 2017
Messages
56
As you all know, kloader has not been working for quite some time, and no new alternative has been proposed. With 1.30 version there is no need anymore for sandboxie to be able to run 2 clients, but trying to join lan from both fails, even using sandboxie. This leaves map testing for multiplayer only possible from older w3 versions or testing directly from bnet or using 2 computers.

After many hours of trying I have found an alternative, which allows for any number of lan clients on 1.30.1 patch on w10 (should work for other windows version too).

  1. Install ForceBindIP | r1ch.net
  2. Create a .bat file on same folder as where the program was installed with this content:
    SET W3Path=E:\Programs\w3\Warcraft III
    start ForceBindIP -i 127.0.0.1 "%W3Path%\Warcraft III.exe"
    start ForceBindIP -i 127.0.0.2 "%W3Path%\Warcraft III.exe"

  3. Change E:\Programs\w3\Warcraft III to your warcraft path.
  4. Save and run the bat file (double click). If everything went alright, 2 warcraft instances should be opened and you will be able to access lan from both.
  5. Create a game from one and join from the other.
If you want more than 2 instances, just fill another line with a different valid ip (any in the range 127.0.0.1 to 127.255.255.254).

For 1.28-1.29 patch, you need to use sandboxie for the second instance and the .bat second line should be something like:

start E:\Programs\Sandboxie\Start.exe ForceBindIP -i 127.0.0.2 "%W3Path%\Warcraft III.exe"

For 1.30.2+ patch, forget about ForceBindIP and just open second window with sandboxie, you can enter lan with both and it will work.

Happy map testing!
 

Attachments

  • upload_2018-8-28_0-33-32.png
    upload_2018-8-28_0-33-32.png
    615.1 KB · Views: 817
  • upload_2018-8-28_0-33-54.png
    upload_2018-8-28_0-33-54.png
    564 KB · Views: 745
Last edited:
Hey, i tried it with windows 8.1 and didn't work. The error message is "Warcraft III was unable to initialize. Error 0." its not opening second wc3, any idea?
 
Hey, i tried it with windows 8.1 and didn't work. The error message is "Warcraft III was unable to initialize. Error 0." its not opening second wc3, any idea?

I guess you are trying with 1.30.1, where they removed the "bug" that lets you open multiple w3 instances. A possible solution is to use sandboxie for the second instance and then change second line to something like

start E:\Programs\Sandboxie\Start.exe ForceBindIP -i 127.0.0.2 "%W3Path%\Warcraft III.exe"
 
I tested this and verified that two instances are possible in 1.30.1 using this method. I ran the first using ForceBindIP and the first two lines of your original script:

SET W3Path=E:\Programs\w3\Warcraft III
start ForceBindIP -i 127.0.0.1 "%W3Path%\Warcraft III.exe"

For the second I just dragged WarcraftIII.exe into Sandboxie and they found each other just fine.
 
hi, juvian
sandboxie + ForceBindIP works great with 1.30.1 for the last 2 months, however, it seems no longer working with 1.30.2. as video below shows, the game just stuck here with 1.30.2 after clicking "join the game" button. any new solution?

(also idk if blz see this feature as a bug and keeps an eye on this thread, we just want to test map more easily, not doing sth bad. why bother "fix this bug" (which actually not) and force us using a more laborious way like virtualbox/vmware? plz leave us a way. great thx)

 
Last edited by a moderator:
Very short and simple.
Admittedly useful though.

However, I would argue too simple.

The tutorial basically comes down to:
1. Download X
2. copy this code / run program (depending on version)

Also noteworthy that I did not get this to work, when I ran the .bat file it said something along the lines of command ForceBindIP not found. Based on one of the replies I figure I need to specify the path which was not included in the tutorial.

But that's a side point as I don't think this can be salvaged.
 
Very short and simple.
Admittedly useful though.

However, I would argue too simple.

The tutorial basically comes down to:
1. Download X
2. copy this code / run program (depending on version)

Also noteworthy that I did not get this to work, when I ran the .bat file it said something along the lines of command ForceBindIP not found. Based on one of the replies I figure I need to specify the path which was not included in the tutorial.

But that's a side point as I don't think this can be salvaged.

Yeah its simple, yet it took me days to find a way to make it work after reading many posts saying it was just not possible. Given new patches I am not sure why would anyone still need this but at the time it was useful. You don't need to specify the path, ForceBindIP is a program you need to install and for the bat to work it needs to be on same folder as ForceBindIP.
 
Ahhh, I did install the program but did not put it in the same folder.

I 100% understand you, there should be a place somewhere to submit "useful tips"
Such as lists with IDs, color codes, terrain tileset paths etc
And possibly this.

However, I am just the messenger who reads the rules and I think this is too simple to be classified as a tutorial.

I encourage you to poke an admin or post in the site discussion section and ask for a subforum for these short tips. Perhaps it can happen.
 
I will guess you are using program files or something with a space in which case instead of start C:\Program Files\Sandboxie\Start.exe ForceBindIP it should be start "C:\Program Files\Sandboxie\Start.exe" ForceBindIP
So the quotation should be included?
 
Not sure, file looks file. Maybe try restarting and check sandboxie did launch
File looks file, ok
Also, I tried launching separately with 2 files, but the results remain the same
Edit: I tried launching sandboxie only and it works but the second instance cannot connect to network when I tried to enter LAN game
 
for my 1.26: no any methods are working (LAN on 2nd window is "Could not connect to the network")
Code:
"C:\Program Files\Sandboxie\Start.exe" /box:S1 "%FBIP%\ForceBindIP" -i 127.0.0.1 "%W3Path26%\Frozen Throne.exe" -window
"C:\Program Files\Sandboxie\Start.exe" /box:S2 "%FBIP%\ForceBindIP" -i 127.0.0.2 "%W3Path26%\Frozen Throne.exe" -window

for my 1.28.5 : not_sandboxie_and_ForceBindIP + sandboxie - is not working (2nd window can't see a created game)
Code:
start ForceBindIP -i 127.0.0.1 "%W3Path28%\Warcraft III.exe" -window
"C:\Program Files\Sandboxie\Start.exe" /box:S2 "%W3Path28%\Warcraft III.exe" -window

for my 1.28.5 : sandboxie(box1)_and_ForceBindIP + sandboxie(box2)_and_ForceBindIP - works perfectly
Code:
"C:\Program Files\Sandboxie\Start.exe" /box:S1 "%FBIP%\ForceBindIP" -i 127.0.0.1 "%W3Path28%\Warcraft III.exe" -window
"C:\Program Files\Sandboxie\Start.exe" /box:S2 "%FBIP%\ForceBindIP" -i 127.0.0.2 "%W3Path28%\Warcraft III.exe" -window

for my 1.28.5 + JN Loader : sandboxie(box1)_and_ForceBindIP + sandboxie(box2)_and_ForceBindIP - is not working (LAN on 2nd window is "Could not connect to the network")
Code:
"C:\Program Files\Sandboxie\Start.exe" /box:S1 "%FBIP%\ForceBindIP" -i 127.0.0.1 "%W3Path28%\JNLoader.exe" -window
"C:\Program Files\Sandboxie\Start.exe" /box:S2 "%FBIP%\ForceBindIP" -i 127.0.0.2 "%W3Path28%\JNLoader.exe" -window

so can anyone make it working for 1.28.5 + JN Loader? (JN Loader is open-sourced on GitHub)
 
Last edited:
so can anyone make it working for 1.28.5 + JN Loader?
I don't know it really works or not.
3rd party WC3 servers that use special launcher like M16 (Korean WC3 server), Iccup, or Eurobattle.net are pretty much hardcoded for this trick.
 
Last edited:
JNLoader, Iccup, or Eurobattle.net are pretty much hardcoded for this trick.
JNLoader is not a server itself, server is m16
You can play by JNLoader in local LAN with friends, without m16 (and can't do the same with Iccup or Eurobattle.net)
And there are no maps which works on Iccup or Eurobattle.net only. But JNLoader-only maps are present
 
Back
Top