
03-26-2005, 10:18 PM
|
|
Former Classic Staff
|
 |
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
|
|
Array Size Limits?
|
Nightmareangel, the GC Admin on Classic, recently asked me to fix a script for him. The script changes tiles in the level. I ran through it, and found out that it broke when it hit the tile array. I did a little bit of meticulous testing and found that the array would work only to 254 numbers. I was wondering whether or not this was constant. It would be nice to know if there were alternative means to scripting this, too, like having the array in a text file on the server and then having the script read tokens from the text file instead of an array.
It would also be nice to have some suggestions on how to deal with this limitation, because I'm currently working on a tile editor script that has clipboard and tolerance options. Any ideas would be appreciated. |
|
|
|