Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-25-2002, 06:32 AM
sage_chaozu sage_chaozu is offline
Registered User
sage_chaozu's Avatar
Join Date: Feb 2002
Location: Florida, USA
Posts: 143
sage_chaozu will become famous soon enough
Send a message via ICQ to sage_chaozu Send a message via AIM to sage_chaozu Send a message via MSN to sage_chaozu Send a message via Yahoo to sage_chaozu
Question 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?
__________________
LETS BLAST THROUGH WITH SONIC SPEED!!
Reply With Quote
  #2  
Old 06-25-2002, 06:55 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Could be
__________________

subliminal message: 1+1=3
Reply With Quote
  #3  
Old 06-26-2002, 07:20 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura about
Send a message via AIM to adam
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
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #4  
Old 07-01-2002, 03:44 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
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.
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #5  
Old 07-01-2002, 05:14 AM
jeff335 jeff335 is offline
Registered User
Join Date: Oct 2001
Posts: 605
jeff335 is on a distinguished road
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.
__________________

Quote:
Some people like standing around talking to idiots in the real world, and some don't. Neither choice is inherently better than the other.

-Kaimetsu
Reply With Quote
  #6  
Old 07-09-2002, 01:30 AM
sage_chaozu sage_chaozu is offline
Registered User
sage_chaozu's Avatar
Join Date: Feb 2002
Location: Florida, USA
Posts: 143
sage_chaozu will become famous soon enough
Send a message via ICQ to sage_chaozu Send a message via AIM to sage_chaozu Send a message via MSN to sage_chaozu Send a message via Yahoo to sage_chaozu
ohh

Thanks Konidas... I see what you mean.
__________________
LETS BLAST THROUGH WITH SONIC SPEED!!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:48 AM.


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