Page 1 of 1

BF2 dedicated server refuses to load PR

Posted: 2020-03-21 06:45
by X0R
Testing some stuff, "Bf2_w32ded.exe +modPath mods/bf2 +developer 1 +ignoreAsserts 1" works, "Bf2_w32ded.exe +modPath mods/pr +developer 1 +ignoreAsserts 1" doesn't, though it used too not too long ago, i didn't know where to post this if not here.

Always results in a debug assert error regardless of args,

Code: Select all

Debug assertion failed!

Version: 1.5.3153-802.0 Build date:
Module: Python
File: C:\dice\Projects\BF2Branches\Patch_1_50\Code\BF2\Game\Python\PythonHost.cpp
Line: 281

Text: bf2 init_module failed: stderr: Traceback (most recent call last):
stderr:   File "python\bf2\__init__.py", line 75, in init_module
stderr:     import game.scoringCommon
stderr:   File "mods/pr/python\game\__init__.py", line 7, in ?
stderr:     import realityinit
stderr: ImportError: Bad magic number in mods/pr/python\game\realityinit.pyc
Maybe it's time the pr dedicated server became more accessible, with out a license it still won't be listed on the master server browser & vanilla bf2 utilities are simply too unstable and unpredictable with pr configs & assets... Because atm, it's making, making changes to pr needlessly complicated & tedious,just my two cents.


Need to validate some changes i'm testing on local server,on dedicated server, appreciate any workaround/fix.

Re: BF2 dedicated server refuses to load PR

Posted: 2020-03-21 10:00
by AlonTavor
PR is not supposed to work with BF2. Apply for license.

Re: BF2 dedicated server refuses to load PR

Posted: 2020-03-21 10:55
by X0R
AlonTavor wrote:PR is not supposed to work with BF2. Apply for license.
It did & licensing system accounted for workarounds articulated in posts linked below to simplify server side modding & map testing, i guess no more, i appreciate the clarification, though lacking in reason, it offered clarity.

https://www.realitymod.org/forum/showth ... ?p=2057029
https://www.realitymod.com/forum/showth ... ost2068401

Cheers.

Re: BF2 dedicated server refuses to load PR

Posted: 2020-03-21 13:01
by AlonTavor
Reason is that we've made a load of binary changes and recompiled the python library.

Re: BF2 dedicated server refuses to load PR

Posted: 2020-03-21 15:30
by X0R
much obliged