Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   String Arrrays (https://forums.graalonline.com/forums/showthread.php?t=32262)

sage_chaozu 06-25-2002 06:32 AM

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?

Falcor 06-25-2002 06:55 AM

Could be

adam 06-26-2002 07:20 AM

Quote:

Originally posted by Falcor
Could be
Could be.

But I don't know. :-( Sorry.

I only used string arrays once. Just becouse it's easy to do addstring

konidias 07-01-2002 03:44 AM

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.

jeff335 07-01-2002 05:14 AM

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.

sage_chaozu 07-09-2002 01:30 AM

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.