Page 1 of 1
Create Local Server fails
Posted: 2023-04-23 16:54
by whattheh3ll
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:
Re: Create Local Server fails
Posted: 2023-04-27 10:13
by Arab
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:
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
Re: Create Local Server fails
Posted: 2023-05-02 03:08
by whattheh3ll
hey that worked, awesome, thanks. close it out