Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-26-2005, 10:18 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:22 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.