Blockland Forums > Modification Help

Buffer Overrun?

Pages: << < (2/2)

Red_Guy:

A buffer overrun (and crash) happens when one of your echo'd lines is more than 4096 characters.
if you want to see the data, you will need to echo it to a file.

Iban:

Make Slayer.mapCycle a ScriptObject.
Make every Slayer.mapCycle.missionData its own ScriptObject.
Make each field an element on an individual missionData.

Problem Sovled.

Greek2me:


--- Quote from: Red_Guy on April 29, 2011, 12:00:20 AM ---A buffer overrun (and crash) happens when one of your echo'd lines is more than 4096 characters.
if you want to see the data, you will need to echo it to a file.

--- End quote ---
Yep, 4096 is the character count of what it echoed before it crashed. Thanks, that explains a lot.


Warning - while you were typing...


--- Quote from: Iban on April 29, 2011, 12:09:46 AM ---Make Slayer.mapCycle a ScriptObject.

--- End quote ---
It already is a scriptObject, did you read anything?

--- Quote from: Iban on April 29, 2011, 12:09:46 AM ---Make every Slayer.mapCycle.missionData its own ScriptObject.
Make each field an element on an individual missionData.

--- End quote ---
Yep, that's what I ended up doing earlier.

Iban:

Wow, thank you for nitpicking my post to try and insult me and end up using my idea anyways, you jerk.

Greek2me:


--- Quote from: Iban on May 01, 2011, 11:47:43 AM ---Wow, thank you for nitpicking my post to try and insult me and end up using my idea anyways, you jerk.

--- End quote ---
What?

I asked if you'd read the OP, because I'd already stated that it was a SO there. Then I agreed that was a good way to do it and had done it that way.

Really, no offense intended in there, sorry if it came off that way.

Pages: << < (2/2)

Go to full version