Lawin0129 / LawinServerV2

LawinServer V2 is a fortnite backend written in Node.js that features an account system and xmpp.
GNU General Public License v3.0
122 stars 79 forks source link

What To Change to Selfhost this on my rdp #72

Open VinieClara opened 1 year ago

VinieClara commented 1 year ago

In the source whic parts should i change 127.0.0.1 to my rdp ip addres to be abled to connect to same server from multiple pcs (gona redirect epic servers to rdp addres whic runs this backend), i kinda looked at the source but theres more then 1 place where 127.0.0.1 is used and im not clearly sure whic ones i gotta change

i also host this on my rdp https://github.com/Lawin0129/FortMatchmaker

xLoigi commented 1 year ago

You need to modify the DefaultEngine.ini that is located in CloudStorage. You need to change both "ServerAddr" to the ip from you Server. You could redirect the EpicGames Servers with fiddler (only recomended for one client at the time). Or you could use a SSLBypass. For that you need a Launcher. You can use the Era Launcher. https://cdn.discordapp.com/attachments/927739901540188200/1112073800364867594/EraLauncher_for_LawinV2.rar

VinieClara commented 1 year ago

so all i gotta do is change the ip on defaultengine.ini? no other changes? then i can just redirect epicgame server to my rdp ip and multiple people can play on same server on diffrent places?

xLoigi commented 1 year ago

pretty much yea

VinieClara commented 1 year ago

pretty much yea

well in Config/config.json theres also

"matchmakerIP": "127.0.0.1:80", "gameServerIP": "127.0.0.1:7777"

are u really sure all i gotta change is the ip at DefaultEngine.ini?

VinieClara commented 1 year ago

and also when i want to run matchmaking server + this one i get error cuz matchmaking also uses 80 port what should i do

xLoigi commented 1 year ago

and also when i want to run matchmaking server + this one i get error cuz matchmaking also uses 80 port what should i do

Change the port in the matchmaker