Menu

#60 DDF parser should detect unterminated " or (

closed
3
2003-10-29
2003-10-17
Anonymous
No

I'm just about done with my mod and when I tried to
playtest it, I get this stupid warning:

DDF_MainProcessChar: Read Buffer Size Exceeded, Size:
1024
Error Occured in Line 3825 of DDFTHING
Error Occured in entry [WW2_BRITISH_LIZARD:5557]
Line Contents: BRTL:C:4:NORMAL:CHASE

I've never seen this warning before and it's scaring the
hell outta me. Does anyone know what this means and
does anyone know how to fix this? Thanks in advanced!

Discussion

  • Andrew Apted

    Andrew Apted - 2003-10-17

    Logged In: YES
    user_id=11869

    It means something that EDGE is parsing (a keyword, string,
    state line, etc) exceeds 1024 characters.

    My guess is that you have an open bracket "(" which is
    missing the closing ")" bracket somewhere before line 3825
    (roughly 1000 characters earlier, if that helps :). Maybe
    an unterminated string could also cause this error.

     
  • Luke Brennan

    Luke Brennan - 2003-10-20

    Logged In: YES
    user_id=457722

    The problem was he was missing a " in the line
    PAIN_SOUND=BRTPN?"; and therefore edge was reading a big
    wallop of ddf until it either came across another " or (in his
    case) ran out of string buffer.

     
  • Andrew Apted

    Andrew Apted - 2003-10-21

    Logged In: YES
    user_id=11869

    I've renamed this bug with a better description.

     
  • Andrew Apted

    Andrew Apted - 2003-10-21
    • priority: 5 --> 3
    • summary: DDF_MainProcessChar: Read Buffer Size Exceeded, Size: 1024 --> DDF parser should detect unterminated " or (
    • status: open --> open-accepted
     
  • Andrew Apted

    Andrew Apted - 2003-10-29

    Logged In: YES
    user_id=11869

    The code already detected an unterminated (.
    I've added code to check for an unterminated string.
    It's possible that this will break someone's mod if they use
    valid strings which overflow the line (especially level
    finale texts in language.ddf).

     
  • Andrew Apted

    Andrew Apted - 2003-10-29
    • assigned_to: nobody --> ajapted
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB