Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-27-2006, 09:08 PM
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
Folder capacity

Just wondering, is there any limit to how many files a folder can hold?
I've got an NPC on Zodiac generating 100,000+ new armor archetypes with a prefix/suffix system (think Diablo II)

Will anything get screwed up by the massive amount of files?
I'm only generating one file per second, to keep the NPC Server alive.
Reply With Quote
  #2  
Old 08-27-2006, 10:36 PM
Gantor Gantor is offline
Mean Machine
Join Date: Aug 2006
Location: United States
Posts: 36
Gantor is on a distinguished road
Send a message via AIM to Gantor
Yes, you will most likely get a decompression error, and everytime you attempt to open the overfilled folder, your RC will freeze (Anyone that trys to open it that is).

Im unaware of the space limit though.

Refer here: http://forums.graalonline.com/forums...ad.php?t=58703
__________________


[AIM] Gantor Graal
[E-Mail] [email protected]
Reply With Quote
  #3  
Old 08-27-2006, 11:38 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
There is a limit on how many megabytes scripts are allowed to write (data added to files) per hour, need to add something to display that so that you can check that and eventually change the scripts. For RC you just need to modify your folderrights if there are too many files in a folder, best would be to save the things in subfolders depending on the start of the object name or so. Why do you need 100000+ object types though ?
Reply With Quote
  #4  
Old 08-28-2006, 02:35 PM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
100,000 objects, which are new armours and equipment for players!

Yen is generating every permutation possible with a set of keywords and suffixes, and the number of possible permutations is about 100,000 or so.

This is a big plus for players, as they'll have tons of new items.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #5  
Old 08-28-2006, 07:32 PM
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
Yeah, I see.

It would have been more efficient to have just rescripted the whole item system rather than generating all of this new arcs, but there was so much involved that I was afraid of breaking or missing something.
Reply With Quote
  #6  
Old 08-28-2006, 07:47 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
You could just add a modifyed to the item string that the player has. Example:

Normal case: clientr.items=""arcname","quanty"",""arcname","qua nty"" ETC ETC
New case: clientr.items=""arcname","quanty","PREFIX","SUFFIX "",""arcname","quanty","PREFIX","SUFFIX"" ETC ETC

So the prefix/suffix could be set whenever the player gains the item.
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
Reply


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 11:44 AM.


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