Solved Invalid filename used in openfilestream.

Question that is answered or resolved.

dantedevil

Well-known member
I have this message in the end of OpenBor after crash.

The problem seems to be about this entity:

Code:
name     end4-2-1
health    10
type    obstacle
shadow    0

load GO4-3-1

onkillscript data/bgs/branches/end4-2-1.c

anim idle
    delay    10
    offset    27 63
    bbox    0 -15 50 82
    frame    data/chars/misc/empty.png


anim fall
    delay    4
    offset    1 1
    frame    data/chars/misc/empty.png
        subentity GO4-3-1
        spawnframe 2 1 206 1 1
    frame    data/chars/misc/empty.png
    frame    data/chars/misc/empty.png


When kill this entity the OpenBor crash before shows the dialog end4-2-1.c.

I can't find any clue abouy the problem.

In the log only can see this message:
Code:
Level Loaded:    'data/levels/stage4-2-1.txt'
Total Ram: 4294967295 Bytes
 Free Ram: 4294967295 Bytes
 Used Ram: 155381760 Bytes
Total sprites mapped: 7696

Invalid filename used in openfilestream.

Nothing more.
 
Last edited:
Solution
I don't know the system you use, but I guess end4-2-1.c is not the dialog file itself, it's a script that open this dialog file. So I guess that dialog file file doesn't exist (check the name it uses) and that's why you get a crash.
I don't know the system you use, but I guess end4-2-1.c is not the dialog file itself, it's a script that open this dialog file. So I guess that dialog file file doesn't exist (check the name it uses) and that's why you get a crash.
 
Solution
Back
Top Bottom