snazz
New Member
Posts: 24
|
Post by snazz on Nov 11, 2018 15:12:36 GMT
EDIT: Cause was the modified BF2142.exe that was provided, had to redo the IP address changes in HxD.
--I've setup a server according to the instructions here: projectremastermp.boards.net/thread/10/setup-ranked-lan-serverI'm able to register and login to the master server, as well as host either a listen or standalone server. However when the client (/other player) joins the server and the map finishes loading the game crashes, "BF2142.exe has stopped responding". I've tried both vanilla and Project Remaster MP 1.1, I've also hosted on the client instead and same result. The only time the client didn't crash was when I ran the client windowed with default profile, created a listen server on the client first THEN joined the standalone server (disconnecting from the first). But that didn't work the next time. I completely reinstalled 2142 to 1.51, deleted the My Docs folder and registry entries. Also made a new 'EA account' for the client. sv.maxUnlockLevel is already -1 The sever IP is set to 192.168.1.3 to match the provided bf2142.exe. The server itself never crashes, only the client. Attachments:
|
|
|
Post by Phantomeis on Nov 12, 2018 8:38:23 GMT
Morning,
before we start, did you connect using a mod (remaster MP or vanilla) on your server that does use the same mod(remaster MP or vanilla)?
Somehow ppl get this wrong, i just want to make sure that both Server and client run the same mod, i wasted some time the last weeks with fixing bugs that werent there.... :sad: Also: Conquest without bots is running fine?
Then lets get started. 192.168.1.3 as an IP would be very convenient for your PC.
I suspect an IP mismatch or/and missing pythonfiles.
Can you post me the content your hostsfile and a screenshot of your console with output from ipconfig? <Windowskey> + <R> -> CMD -> <Enter> -> ipconfig -> <Enter> screenshot it.
Also, does your "workingdir" contain a folder called "drop_in_game_folder" ?
if not, you should download the all-in-one-package from my guide, since i renewed the archive about three weeks ago. But you must not redo the Guide again alone, we can do that together this time.
When i know your LAN-IP and the hostfile we have a start for finding the error.
|
|
snazz
New Member
Posts: 24
|
Post by snazz on Nov 12, 2018 10:42:44 GMT
Client is vanilla 2142 installed from DVD image and patched to 1.51. Server is installed from your pack (Battlefield_2142_Server_Unranked_v1.51.exe) with 'drop_in_standalone_server_folder' included. I've tried no vehicles, conquest, coop and titan modes on various maps. No issue creating a listen/LAN match, just can't join from another PC. I manually assigned the static LAN IP 192.168.1.3 to my server PC to simplify things, eliminating any potential errors in editing the bf2142.exe with HxD. I downloaded the all in one pack last weekend (4th Nov). 'drop_in_game_folder' is in the client game folder, but I thought that was for a listen server, does every client need that? BTW I don't use the 'start_game' shortcut (points to 'remastermp'?) or ccDaemon/ccClient. I run the vanilla exe on the client and stock launcher on the server. I've attached screenshots of the client's host file and the relevant server info. Attachments:

|
|
|
Post by EDGECOM on Nov 12, 2018 14:06:51 GMT
Make sure you have the ports forwarded on your router and in windows firewall or whatever firewall app you have.  Also check your serversettings.con and make sure the following values are set C:\Program Files (x86)\Electronic Arts\Battlefield 2142 Server\mods\Project_Remaster_MP\Settings\ServerSettings.con
sv.internet 1 sv.serverIP "192.168.1.3" sv.serverPort 17567
sv.allowNATNegotiation 1 sv.interfaceIP "192.168.1.3"
sv.useGlobalRank 1 sv.useGlobalUnlocks 1 sv.minUnlockLevel 1 sv.maxUnlockLevel -1
If you need help with setting up your router provide the make and model and firmware version and I will help
|
|
|
Post by EDGECOM on Nov 12, 2018 14:27:01 GMT
on the client shortcut are you launching with +modPath mods/Project_Remaster_MP if not you will need to switch to the Project Remaster MP mod from the game menu before you join a server I have noticed that crashing will happen when you join a server without launching the mod first.
also make sure the server and the client have the exact same map.
if your not sure just copy over the levels folder from the client to the server.
|
|
|
Post by EDGECOM on Nov 12, 2018 14:38:43 GMT
Also this is what my Host files loos like on my server
127.0.0.1 stella.master.gamespy.com 127.0.0.1 bf2142-pc.fesl.ea.com 127.0.0.1 gpcm.gamespy.com 127.0.0.1 stella.available.gamespy.com 127.0.0.1 eapusher.dice.se 127.0.0.1 stella.prod.gamespy.com 127.0.0.1 stella.ms5.gamespy.com
|
|
|
Post by EDGECOM on Nov 12, 2018 20:12:12 GMT
Some more info if you are using a unmodified bf2142.exe I am pretty sure you will need to modify the host file on the client machine to point to the server and even still I am pretty sure the orginal bf2142.exe has code in it that has to connect to a specific IP that is embedded in the EXE it's self that is why you need a modified exe or some sort of client/listen server to forward the ip but any any rate I know this is in the client setup guide
you can try this in the client host file on the client box that is on the same LAN as the server if your on a different network you will need to get the global IP that the server is being hosted from and change it accordingly
192.168.1.3 ea.com 192.168.1.3 battlefield.ea.com 192.168.1.3 messaging.ea.com 192.168.1.3 eapusher.dice.se 192.168.1.3 fesl.ea.com 192.168.1.3 bf2142-pc.fesl.ea.com 192.168.1.3 stella.ms5.gamespy.com 192.168.1.3 stella.prod.gamespy.com 192.168.1.3 stella.master.gamespy.com 192.168.1.3 stella.available.gamespy.com 192.168.1.3 gamespy.com 192.168.1.3 gpsp.gamespy.com 192.168.1.3 gpcm.gamespy.com 192.168.1.3 news.gamespy.com 192.168.1.3 gamestats.gamespy.com 192.168.1.3 motd.gamespy.com 192.168.1.3 master.gamespy.com
|
|
|
Post by Phantomeis on Nov 12, 2018 21:06:06 GMT
you did good changing your PCs IP in order to not fiddle with the Hex-Edit, so we check that on our list.
i dont think it is firewall related, since the games loads but then crashes after the verification of gamefiles. just for a test do copy the mods/bf2142 folder from that Client PC you got over to your server , overwriting the /mods/bf2142 folder there.
if there is no success, try out ccDaemon once (ingore ccClient). start it, put your servers IP in there and boot up the server. i'm interested in the results there too.
|
|
snazz
New Member
Posts: 24
|
Post by snazz on Nov 13, 2018 0:57:55 GMT
Appreciate the help guys, unfortunately it's still crashing.
As suggested I've tried: - Mirroring the 'mods' folder of the client on the server install. - Updating 'serversettings.con' - Launching 'Project_Remaster_MP' on client and server instead of vanilla. - Updating the hosts files on both client and server. - Running the vanilla server via ccDaemon (not sure how to run the mod through it)
@edgecom the bf2142.exe I'm using is the one in the 'cracked_exe' folder of the pack, with IP already set to 192.168.1.3. Both client and server are on a LAN with no internal firewalls, I can login to the master server and connect to the game server no problems.
Would one of you mind uploading your working client and/or server folders so I can try them? e.g. via MEGA.nz or bittorrent
|
|
|
Post by Phantomeis on Nov 13, 2018 10:12:25 GMT
i'm building this setup again today on a clean system
inside the ccDaemon folder is a config.xml You will find a line there: <ModName>bf2142</ModName> change that.
Also you may or may not find a default.profile file inside ccDaemons folder, this is my input with starting on Cereb Landing. The RCON-Password is default.
<?xml version="1.0" standalone="yes"?> <Profile> <ServerInfo> <ServerInfoID>1</ServerInfoID> <GameIP>192.168.1.3</GameIP> <GamePort>17567</GamePort> <GamespyPort>29900</GamespyPort> <RCONIP>0.0.0.0</RCONIP> <RCONPort>4711</RCONPort> <IsInternet>false</IsInternet> <AllowNATNegotiate>false</AllowNATNegotiate> <PunkbusterEnabled>false</PunkbusterEnabled> <RCONPassword>Ytq5a7lI</RCONPassword> </ServerInfo> <GameInfo> <GameInfoID>1</GameInfoID> <ServerName>Ranked LAN Server</ServerName> <ServerPassword /> <AllowFreeCam>false</AllowFreeCam> <AllowExternalViews>true</AllowExternalViews> <AllowNoseCam>true</AllowNoseCam> <ShowHitIndicator>true</ShowHitIndicator> <DeathCamType>0</DeathCamType> <MaxPlayers>64</MaxPlayers> <PlayersToStart>1</PlayersToStart> <StartDelay>0</StartDelay> <EndDelay>0</EndDelay> <SpawnTime>3</SpawnTime> <ManDownTime>3</ManDownTime> <TicketRatio>100</TicketRatio> <RoundsPerMap>1</RoundsPerMap> <TimeLimit>0</TimeLimit> <ScoreLimit>0</ScoreLimit> <SoldierFF>0</SoldierFF> <VehicleFF>0</VehicleFF> <SoldierFFSplash>0</SoldierFFSplash> <VehicleFFSplash>0</VehicleFFSplash> <TKPunishEnabled>false</TKPunishEnabled> <TKsToKick>3</TKsToKick> <TKPunishByDefault>false</TKPunishByDefault> <VotingEnabled>true</VotingEnabled> <VoteTime>90</VoteTime> <MinPlayersVote>2</MinPlayersVote> <RestartMapDelay>2</RestartMapDelay> <AutoBalanceEnabled>true</AutoBalanceEnabled> <TeamRatioPercent>100</TeamRatioPercent> <AutoRecordDemo>false</AutoRecordDemo> <DemoIndexURL>http://</DemoIndexURL> <DemoDownloadURL>http://</DemoDownloadURL> <AutoDemoHook>adminutils/demo/rotate_demo.exe</AutoDemoHook> <AdminScript>modmanager</AdminScript> <SponsorText /> <SponsorLogoURL /> <WelcomeMessage>Alex hat einen kleinen Stuhl</WelcomeMessage> <BandwidthChoke>0</BandwidthChoke> <EndOfRoundDelay>3</EndOfRoundDelay> <CommunityLogoURL /> <NotEnoughPlayersRestartDelay>15</NotEnoughPlayersRestartDelay> <UseGlobalRank>true</UseGlobalRank> <UseGlobalUnlocks>true</UseGlobalUnlocks> <RadioSpamInterval>6</RadioSpamInterval> <RadioMaxSpamFlagCount>6</RadioMaxSpamFlagCount> <RadioBlockedDurationTime>30</RadioBlockedDurationTime> <DemoQuality>1</DemoQuality> <Ranked>false</Ranked> <ReservedSlots>0</ReservedSlots> <Mod>remastermp</Mod> <MinesFF>0</MinesFF> <ShowTKPunishAnnouncements>0</ShowTKPunishAnnouncements> <CustomCommands /> <CoopBotCount>32</CoopBotCount> <CoopBotRatio>50</CoopBotRatio> <CoopBotDifficulty>80</CoopBotDifficulty> <VotingEnableTeamOnly>false</VotingEnableTeamOnly> <InfantryOnly>false</InfantryOnly> <MaxRank>false</MaxRank> <UnlockLevelMin>false</UnlockLevelMin> <UnlockLevelMax>-1</UnlockLevelMax> <EnableTitanMovement>true</EnableTitanMovement> <AllowSpectators>false</AllowSpectators> <CustomMapURL>http://www.2142cc.com</CustomMapURL> </GameInfo> <RunningMaps> <RunningMapID>0</RunningMapID> <Order>0</Order> <MapName>Cerbere Landing</MapName> <GameMode>gpm_coop</GameMode> <MaxPlayers>32</MaxPlayers> </RunningMaps> <VOIPInfo> <VOIPInfoID>1</VOIPInfoID> <IsRemote>false</IsRemote> <ServerRemoteIP /> <ServerPort>55125</ServerPort> <BFClientPort>55123</BFClientPort> <BFServerPort>55124</BFServerPort> <SharedPassword /> <Quality>3</Quality> <IsEnabled>true</IsEnabled> </VOIPInfo> <ScoreInfo> <ScoreInfoID>1</ScoreInfoID> <Death>0</Death> <Kill>2</Kill> <AssistKill>1</AssistKill> <InDirectKill>1</InDirectKill> <Tk>-4</Tk> <Heal>1</Heal> <SoldierRevive>2</SoldierRevive> <Repair>1</Repair> <VehicleRevive>2</VehicleRevive> <Ammo>1</Ammo> <FlagCapture>5</FlagCapture> <FlagReturn>2</FlagReturn> <ControlPointCapture>4</ControlPointCapture> <Objective>5</Objective> <DriverPassenger>1</DriverPassenger> <TeamDamage>-1</TeamDamage> <TeamVehicleDamage>-2</TeamVehicleDamage> <HealScoreLimit>100</HealScoreLimit> <RepairScoreLimit>100</RepairScoreLimit> <AmmoScoreLimit>100</AmmoScoreLimit> <TeamDamageLimit>50</TeamDamageLimit> <TeamVehicleDamageLimit>25</TeamVehicleDamageLimit> </ScoreInfo> </Profile>
|
|
|
Post by EDGECOM on Nov 13, 2018 17:10:19 GMT
Have you patch the the BF2142_w32ded.exe with fesl_1.51.lpatch from the exe_patch folder also because your client and server on the same LAN you will need to change this setting back to 0 sv.internet 0
Also check to make sure you server's IP address is authorized in the MYSQL database Ranked LAN Server with FESL GuideGo to the Installing the FESL-MasterServer Database section and make sure you use 192.168.1.3 what version of windows are you using for the client
|
|
|
Post by Phantomeis on Nov 13, 2018 21:22:08 GMT
looking at his screenshots, he did all of this.
for some reason i run into the same issue, it got even weirder because i can log into the master server, but dont get any stats into the game back from it.
|
|
|
Post by EDGECOM on Nov 14, 2018 3:50:55 GMT
I can see the fesl and bf2142 servers are running and they will run just fine however If the BF2142 server IP is not located in the authorized server list in the MYSQL database it will crash because it can not retrieve player data or create it I have uploaded the current version of the mod let me know if that works or not Project Remaster MPanother thing I just noticed look in the settings folder and make sure ccDaemon did not delete or alter files Mine just delete all the files in the settings folder 
|
|
snazz
New Member
Posts: 24
|
Post by snazz on Nov 14, 2018 5:51:02 GMT
Interesting, still no dice here. I've installed the current version of PRMP on both PCs then hosted it through ccDaemon with recommended config.xml and default.profile. - sv.internet set to 0 - bf2142_w32ded.exe is patched according to instructions - server IP in MySQL is 192.168.1.3 I'm running Windows 7 Pro 64bit on client and Windows 10 Pro on the server. Attached screens of crash on Cerbere Landing PRMP and the SQL admin page. Attachments:

|
|
|
Post by EDGECOM on Nov 14, 2018 15:01:16 GMT
lets try and make the server without using ccDaemon you can try this in any order you want SERVER: you can copy the server exe and the python script folder to save some steps before you uninstall the server the reason I did not say to keep mod folder is because ccDaemon edits files in the mods folder uninstall BF2142 server and delete the Battlefield 2142 Server folder after the uninstaller finishes reinstall BF2142 server re-patch the exe copy over the python script files and the Project_Remaster_MP MOD CLIENT: lets make sure you have the proper runtimes and DX9C installed Runtimes All In One Pack DX9c DownloadCheck compatibility mode on the client I do not run mine in ether and I have not had any problems you might need to run in admin mode or windows xp compatibility mode or both every system is different. I see from the pic your running the client in windowed mode try running in full-screen mode add +fulllscreen 1 to the client shortcut or go to the shortcut folder located in the project_remaster_mp folder and right click PR_Make_Shortcut.bat and run as admin and it will make it for you. if you use this method you will need to change the +szx 1920 +szy 1080 to whatever your current desktop resolution is set at I know this is crazy but we will get you playing BF2142 again just wait and we will figure it out.
|
|