|
Post by SkyWylker on Feb 28, 2019 1:11:51 GMT
Hi there. Thanks for you time to make this awesome mod. I love this game and playing it again with ranks it's so amazing! But, I'm facing some troubles...
I'm creating a server using ZeroTier (an app like Hamachi to create a virtual network) I've modifed the .exe, hosts with this virtual network IP (169.254.233.***) that is different from my machine IP address (192.168.0.***).
I can play normaly... during the gameplay I can see ribbons, medals and promotions, but when the server closes, no progress is saved. Is there a relation between using an virtual network IP and this problem?
On Xampp (MySQL admin), hosts and .exe, I'm using the Virtual netwok IP (169.254....) On CCDaemon i'm using the local IP (127.0.0.1) I've logged on CClient with local IP too, but created the server using the virtual IP.
Can you shed some light in this problem? Did I miss something?
Many thanks in advance!
|
|
|
Post by Phantomeis on Feb 28, 2019 15:40:52 GMT
There would be problem if you host on two different IP networks because there is no routing in between them. but as i understand your scenario, the server is hosted on the VPN, client connects via VPN to server and the server is also allowed to write to the database via its VPN IP. So no different networks there. We have two server here we want to look out for: FESL(gamespy) and the game-server. Can other ppl create accounts? if yes, the FESL is working. If only the stats arent saved then the gameserver has a problem communicating with FESL. I would like to see your hosts file and i also will prepare a similar scenario on my PC to work the thing out. I used hamachi once with this kind of setup, so it should not take long
|
|
|
Post by Phantomeis on Feb 28, 2019 17:33:06 GMT
I got it running with hamachi this way: In your hosts file you will change all #externalIP# (or 127.0.0.1 if you used this already) to your ZeroTier IP, save, copy the hosts file to your desktop now. Press the windows-button, type "CMD" and wait until its has found the commandline utility. Right click and start as administrator. type this command in, but change the first path to your actual desktop where the hosts file should be: copy "E:\Desktop\bf2142 modding\hosts" C:\Windows\System32\drivers\etc /y The CMD should report "1 file(s) copied". This is due to windows not accepting the changed hosts file unless you recopy it or restart the network adapters/restart windows. Then you will open the ccdaemon folder (right click the CCDaemon button from Masterserver+standalone_Shortcuts.exe) and open the config.xml, change the DaemonIP into your ZeroTier IP and save. Start ccDaemon and connect via ccClient, but use the ZeroTier IP to connect. In ccClient change the gameservers IP and the Rcon IP to your ZeroTier IP, save and apply.
Start your server and via "Multiplay" -> "Online" -> "Advanced"-Tab, "Connect to IP". Maybe reduce the tickets for the maps to 20 and play two short rounds.
After the round after the new map loaded, go into menu and disconnect from server and logout from soldier (gray button in top right). Log back in using the same soldier and you should see your stats and awards in mainmenu and BFHQ. Basicly we change all the IPs to your ZeroTier IP, made sure the hosts file will work and connected via direct connect to play via VPN
|
|
|
Post by skywylker on Mar 2, 2019 3:55:36 GMT
I got it running with hamachi this way: In your hosts file you will change all #externalIP# (or 127.0.0.1 if you used this already) to your ZeroTier IP, save, copy the hosts file to your desktop now. Press the windows-button, type "CMD" and wait until its has found the commandline utility. Right click and start as administrator. type this command in, but change the first path to your actual desktop where the hosts file should be: copy "E:\Desktop\bf2142 modding\hosts" C:\Windows\System32\drivers\etc /y The CMD should report "1 file(s) copied". This is due to windows not accepting the changed hosts file unless you recopy it or restart the network adapters/restart windows. Then you will open the ccdaemon folder (right click the CCDaemon button from Masterserver+standalone_Shortcuts.exe) and open the config.xml, change the DaemonIP into your ZeroTier IP and save. Start ccDaemon and connect via ccClient, but use the ZeroTier IP to connect. In ccClient change the gameservers IP and the Rcon IP to your ZeroTier IP, save and apply.
Start your server and via "Multiplay" -> "Online" -> "Advanced"-Tab, "Connect to IP". Maybe reduce the tickets for the maps to 20 and play two short rounds.
After the round after the new map loaded, go into menu and disconnect from server and logout from soldier (gray button in top right). Log back in using the same soldier and you should see your stats and awards in mainmenu and BFHQ. Basicly we change all the IPs to your ZeroTier IP, made sure the hosts file will work and connected via direct connect to play via VPN Hi. Thank you for your time and answers. I've tried carefully everything you said up there. Step by step, but didn't work. I don't know of I did something wrong. But I noticed that the FESL have such more data now. I'll attach two logs (one generated by the server and another by ccDaemon) and my Hosts file. I used the ZeroTier IP everywhere you said to. Even in mySQL database. Did I miss something? Files: drive.google.com/file/d/1OHz7VY8w017RFEAxsEGTsTfxH8c0JtLZ/view?usp=sharingIf I can't post links here, let me know a better way to send you those files. --- By the way, you know why the Mod Remaster MP is crashing after few minutes of gameplay? I came to this page by their indication. Again, thanks for your help and patience. P.S.: sorry for my bad English. Not fluent yet. XD
|
|
|
Post by Phantomeis on Mar 2, 2019 12:16:27 GMT
In your hostsfile you are missing a line: 168.254.233.235 stella.master.gamespy.com MySQL looks like this? Ignore the second entry, thats me.
Also make sure to close the webbrowser-tab from phpmyadmin, on some computers this blocks the database write-access for some reason (even on edge). But this is not the problem you have right now, but nice to remember.
start xampp (apache and mysql), fesl and then the gameserver. fesl should report two lines indicating that it got response from your gameserver(this would be the part where it could appear in server-browser). Your log never indicated this.
Also please deactivate your firewall or make fesl, xampp and the gameserver an access rule. Deactivating is fine for testing, but dont forget to turn it back on after! minding the crash, are you using MP patch 1.3? is the crash related to walkers and EU tanks in any way?
Sharing over googledrive is fine for me please look for these things and report back to me. i think it is the missing hostsfile line, also the next thing we could run into is the firewall that you should deactivate for that very reason.
|
|
|
Post by skywylker on Mar 2, 2019 19:24:14 GMT
Well... I followed the steps carefully but it didn't work at first Then I removed everything and started all from scratch...and... TADA. Worked perfectly! Thank you so much for you help and patience! About the 1.3 patch, I didn't find it anywhere. Just looked at google, here in the forums, at the ModDB page...but nop. And yeah, most of crashes are related with tanks and walkers. Do you ahve a link where I can download the patch? Again, thank you for helping us. You can't imagine how happy we are with this. Can't wait to hear again: "Soldier, you deserve an Award!"
|
|
|
Post by skywylker on Mar 2, 2019 23:42:54 GMT
Oh, plus. Which mod you reccomend to play Titan mode with Bots? (I know they can't board the titan and destroy it, so I'm not expecting that... :x ) We tried TitanLite but we had some problems: When I create the server, my friend can't log on it; When I start a game, the mod closes and open the vanilla 2142... and few more. Thank you again.
|
|
|
Post by Phantomeis on Mar 3, 2019 11:42:43 GMT
Sorry, we are working on patch 1.3 so i named it at first :x Project Remaster MP patch 1.2 is here: www.moddb.com/mods/project-remaster/downloads/project-remaster-mp-update-v12I'm glad to hear that it works now, i stumbled onto the "fresh restart" many times for myself. Sometimes its just computers I use TitanLite2, you have to drop the mod in the servers and clients mod-folder and noone should fiddle with the files there, else you will get kicked. You may have to create a new profile in ccClient too, else you can get "Map query not found" errors in the gameserver. And your friends should start the game in the mod also, i see that many ppl still start project remaster because they think the mod is closely related to this server project or dont know how to change the shortcut to work with different mods. Best is if you all download the mod from the same link and one who knows what he is doing is giving the .exe and the shortcut out, just to be 100% sure. I like to hear if you can get it to work, you may find me in the Project remaster discord a bit faster than here.
|
|
|
Post by wattockhunt on Aug 16, 2020 8:06:11 GMT
Oh, plus. Which mod you reccomend to play Titan mode with Bots? (I know they can't board the titan and destroy it, so I'm not expecting that... :x ) We tried TitanLite but we had some problems: When I create the server, my friend can't log on it; When I start a game, the mod closes and open the vanilla 2142... and few more. Thank you again.
I've been using her titan mod,working great here...... her mod is also nice,tofu zombies is a well made mod too.
|
|