Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

doublecross loadLevelData() error #2

Open
ghost opened this issue Oct 29, 2017 · 1 comment
Open

doublecross loadLevelData() error #2

ghost opened this issue Oct 29, 2017 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Oct 29, 2017

If you load the map "doublecross" with Parabots v0.92.1 installed, the error message "The map is corrupt and cannot be played with bots ..." appears or the game exits immediately.

the function "loadLevelData()" from pb_mapimport.cpp returns false in this case. As a workaround you can copy the navpoints from crossfire (the.pcf and .pnf file) an rename them to doublecross. After this, everything works fine.

doublecross has the same airstrike-button as crossfire, so here is a possible solution approach:
in pb_mapimport.cpp at line 327 add a "special import" for doublecross:

if ((mod_id==VALVE_DLL || mod_id==AG_DLL) && strcmp( STRING(gpGlobals->mapname), "doublecross" )==0) { ... }

doublecross.zip

@nekonomicon nekonomicon added the bug label Nov 2, 2017
@va1ve
Copy link

va1ve commented Apr 17, 2018

Hope for a fix and wait for new version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants