|
Post by Phantomeis on Oct 22, 2019 21:26:00 GMT
The best way to secure you up would be using hamachi, tunngle(dead) or any other VPN/Party tool. That way only your friends in your hamachi network can see and join your server. Your IP for the server and inside the Hosts-file then would change to your new Hamachi IP and not to your local 192.168.X.X IP. Thats basically it.
I would NOT recommend to go public with the old SSL and xampp i provide. New XAMPP makes use of PHP7, I havent ported the old PHP5 apache serverfiles to PHP7 yet, which makes use of new MYSQL syntax and gives TLS for encryption, so it would be a longer job which i dont have time for. at the moment i can only give support for the files "as is" (which is a securityhole and sucks hard, but for LAN its totally OK).
|
|
|
Post by Phantomeis on Oct 22, 2019 21:28:16 GMT
maybe problem in fesl? or in database? here is console logs of fesl: UPDATE gamespy_players SET challenge='mylgktka', authtoken='GY9mIVC+E7J0TlqiucXfzVC+E7JUD9G4NOs/jNuc3PLx4t+E7pE7J0TlKyWABAhQJ0TF6KSG4te0TFaa6Ky2w5sfzV' WHERE id=1 OUT TXN=GameSpyPreAuth challenge=mylgktka ticket=GY9mIVC+E7J0TlqiucXfzVC+E7JUD9G4NOs/jNuc3PLx4t+E7pE7J0TlKyWABAhQJ0TF6KSG4te0TFaa6Ky2w5sfzV waiting packets.... --- >> : UPDATE gamespy_players SET challenge='', authtoken='' WHERE id=1 //i think at this moment i am losing my connection when trying to log in - disconnected //then i disconnect(ALL BROWSERS CLOSED) i have the same problem.When try log in it says:"Connection to EA server lost" Can you follow the steps i described on this threads page 2 and 3? I want to take you through the same process as i did with davailolka.
|
|
deanh
New Member
Posts: 1
|
Post by deanh on Feb 7, 2020 3:50:08 GMT
Bot statistics can be saved on the LAN server
|
|
|
Post by Phantomeis on Feb 7, 2020 12:30:18 GMT
Bot statistics can be saved on the LAN server Fighting against Bots will give you rewards and they will be saved too! Bots itself wont have an entry in DB, but you killing them will work.
|
|
|
Post by vorador on Jul 30, 2020 0:17:54 GMT
Hello, I have very strange problem and I hope that someone can help me. After setting up my server and changing ip addresses - now I cannot unlock nothing and even when I login with admin account in the game - and there where 5 unlocks for this account - in the rounds those are not visible and cannot be selected. (I have chosen unlocks). Neither the rank progresses - I use the LAN IP, not 127.0.0.1, and all seems to connect normally. But no progress, no unlocks no pins no ranks no nothing. Anyone had such problems? Can someone give me advice? Thanks in advance.
|
|
|
Post by Phantomeis on Jul 30, 2020 17:04:32 GMT
Have you changed your hosts file accordingly?
your.ip bf2142-pc.fesl.ea.com your.ip gpcm.gamespy.com your.ip stella.available.gamespy.com your.ip eapusher.dise.se 127.0.0.1 stella.prod.gamespy.com #do not changeyour.ip stella.ms5.gamespy.com your.ip ea.com your.ip gamespy.com your.ip messaging.ea.com your.ip fesl.ea.com your.ip gpsp.gamespy.com your.ip gamestats.gamespy.com your.ip stella.ms5.gamespy.com your.ip eapusher.dice.se your.ip stella.master.gamespy.com
was the server ip put in the database?
Please always close your browser-tab from phpMyAdmin, because on some machines an open phpMyAdmin tab blocks write-access to the database!
are the database and the apache server even running? you can unpack the xampp-folder again to restore the vanilla database, just to be sure. (remember to set the game server IP into database again!).
Is fesl running and not giving out any output that sounds like an error has occoured, you can paste a screenshot of some ooutput if you like
|
|
|
Post by vorador on Jul 31, 2020 20:52:08 GMT
Hello and thank you. All is up - apache mySql FileZilla. Installed from xampp as services and green as "Running". fesl returns responses changed the IP address in server, exe is ok, also patched the other exe of server I can properly login and all and even created new player, but when open the game as I said in rounds there are no upgrades etc. And today I saw something else - for my new player - there was no entry in the database like gamespy player or something like that.. (also closing my tab with admin in browser). How can I attach image here to show you fesl results? I am searching for a way. I also just unpacked the folder again to see what will happen. - you mean the files from the work directory folder that must be copied in xampp folder when it is stopped yes? Nothing - I choose unlocks it say they are unlocked etc, but when i go in mach - I am in default kit with no options to choose. It looks like the game client is neither getting neither recording any values in database. It is so confusing. I use and try to play the vanila game. I also can add that my server is on one pc and the client is on another pc. It is also worth mentioning that I am using 1.51 deluxe version of the game. Is it possible this problem to be because I forgot to patch to 1.50 before 1.51 - I am unsure if that is the case but I cannot remember. Can it be of firewall something... No alerts on my firewall. Can it be from the edited exe - it seems to connect properly and all looks ok... I am out of ideas. I try for so long and so hard to run this game and cannot figure what am I missing. Actually I think there is something wrong with the server itself-i think the server program is not reading nor making any input to database. When I ticked the server to be forced to unlock 1 level unlocks - it done it, but other than that it does not bother at all if this or that is unlocked or what level you are - the game sees what level you are but the server does not care. Thank you for your effort to help me.
|
|
|
Post by Phantomeis on Aug 3, 2020 15:46:09 GMT
Hello and thank you. All is up - apache mySql FileZilla. Installed from xampp as services and green as "Running". fesl returns responses changed the IP address in server, exe is ok, also patched the other exe of server so far so goodI can properly login and all and even created new player, but when open the game as I said in rounds there are no upgrades etc. And today I saw something else - for my new player - there was no entry in the database like gamespy player or something like that.. (also closing my tab with admin in browser). mh okHow can I attach image here to show you fesl results? I am searching for a way. I also just unpacked the folder again to see what will happen. - you mean the files from the work directory folder that must be copied in xampp folder when it is stopped yes? you can upload the image to imgbb or some other imagehosting site and place the URL here. also yesNothing - I choose unlocks it say they are unlocked etc, but when i go in mach - I am in default kit with no options to choose. It looks like the game client is neither getting neither recording any values in database. It is so confusing. I use and try to play the vanila game. seems like the client cannot fetch all gamespy data OR the database has no data to begin withI also can add that my server is on one pc and the client is on another pc. It is also worth mentioning that I am using 1.51 deluxe version of the game. Is it possible this problem to be because I forgot to patch to 1.50 before 1.51 - I am unsure if that is the case but I cannot remember. patch 1.51 is necessary because the .exe i prepared in the workfolder is for 1.51 (there is a 1.25 one too). but having installed this afterwards should not be a problem. can you upload your .exe to mega or mediafire by any chance? i would like to check the IP and "hidden IP" thing, mostly people mess up here too.
to the client-server stuff: your FESL, apache and mysql should run from the same machine, this machine needs its hostfile setup according to this machines IP, second the firewall should have ports open or should be disabled for a test. disabling this for LAN will do the trick, not so much for internet play (at least i dont recommend this ) The client just needs the game and the prepared .exe (firewall for bf2142.exe should be allowed of course)
Can it be of firewall something... No alerts on my firewall. Can it be from the edited exe - it seems to connect properly and all looks ok... I am out of ideas. I try for so long and so hard to run this game and cannot figure what am I missing. Actually I think there is something wrong with the server itself-i think the server program is not reading nor making any input to database. When I ticked the server to be forced to unlock 1 level unlocks - it done it, but other than that it does not bother at all if this or that is unlocked or what level you are - the game sees what level you are but the server does not care. Thank you for your effort to help me. Can you try to start the game from the server computer? this will circumvent the firewall and is a bit easier to debug.
|
|
liiw
New Member
Posts: 6
|
Post by liiw on Feb 18, 2021 8:48:26 GMT
Hello!
I followed the instructions and managed to get everything working. However, the server often states that it is running in NON-RANKED while I have noticed that the score is still added to my account.
I have another question. How can I edit the rank requirements? The medal_data.py is a little different from the BF2 version. Namely the rank section.
|
|
|
Post by Phantomeis on Feb 18, 2021 21:00:58 GMT
Hello! I followed the instructions and managed to get everything working. However, the server often states that it is running in NON-RANKED while I have noticed that the score is still added to my account. I have another question. How can I edit the rank requirements? The medal_data.py is a little different from the BF2 version. Namely the rank section. However, the server often states that it is running in NON-RANKED while I have noticed that the score is still added to my account. This is normal, the server software is called "un-ranked bf2142 server" and it will have this name regardless of stats being saved or not. You would have to edit the .exe to change it, but its just a name and has nothing to do with the stats process at all. Cosmetic so to speak.
How can I edit the rank requirements? The Amount of points needed to receive a level up? Or the medals/pins/ribbons itself? I uploaded a medal_data.py file that has all "time needed as..." values divided by 10 and many kills/points needed reduced to a lower number. You can compare this file with yours to see any changes made by me by using notepad++ and compare plugin.
Example: Collectors badge needs x amount of knife kills in a round for bronze, silver and gold:
My version (see bold-italic text):
Often an award wants you to be something a specific amount of time (seconds):
You should definitely have aread at my guide to medals, pins and ribbons:
|
|
liiw
New Member
Posts: 6
|
Post by liiw on Feb 19, 2021 7:30:02 GMT
Thank you very much for your answer.
I noticed the 10hoursless version. Ecxellent work! I have read the medal_data.py instructions thread. However I meant the amount of points needed for a level up. I would like to edit how much points is needed for people to get a level up. I understand that after each level up, a player gets an unlock point? I would like to tweak these rank requirements a little. In BF2 these required points for ranks were also in the medal_data.py, but in BF2142 I only see some sort of function for that, no hardcoded values.
|
|
|
Post by Phantomeis on Feb 19, 2021 12:32:40 GMT
I never tested lowering the rank requirements.
In the FESL-server it would be this file: C:\xampp\htdocs\include\rankSettings.php holding point values for the ranks. In case of the game server (i dont know why the values would get saved here, the server will never give you unlocks, FESL does) would be here: C:\Program Files (x86)\Electronic Arts\Battlefield 2142 Server\mods\bf2142\settings\RankSettings.conTry either one and gimme a feedback if one did work for you, i'm interested as well.
|
|
liiw
New Member
Posts: 6
|
Post by liiw on Feb 20, 2021 0:06:57 GMT
I see, thank you very much for the insight. I am very interested in searching through the files you mentioned. Unfortunately, I will be able to do so on Sunday evening at the earliest. I will report back ASAP.
|
|
liiw
New Member
Posts: 6
|
Post by liiw on Feb 21, 2021 18:15:05 GMT
So I went ahead and looked at C:\xampp\htdocs\include\rankSettings.php. There was indeed an array of 43 rows, which correspond to the ranks. On each row there was a value, which were similar to the official rank requirements. Just for a test I made all those numbers 10 times smaller. So the first rank would come at 4 point, second one at 8 points, third at 12, fourth at 20 etc.
I had played prior and upon logging into the account, I already noticed that the system gave me a higher rank than before. I played a couple of rounds and after that I had to log out from the game and log back in to see the progress change. I could also choose the unlocks I had attained.
So, in essence, I managed to tweak the required points succesfully. However the progress bar at BFHQ is a little of. It is showing my current points (which is, say, 142) and then it shows the old "required" points amount (say 1800). And the progress bar itself is completely empty. Is there a way to make it display accurate information?
Also the game is not showing the new rank during battle. Would it be possible to make that work?
On another topic. I noticed an issue I sometimes have with some of the maps on the server. I added the reclamation map-pack to my server and sometimes, when starting up a map, ccDaemon says that it is not possible to query map name. I have noticed that it is only with specific maps. Is there something I can do to fix this?
|
|
|
Post by Phantomeis on Feb 21, 2021 18:28:53 GMT
However the progress bar at BFHQ is a little of. It is showing my current points (which is, say, 142) and then it shows the old "required" points amount (say 1800).
I think here the C:\Program Files (x86)\Electronic Arts\Battlefield 2142 Server\mods\bf2142\settings\RankSettings.con (and/or also the file in your game folder) could come into play. Thanks for the info!
And the progress bar itself is completely empty. Is there a way to make it display accurate information? This is something the FESL server does wrong-i dont see this working on Openspy either i cannot do anything about that, also not about the relogging to get your rankup awarded.
Also the game is not showing the new rank during battle. Would it be possible to make that work? Wasn't there a setting in ccDaemon that allwos ranks to be shown? This should be enabled.
On another topic. I noticed an issue I sometimes have with some of the maps on the server. I added the reclamation map-pack to my server and sometimes, when starting up a map, ccDaemon says that it is not possible to query map name. I have noticed that it is only with specific maps. Is there something I can do to fix this? Is there something special about the maps, or something all they have in common (name, mode, size, coop) ?
|
|