Problem LAN server - "That Name is already Taken!"

  • FTB will be shutting down this forum by the end of July. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Liberator XIII

New Member
Jul 29, 2019
3
0
0
Hello, me and a friend recently tried to get an Unleashed LAN server running but ran into an error when the second person tried to join, they got the message "That Name is already Taken!", even though we're using separate accounts. On looking into it it seems to reset all our names to "userName". I found a .bat file that solves this for vanilla Minecraft, but as I'm a bit useless computer-wise I can't figure out how to modify it for FTB. This is the file:

Code:
@echo off
title Minecraft Offline
echo Minecraft Offline Launcher
set mcinstall=%appdata%\.minecraft\bin\
set /p usrname=Enter a username^>
cls

cd %mcinstall%
echo Launching Minecraft with username: %usrname%.
start javaw -cp minecraft.jar;lwjgl.jar;lwjgl_util.jar 
-Djava.library.path="natives" net.minecraft.client.Minecraft "%usrname%"

exit

I know I need to change the mcinstall line to point to Unleashed\minecraft\bin, but it still just runs a vanilla 1.5.2 Minecraft instance. What else do I need to change, for both Unleashed and 1.6 Direwolf which I'll probably be using once it's stable? And how would I find out what to change, for future reference and future modpacks?