Description:
attempting to create local server and throws error:
Version: 1.7.4.2
Module: GameServer
File:c:\dice\Projects\BF2Branches\Patch_1_50\Code\BF2\Game\GameServer\GameServer.cpp
Line:3822
Text: failed to initialize gamemode
Current confile:
Create Local Server fails
-
Arab
- PR:BF2 Developer
- Posts: 2898
- Joined: 2012-05-18 03:37
Re: Create Local Server fails
In the pr folder, inside python/game, __init__.py is messed up probably, can happen if you reset your PC when running the game which corrupts it.
Open the file into Notepad, copy and paste into it the following and save:
Open the file into Notepad, copy and paste into it the following and save:
Code: Select all
# ------------------------------------------------------------------
#
# PROJECT REALITY SERVER INIT
#
# This file can be edited by any server (public or private).
#
import realityinit
realityinit.init(False) # Switch to True if using debugger executables (PRLauncher.exe will automatically modify this value accordingly)
# ------------------------------------------------------------------
# Add your custom script's initilization below-
whattheh3ll
- Posts: 19
- Joined: 2010-02-26 23:29
Re: Create Local Server fails
hey that worked, awesome, thanks. close it out

