Thread: Array limit
View Single Post
  #1  
Old 01-20-2006, 02:12 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Array limit

I was scripting an inventory, when I found out that arrays are limited to 29 entries. This is a problem, because I'm saving all of a player's weapons and items into a clientr array. It uses an 'archetype,category,quantity' format, so each different weapon requires 3 entries.

Is it possible to remove or break the limit on an array's size?
It's holding the system back a bit, since it doesn't allow people to carry more than 9 types of weapons.

EDIT: My bad, it's only RC. If I change the array to include more than 29 entries, it doesn't save the 30th and above. Could this be changed?