1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Would anyone be willing to help me?

Discussion in 'BF2Statistics discussion' started by zdeamon, Mar 4, 2018.

  1. zdeamon

    zdeamon New Member

    Hello, I am new to this forum and i have 2 dedicated servers are are ready for hosting a bf2 server and 2142, I have the control center setup on host number 1 and everything seems to be working fine except i cant get the ASP site view able over the internet. I hexed my battlefield 2 (bf2.exe) executable and im not seeing some of the URLS to change to get servers to pull to the client , i have 2 dedicated servers online as my Gamespy reports.


    here are some of the changes i was able to make to my bf2.exe :

    < gpsp.gamespy com > <Login service> - Patched to host

    < gpcm.gamespy com > <Account service> - Patched to host

    < battlefield2.available.gamespy com > <Login test service> - Patched to host

    < battlefield2.master.gamespy com > <Set up server to list server> - Patched to host

    < battlefield2.ms14.gamespy com > <Client server list> - Not patched to host - Cannot Find any of them

    < bf2web.gamespy com > <Statistical data> - Not patched to host - Cant get ASP view able over the net so didn't set.

    < eapusher.dice se > <Game built-in ads> - Not patched to host - Cannot Find anywhere

    Im able to connect to the public server via login and such but cant pull any servers
    --Fixed--(and if you try to direct connect the game client crashes to desktop. Any ideas on this?)--Fixed-- Solution : Reinstalled Battlefield 2 (--Was a edited client from years ago--)


    Befor i end my vast amounts of questions i would like to note that i am using version 1.5 on server and client.

    I would like to thank everyone here for making a battlefield 2 community and give hope to those who were not ready to give up playing battlefield 2 , it was a foolish thing of gamespy to shut its servers down for such an amazing game and i am willing to make it a community all over again.

    I also would like to thank you all for providing support and files to people like me who still cares about battlefield 2 even after all these years.

    Sincerely , zdeamon.

    You can reach me on Skype and Discord but you have to pm me for my user , thanks again.



    ********************************Update*****************************************


    ------ This issue has been fixed ------

    So i reinstalled battlefield 2 and now i can direct connect server but i get a error message saying:

    **battlefield 2 this server only allows players with unmodified content to join**

    (FIXED) Download the latest dedicated server files for version 1.5 and then download and install the latest version of punkbuster on Client side and server side and your problem will be fixed


    Could this be that even though i installed patches the game exe and server exe did not update from ver 1.1 and that i coped the one from the non working client?

    ***Fixed*** i also installed the latest version of PunkBuster and deleted all data in the documents folder for battlefield 2 and that didn't change anything. Tried updating the dedicated server with the one in the post in the administration section of battlefield 2 and still didnt fix this issue , Tried with and without PunkBuster enabled. **** Fixed ****

    ------ This issue has been fixed ------



    **********************************What still needs to be fixed********************************


    Need to figure out how to fix the issue with not being able to pull data from dedicated servers to the game via the server list.

    ******************************************* Note:*******************************************
    Not sure if anyone noticed this but with the new punk buster files you see alot of extra data on the Battlefield 2 server.
     

    Attached Files:

    Last edited: Mar 4, 2018
    Wilson212 likes this.
  2. Wilson212

    Wilson212 Administrator Staff Member

    Make sure the dedicated server host also has the redirects active, and pointing to the backend
     
  3. zdeamon

    zdeamon New Member


    Yes i have a dedicated server on this host which is not running anything but the redirect patch and the dedicated server . Main server is the one that has the gamespy server on it and another dedicated server. Both are accessable via direct connect but not in server list in game. However i do not have the Host file patched on my pc where im testing it but there is a reason i dont because i wanted to try and do direct connections via the URLS i set in the battlefield 2 game exe so that way all players had to do was install game , set the exe patch and play.


    Also is there any way to make a batch script to generate the hosts.ics file so say , you make a new installer for the dedicated server that when installed the batch file would run during install so that way the user can just configure the dedicated server as they normally would and be done?

    With the dedicated server you can see the same master gamespy url but if you change it sadly the dedicated server crashes so im looking for a workaround for that.
     

    Attached Files:

    Last edited: Mar 4, 2018
  4. Wilson212

    Wilson212 Administrator Staff Member

    I am not quite sure I am following correctly here... You are saying that the problem is that you cannot see the servers in the In Game server browser, and that your server crashes when you try to connect via IP?
     
  5. zdeamon

    zdeamon New Member

    Yes , i cannot see any of my dedicated servers in the server browser . The crash issue was fixed , I can direct connect to the servers.
     

    Attached Files:

  6. zdeamon

    zdeamon New Member

    Gamespy shows all 4 of my dedicated servers but the game does not show them.
     
  7. Wilson212

    Wilson212 Administrator Staff Member

    Try messing with the filters in game. I remember there was some issues with the filtering when I updated the Battlelog master server back in the day.
     
  8. zdeamon

    zdeamon New Member

    Unfortunately i tried that and have had no luck. Could it be that i cant seem to get the ASP server to show website over the internet instead of just localhost? Cause doesn't the Server list pull from the asp site like it does from master.bf1942.sk
     
  9. zdeamon

    zdeamon New Member

    Im wondering if the gamespy server is not sending the servers to the server browser in game.
     

    Attached Files:

  10. Wilson212

    Wilson212 Administrator Staff Member

    Looks like maybe a port is blocked? Did you enable "BranchCache Content Retrieval (HTTPIn)" firewall rule on the HOST? Ports 80 (TCP), 27900 (UDP), 28910 (TCP), 29900 (TCP), 29901 (TCP), and 29910 (UDP) need to be opened if playing over the internet (On the host server, not client side).
     
    Last edited: Mar 5, 2018
  11. zdeamon

    zdeamon New Member

    BranchCache Content Retrieval Is set , When using your ASP Server port 80 is not reachable where as if i use my web server its reachable on port 80 Here is my port status.

    Open ports : 80 , 28910 , 29900 , 29901

    Closed ports , (80) Fixed this one by changing the back end URL to my servers URL ,

    --- 27900 , 29910 --- Trying to get these ports open , i do not have a router or any other blocking systems.
     
    Last edited: Mar 5, 2018
  12. zdeamon

    zdeamon New Member

    Disregard------------------ With your web server built into the control i need to be able to manually set the Exe you used for the actual ASP server in general to be accessable , I do not want to disable the firewall as on a public host that would be very bad.------------------ Disregard
     
    Last edited: Mar 5, 2018
  13. zdeamon

    zdeamon New Member

    What uses ports 27900 and 29910 ? Normally if ports are closed on hosts like these is nothing is listening on those ports.

    I did a ( Netstat /an ) check on server and found that the ports for 27900 and 29910 are listed but not listening.

    ok so it seems i totally messed this up a bit , ill redo the netstat and post for port 27900 and not 29900 as that port works fine.
     

    Attached Files:

    Last edited: Mar 5, 2018
  14. zdeamon

    zdeamon New Member

    ok so i did some research and found this

    TCP
    80,Battle recorder port
    4711,Remote console
    29900,Client+Server
    29901,Client Not in use yet
    29920,Server Standard Port
    28910, Client
    44301= PnkBstrA
    45301= PnkBstrB


    UDP
    1500 - 4999,General use
    16567,Game port
    27900,Stats port
    29900,Gamespy port
    29910,Gamespy port Backup Port?
    27901,Stats port
    44301 = PnkBstrA,
    45301 = PnkBstrB,
    55123,VOIP ports
    55124,VOIP ports
    55215,VOIP ports
     
    Last edited: Mar 5, 2018
  15. zdeamon

    zdeamon New Member

    Also i have this issue as well.
     

    Attached Files:

  16. zdeamon

    zdeamon New Member

    any ideas?
     
  17. Wilson212

    Wilson212 Administrator Staff Member

    I don't mean to state the obvious here, but make sure these ports are OPEN on the server hosting the Control Center. Also, in order to be listening, both the Gamespy Emulator as well as the ASP Stats Server must be started. Usually, Windows will pop open a firewall screen upon first starting the servers asking if you want to create a firewall exception for those services, make sure you click yes! These ports must have an opening through the firewall of the hosting server.

    That would be the GameSpy Master Server (Bf2 server reporting port, in which the servers ping every 30 seconds to let the Master Server know they are online, and their status such as the number of current players, current map etc etc) and CDKey Server ports, which the Control Center does support/reply to. 28910 is the Server List listening port as well on the GameSpy side (This port is used by the client to get the current server list from GameSpy), so that needs to be opened (TCP). ports 29900 and 29901 are TCP ports for the login server.

    What does the ASP Stats Server -> ErrorLog say?
     
  18. zdeamon

    zdeamon New Member

    Asp portion of it is fine now , ill have to check it when my neice and nephews go home aha. So as i understand the cd check server port is ignored all together then so i just need the 1 port open?
     
  19. zdeamon

    zdeamon New Member

    Only firewall exception i remember seeing was for the controller.
     
  20. Wilson212

    Wilson212 Administrator Staff Member

    The CDKey port is not ignored, it is replied to. It just OK's every CD key.