![]() |
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. |
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 |
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 ?
|
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. |
:( 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. |
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. |
| All times are GMT +2. The time now is 10:52 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.