Solved Game Ends After Loading Custom Level

Question that is answered or resolved.

Redjax

New member
I'm having an issue with a custom level I made. I pick a player character, and when my custom level loads, right away it fades out and the game ends. Is there any way I can fix it?
 
Solution
I think I fixed the problem, hopefully. My custom stage had no enemies, so I added one. So now, once I defeat the enemy, then the level/game will end. It wasn't the hagane model throwing errors after all. Thanks for your help.
This is what the OpenBorLog says.

Total Ram: 8412778496 Bytes
Free Ram: 938438656 Bytes
Used Ram: 6873088 Bytes

debug:nativeWidth, nativeHeight, bpp, Hz 1920, 1080, 24, 60
OpenBoR v3.0 Build 6391, Compile Date: Apr 8 2020

Game Selected: ./Paks/bor.pak.txt

FileCaching System Init...... Disabled
Initializing video............
Reading video settings from 'data/video.txt'.

Colordepth is depreciated. All modules are displayed with a 32bit color screen.

Initialized video............. 320x240 (Mode: 0)

Loading menu.txt............. Done!
Loading fonts................ 1 2 3 4 Done!
Timer init................... Done!
Initialize Sound..............
Loading sprites.............. Done!
Loading level order.......... Done!
Loading model constants...... Done!
Loading script settings...... Done!
Loading scripts.............. Done!
Loading models...............

Cacheing 'Flash' from data/chars/misc/flash.txt
Cacheing 'Mario' from data/chars/mario/mario.txt
Cacheing 'Cyclops' from data/chars/cyclops/cyclops.txt
Cacheing 'Hagane' from data/chars/hagane/hagane.txt
Cacheing 'Kreiger' from data/chars/kreiger/kreiger.txt
Cacheing 'Jonathan' from data/chars/jon/jon.txt
Cacheing 'Charlotte' from data/chars/char/char.txt
Cacheing 'Maria' from data/chars/maria/maria.txt
Cacheing 'SkelBlaze' from data/chars/skelblaz/skelblaz.txt
Cacheing 'Chopper' from data/chars/chopper/chopper.txt
Cacheing 'ChopperG' from data/chars/chopper/chopperG.txt
Cacheing 'PhSkull' from data/chars/phskull/phskull.txt
Cacheing 'PhSkullR' from data/chars/phskull/phskullR.txt
Cacheing 'BloodSkel' from data/chars/blodskel/blodskel.txt
Cacheing 'Specter' from data/chars/specter/specter.txt
Cacheing 'Hantu' from data/chars/specter/hantu.txt
Cacheing 'RollRat' from data/chars/rollrat/rollrat.txt
Cacheing 'NBigBat' from data/chars/bat/Nbigbat.txt
Cacheing 'NFlier' from data/chars/robot/Nflier.txt
Cacheing 'NOwl' from data/chars/owl/NOwl.txt
Cacheing 'NEvir' from data/chars/evir/NEvir.txt
Cacheing 'Dirk' from data/chars/kreiger/dirk.txt
Cacheing 'MShot' from data/chars/maria/mshot.txt
Cacheing 'NBFBAll' from data/chars/bat/NBFBall.txt
Cacheing 'Burst' from data/chars/robot/burst.txt
Cacheing 'NEvBall' from data/chars/evir/NEvBall.txt
Cacheing 'Apple' from data/chars/misc/apple.txt
Cacheing 'Meat' from data/chars/misc/meat.txt
Cacheing '1up' from data/chars/misc/1up.txt
Cacheing 'Money' from data/chars/misc/money.txt
Cacheing 'Gold' from data/chars/misc/gold.txt
Cacheing 'Time' from data/chars/misc/time.txt
Cacheing 'Empty' from data/chars/misc/empty.txt
Cacheing 'TRoda' from data/bgs/train/troda.txt
Cacheing 'Hole' from data/bgs/watrfall/hole.txt
Cacheing 'Patch' from data/bgs/watrfall/patch.txt
Cacheing 'Plant' from data/bgs/watrfall/plant.txt
Cacheing 'WaterfallW' from data/bgs/watrfall/wfallW.txt
Cacheing 'Plat03' from data/chars/misc/platform/plat03.txt
Cacheing 'Plat100' from data/chars/misc/platform/plat100.txt
Cacheing 'Plat320' from data/chars/misc/platform/plat320.txt
Cacheing 'Wall100' from data/chars/misc/platform/wall100.txt
Cacheing 'SPlat' from data/bgs/skyscrap/splat.txt
Cacheing 'StatPlat' from data/bgs/station/statplat.txt
Cacheing 'StatPlatL' from data/bgs/station/statpltL.txt
Cacheing 'TrPlat' from data/bgs/train/trplat.txt
Cacheing 'WFPlat1' from data/bgs/watrfall/wfplat1.txt
Cacheing 'WFPlat2' from data/bgs/watrfall/wfplat2.txt
Cacheing '1spawn' from data/chars/misc/1spawn.txt
Cacheing '2spawn' from data/chars/misc/2spawn.txt
Cacheing 'SFXWtr' from data/bgs/watrfall/SFXWtr.txt

Loaded 'Flash' from data/chars/misc/flash.txt
Loaded 'Mario' from data/chars/mario/mario.txt
Loaded 'Cyclops' from data/chars/cyclops/cyclops.txt
Loaded 'hagane' from data/chars/hagane/hagane.txt
WARNING: data/chars/hagane/hagane.txt tries to load a non-numeric value at jumpframe, where a number is expected!
erroneus string: .8
WARNING: data/chars/hagane/hagane.txt tries to load a non-numeric value at chargetime, where a number is expected!
erroneus string: .5
WARNING: data/chars/hagane/hagane.txt tries to load a non-numeric value at jumpframe, where a number is expected!
erroneus string: -.2
WARNING: data/chars/hagane/hagane.txt tries to load a non-numeric value at jumpframe, where a number is expected!
erroneus string: .8
WARNING: data/chars/hagane/hagane.txt tries to load a non-numeric value at jumpframe, where a number is expected!
erroneus string: .5
WARNING: data/chars/hagane/hagane.txt tries to load a non-numeric value at attack, where a number is expected!
erroneus string: .4
Command 'counterframe' not understood in file 'data/chars/hagane/hagane.txt'!
WARNING: data/chars/hagane/hagane.txt tries to load a non-numeric value at landframe, where a number is expected!
erroneus string: data/chars/hagane/jump2.gif
WARNING: data/chars/hagane/hagane.txt tries to load a non-numeric value at landframe, where a number is expected!
erroneus string: data/chars/hagane/get.gif
Loaded 'Kreiger_Blitz' from data/chars/kreiger/kreiger.txt
Loaded 'Jonathan' from data/chars/jon/jon.txt
Loaded 'Charlotte' from data/chars/char/char.txt
Loaded 'Maria' from data/chars/maria/maria.txt
sound_load_sample can't load sample from file 'data/chars/maria/alu_swr.wav'!
Loaded 'NBigBat' from data/chars/bat/Nbigbat.txt
Loaded 'NFlier' from data/chars/robot/Nflier.txt
Loaded 'NOwl' from data/chars/owl/NOwl.txt
Loaded 'NEvir' from data/chars/evir/NEvir.txt
Loaded 'dirk' from data/chars/kreiger/dirk.txt
Loaded 'mshot' from data/chars/maria/mshot.txt
Loaded 'NBFBall' from data/chars/bat/NBFBall.txt
Loaded 'Burst' from data/chars/robot/burst.txt
Loaded 'NEvirBall' from data/chars/evir/NEvBall.txt

Loading models............... Done!
Object engine init........... Done!
Input init................... No Joystick(s) Found!
Done!
Create blending tables....... Done!
Save settings so far........ Done!


Level Loading: 'data/levels/pyramidpit.txt'
Total Ram: 8412778496 Bytes
Free Ram: 814718976 Bytes
Used Ram: 122634240 Bytes

Level Loaded: 'data/levels/pyramidpit.txt'
Total Ram: 8412778496 Bytes
Free Ram: 814059520 Bytes
Used Ram: 124227584 Bytes
Total sprites mapped: 518

Level Unloading: 'data/levels/pyramidpit.txt'
Total Ram: 8412778496 Bytes
Free Ram: 813813760 Bytes
Used Ram: 124223488 Bytes

RAM Status:
Total Ram: 8412778496 Bytes
Free Ram: 814071808 Bytes
Used Ram: 123293696 Bytes


************ Shutting Down ************

OpenBOR v3.0 Build 6391, Compile Date: Apr 8 2020
Presented by the OpenBOR Team.
www.chronocrash.com
OpenBOR is the open source continuation of Beats of Rage by Senile Team.

Special thanks to SEGA and SNK.

Total Ram: 8412778496 Bytes
Free Ram: 824320000 Bytes
Used Ram: 115474432 Bytes

Release level data...........
Done!

Release graphics data........ Done!
Release game data............

Unload 'Flash' ............Done.
Unload 'Mario' ............Done.
Unload 'Cyclops' ............Done.
Unload 'hagane' ............Done.
Unload 'Kreiger_Blitz' ............Done.
Unload 'Jonathan' ............Done.
Unload 'Charlotte' ............Done.
Unload 'Maria' ............Done.
Unload 'NBigBat' ............Done.
Unload 'NFlier' ............Done.
Unload 'NOwl' ............Done.
Unload 'NEvir' ............Done.
Unload 'dirk' ............Done.
Unload 'mshot' ............Done.
Unload 'NBFBall' ............Done.
Unload 'Burst' ............Done.
Unload 'NEvirBall' ............Done.

Release game data............ Done!
Release timer................ Done!
Release input hardware....... Done!
Release sound system......... Done!
Release FileCaching System... Done!

**************** Done *****************

OpenBOR v3.0 Build 6391, Compile Date: Apr 8 2020
Presented by the OpenBOR Team.
www.chronocrash.com
OpenBOR is the open source continuation of Beats of Rage by Senile Team.

Special thanks to SEGA and SNK.
 
Your hagane model is throwing all kinds of errors. None of them are fatal, but I would start by removing it temporarily and trying again.
 
I think I fixed the problem, hopefully. My custom stage had no enemies, so I added one. So now, once I defeat the enemy, then the level/game will end. It wasn't the hagane model throwing errors after all. Thanks for your help.
 
Solution
I think I fixed the problem, hopefully. My custom stage had no enemies, so I added one. So now, once I defeat the enemy, then the level/game will end. It wasn't the hagane model throwing errors after all. Thanks for your help.

Oh, I didn't realize your level was empty. Yes, the engine interprets that is finished and exits. You can make a level without enemies using an end level item. Some people also just make invisible dummy enemies.

Either way glad you figured it out, but I still recommend you work on that model throwing errors.

If you have more questions make sure to post them.

DC
 
Back
Top Bottom