steve
New Member
Posts: 12
|
Post by steve on Jun 6, 2021 11:14:05 GMT
Hi the link for the files as per below... drive.google.com/file/d/1R98GsSNyVtqQ4y5kL9Mp8WN3kA-ymzkM/view?usp=sharingSteve is fine for the credits, it was a pleasure to help you guys out as you have already done all the hard work. (just as a side note there are a few weapons missing from the stats_w tables but doesn't break the code as the count in the bf2142Statistics.php file is correct) Many thanks
|
|
|
Post by Phantomeis on Jun 6, 2021 14:03:07 GMT
Thank you. I changed the first post, updated my github and i'm uploading the new version. I saved this Guide as PNG, PDF and HTML inside the all-in-one-pack now too, in case the world goes to hell.
|
|
steve
New Member
Posts: 12
|
Post by steve on Jun 11, 2021 17:28:41 GMT
Hi there I managed to get the ranked emblem to show alongside the server in the server list !!
I didn't even need to do any coding just altered a few settings and passed the right values to the .exe
Did you want to know ?
|
|
|
Post by Phantomeis on Jun 11, 2021 17:59:03 GMT
Hi there I managed to get the ranked emblem to show alongside the server in the server list !! I didn't even need to do any coding just altered a few settings and passed the right values to the .exe Did you want to know ? Correct me if i'm wrong, but does the quick join feature work now too? The emblem and this feature go hand in hand a friend told me. Sure, hit me up 
|
|
steve
New Member
Posts: 12
|
Post by steve on Jun 11, 2021 18:28:57 GMT
Hi there I managed to get the ranked emblem to show alongside the server in the server list !! I didn't even need to do any coding just altered a few settings and passed the right values to the .exe Did you want to know ? Correct me if i'm wrong, but does the quick join feature work now too? The emblem and this feature go hand in hand a friend told me. Sure, hit me up  Hey well I only managed to get it to work one time and now it fails to start in official ranking mode so no rank emblem  I will try to trace back what I did but this old software is quite troublesome!
|
|
|
Post by Phantomeis on Jul 4, 2021 12:34:08 GMT
No problem. i havent heared back from my friend either. Besides, this part of the client-server structure is not that important to be able to play it, since saving a server as favorite is also making it visible in the browser and quick-join list.
|
|
steve
New Member
Posts: 12
|
Post by steve on Jul 20, 2021 16:19:57 GMT
Hey bro how are ya?
I got a couple of questions for you if you can help......
So i spent some money and got 2 separate lines with 2 public ip's. I have the game server on 1 public ip and the master server on the other public ip so they are communicating through the public ip's.
When i connect the game server to the master server, fesl is pulling the lan ip from the game server (192.168.x.x) which means my friends cant join the game server and the gamespy QR2 fails which means not challenge received from master server.
Im not sure why this is as it would be the same as visiting a website and the website logs showing your lan ip which obviously doesn't happen.
I tried to add the public ip to the game server settings.con but it will not start up and/or crashes.
Can you shed any light on this ?
|
|
|
Post by Phantomeis on Jul 20, 2021 16:46:14 GMT
Hey bro how are ya? I got a couple of questions for you if you can help...... So i spent some money and got 2 separate lines with 2 public ip's. I have the game server on 1 public ip and the master server on the other public ip so they are communicating through the public ip's. When i connect the game server to the master server, fesl is pulling the lan ip from the game server (192.168.x.x) which means my friends cant join the game server and the gamespy QR2 fails which means not challenge received from master server. Im not sure why this is as it would be the same as visiting a website and the website logs showing your lan ip which obviously doesn't happen. I tried to add the public ip to the game server settings.con but it will not start up and/or crashes. Can you shed any light on this ?
Hey Steve, nice to see you back.
In \Battlefield 2142\mods\bf2142\Settings (or any mod) you find the ServerSettigs.con file
In there are two options:
sv.allowNATNegotiation
sv.internet
Also ccDaemon (if you use that) does know these values from inside the profile-files it uses.
At least the internet option has to be used, not sure about the NAT- i remember servers crashing for what ever reason, but that might have been a user mistake. At last the portforwarding that i had flying around: TCP 80(for the FESL machine), 443(for the FESL machine), 1024-1124, 4711, 9960-9969, 17475, 18060, 18120, 18300, 18510, 27900, 28910, 29900 UDP 1024-1124, 1500-4999, 9964, 16567, 18300, 18510, 27900-27901, 28910, 29900, 55123
Carefull with port 80 and 443, they are for the FESL-Host machine, rest are for the gameserver. Be carefull in general with opening up the Xampp server to the public, its an old version with SSL Heartbleed and Poodle vulnerability still present.
|
|
steve
New Member
Posts: 12
|
Post by steve on Jul 20, 2021 17:13:49 GMT
Hey bro how are ya? I got a couple of questions for you if you can help...... So i spent some money and got 2 separate lines with 2 public ip's. I have the game server on 1 public ip and the master server on the other public ip so they are communicating through the public ip's. When i connect the game server to the master server, fesl is pulling the lan ip from the game server (192.168.x.x) which means my friends cant join the game server and the gamespy QR2 fails which means not challenge received from master server. Im not sure why this is as it would be the same as visiting a website and the website logs showing your lan ip which obviously doesn't happen. I tried to add the public ip to the game server settings.con but it will not start up and/or crashes. Can you shed any light on this ?
Hey Steve, nice to see you back.
In \Battlefield 2142\mods\bf2142\Settings (or any mod) you find the ServerSettigs.con file
In there are two options:
sv.allowNATNegotiation
sv.internet
Also ccDaemon (if you use that) does know these values from inside the profile-files it uses.
At least the internet option has to be used, not sure about the NAT- i remember servers crashing for what ever reason, but that might have been a user mistake. At last the portforwarding that i had flying around: TCP 80(for the FESL machine), 443(for the FESL machine), 1024-1124, 4711, 9960-9969, 17475, 18060, 18120, 18300, 18510, 27900, 28910, 29900 UDP 1024-1124, 1500-4999, 9964, 16567, 18300, 18510, 27900-27901, 28910, 29900, 55123
Carefull with port 80 and 443, they are for the FESL-Host machine, rest are for the gameserver. Be carefull in general with opening up the Xampp server to the public, its an old version with SSL Heartbleed and Poodle vulnerability still present.
Nice one for getting back to me so quick! Yes ok will try all of above, didn't realise there were so many ports to forward, had 80 and the ones from the fesl. I thought it was a bit strange the fesl was picking up the lan ip as this would mean back in the day EA new all the lan ip's from all the servers connected to their master server, surely not? Its a shame all this couldn't be brought forward to support php7 and the latest apache2, but in the mean time i wont be leaving the master server running only using when we play  I will get back to you and let you know how i got on. Thanks mate
|
|
|
Post by Phantomeis on Jul 20, 2021 19:11:02 GMT
Hey Steve, nice to see you back.
In \Battlefield 2142\mods\bf2142\Settings (or any mod) you find the ServerSettigs.con file
In there are two options:
sv.allowNATNegotiation
sv.internet
Also ccDaemon (if you use that) does know these values from inside the profile-files it uses.
At least the internet option has to be used, not sure about the NAT- i remember servers crashing for what ever reason, but that might have been a user mistake. At last the portforwarding that i had flying around: TCP 80(for the FESL machine), 443(for the FESL machine), 1024-1124, 4711, 9960-9969, 17475, 18060, 18120, 18300, 18510, 27900, 28910, 29900 UDP 1024-1124, 1500-4999, 9964, 16567, 18300, 18510, 27900-27901, 28910, 29900, 55123
Carefull with port 80 and 443, they are for the FESL-Host machine, rest are for the gameserver. Be carefull in general with opening up the Xampp server to the public, its an old version with SSL Heartbleed and Poodle vulnerability still present.
Nice one for getting back to me so quick! Yes ok will try all of above, didn't realise there were so many ports to forward, had 80 and the ones from the fesl. I thought it was a bit strange the fesl was picking up the lan ip as this would mean back in the day EA new all the lan ip's from all the servers connected to their master server, surely not? Its a shame all this couldn't be brought forward to support php7 and the latest apache2, but in the mean time i wont be leaving the master server running only using when we play  I will get back to you and let you know how i got on. Thanks mate In ccClient you should use your WAN IP, so the server boots up with that (experiment with that, i had crashes in the past and discontinued the process- but my mate EDGECOM had success- also that are his ports he used). Is the game-servers hosts file set to the public IP (WAN IP) of your line, so the server can find the FESL? About the PHP7 thing- i believe it is as easy as exchanging all mysql commands with mysqlli (?) ones in the php files and it "should" work with newer version then. But i will not port it over, BF2142Unlocker (in the future) will support the stats saving and i put my horses on that instead on FESL. FESL is still cool, but not worth the work i think.
|
|
steve
New Member
Posts: 12
|
Post by steve on Jul 21, 2021 18:22:03 GMT
Nice one for getting back to me so quick! Yes ok will try all of above, didn't realise there were so many ports to forward, had 80 and the ones from the fesl. I thought it was a bit strange the fesl was picking up the lan ip as this would mean back in the day EA new all the lan ip's from all the servers connected to their master server, surely not? Its a shame all this couldn't be brought forward to support php7 and the latest apache2, but in the mean time i wont be leaving the master server running only using when we play  I will get back to you and let you know how i got on. Thanks mate In ccClient you should use your WAN IP, so the server boots up with that (experiment with that, i had crashes in the past and discontinued the process- but my mate EDGECOM had success- also that are his ports he used). Is the game-servers hosts file set to the public IP (WAN IP) of your line, so the server can find the FESL? About the PHP7 thing- i believe it is as easy as exchanging all mysql commands with mysqlli (?) ones in the php files and it "should" work with newer version then. But i will not port it over, BF2142Unlocker (in the future) will support the stats saving and i put my horses on that instead on FESL. FESL is still cool, but not worth the work i think. Hi mate, I forgot to mention i had the game server and master server on separate box's as well as separate public ip's. I had to fiddle about with the host files and a few backend ip changes but got there in the end. I was trying to get my head around how it all works and i understand now ive had a little poke around the files. There's nothing you can do about fesl its coded that way, just means you cant join the server by double clicking the server in the in-game server list. But my friends can join by using the connect to public ip and port button in game, so as far as I'm concerned it works like a charm! Thanks for your help with this it's wicked bro wicked!!!
|
|
|
Post by Phantomeis on Jul 22, 2021 21:23:03 GMT
Hi mate, I forgot to mention i had the game server and master server on separate box's as well as separate public ip's. I had to fiddle about with the host files and a few backend ip changes but got there in the end. I was trying to get my head around how it all works and i understand now ive had a little poke around the files. There's nothing you can do about fesl its coded that way, just means you cant join the server by double clicking the server in the in-game server list. But my friends can join by using the connect to public ip and port button in game, so as far as I'm concerned it works like a charm! Thanks for your help with this it's wicked bro wicked!!! maybe they can add the server to their favorites, it should be listed under the history/last played servers. But the initial login sucks. Glad that it worked out!
|
|
liiw
New Member
Posts: 6
|
Post by liiw on Aug 5, 2021 7:03:20 GMT
Hello! I have a LAN party coming up and I tested the setup. Unfortunately after every round, the MYSQL server shuts down. I'm not sure, what the issue is. The same setup worked a couple of months ago. I also tried with a clean install of the XAMPP setup. I have found a log: pastebin.com/gJSJj3Dw
|
|
|
Post by Phantomeis on Aug 16, 2021 21:00:37 GMT
Hello! I have a LAN party coming up and I tested the setup. Unfortunately after every round, the MYSQL server shuts down. I'm not sure, what the issue is. The same setup worked a couple of months ago. I also tried with a clean install of the XAMPP setup. I have found a log: pastebin.com/gJSJj3Dwthis is mysql crashing when writing vehicle stats to the database. Were you using an old database from before update 2.3 (you using version 2.2?), or were you doing a clean installation of my FESL archive in version 2.3? Vehicle stats are a new feature made by a forum user steve (also in this thread) and should be the culprit in your (probably) version 2.2 database setup. At least i hope this, because that is easy to fix
|
|
vordy
New Member
Posts: 2
|
Post by vordy on Aug 18, 2021 12:25:06 GMT
The same problem with the database disconnecting after the end of each round (Clean installation of version 2.3 ).
I also want to ask. How to give a player a "deuce"? Does it even work?
|
|