BF2 dedicated server refuses to load PR

If you find a bug within PR:BF2 (including PRSP), please report it here.
Post Reply
X0R
Posts: 8
Joined: 2020-02-15 13:10

BF2 dedicated server refuses to load PR

Post 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.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: BF2 dedicated server refuses to load PR

Post by AlonTavor »

PR is not supposed to work with BF2. Apply for license.
X0R
Posts: 8
Joined: 2020-02-15 13:10

Re: BF2 dedicated server refuses to load PR

Post 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.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: BF2 dedicated server refuses to load PR

Post by AlonTavor »

Reason is that we've made a load of binary changes and recompiled the python library.
X0R
Posts: 8
Joined: 2020-02-15 13:10

Re: BF2 dedicated server refuses to load PR

Post by X0R »

much obliged
Post Reply

Return to “PR:BF2 Bugs”