![]() |
String Arrrays
Okay I know all about string arrays and how to use them and all. But I have ran into a problem. I am using a string array to store the different types of hats I have by storing their filename in there. Since all hats are not conviently the same name with a different number. I have noticed that once I get so many hats, log off and log back on. Some hats do not show up because the string array cuts off some of the ending hats. Anybody got a reason why? Is there a limit on size of the string?
|
Could be
|
Quote:
But I don't know. :-( Sorry. I only used string arrays once. Just becouse it's easy to do addstring |
You can't have large string arrays in client strings or server strings.. however you can have large string arrays using a "this.string" in a database npc. (npc on the npc server)
If you have a huge client string with like 80 different items in the stringlist, it will bug out and screw up all the players variables online. For example, if you made a client string that had 70 random numbers in it, and saved it to a player, then opened up that players account in RC, it would look all jumbled up, with variables even showing up in the treasure chests box. I have no idea what the limit of string arrays are though. |
It seems to me that string array commands are just a way of handling comma-separated substrings within a string. So it'd be the same as a string.
|
ohh
Thanks Konidas... I see what you mean.
|
| All times are GMT +2. The time now is 12:16 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.