#MOBILES #15800 green pawn~ a green pawn~ A green pawn stands here proudly. ~ A green chess pawn. Tall in stature, and tough in spirit, it fights to overthrow the evils of the black chess pieces. (line 19)~ human~ AGHTW CF 777 0 55 6 10d204+1078 55d10+100 5d19+28 none -24 -24 -24 -7 CEFKN H 0 I stand stand none 4000 AHMV ABCDEFGHIJK medium unknown #15801 red pawn~
Am I the only one bothered by the tiny snippet of an area above exceeding the limit of 1413120?
David, not quite sure how it's going there (my memory use understanding could be improved), but isn't it loading in all the areas in one spot? That'd be one _long_ string, especially as you add more and more areas.
Rom uses a heap allocation for strings. So technically all the strings are really one big string with a \0 delimiter. MAX_STRING refers to the length of that massive hunk of string *catcall*. Assuming that you're actually exceeding the limit, simply increasing MAX_STRING would fix the problem. However, if there's an error somewhere and you're reading massive amounts of data, then increasing it may not be the best thing. Best to first find out the cause (error, or just size) and then fix appropriately.