![]() |
IndexFiles(dir,ext)
IndexFiles(dir,ext,string)
Creates a space delimited string array of filenames, minus the extensions, in a given directory dir - A subdirectory of the levels directory, for example, IndexFiles(webgifs,ext) would get you to the webgifs folder ext - the file extention to list string - the string to write the list to examples: IndexFiles(midis,mid,client.midi); would list all of the midi files in the graal2001/levels/midis folder, and write them to the client.midi string :) :) |
I've tried asking for such things many times. I even made a list of posible commands that were exactly like the stringarray commands, only would effect each line (Dilimited by a NewLine). and stuff, but I think this isnt a top prority. ateast is hasnt since the first time I asked. X_X. its a shame really, it would be a good thing.
|
Other than a music player, what's the point?
|
Could also be used for an automatic update-level bot, an image/gani downloader...
|
Quote:
Quote:
|
Isn't there already a message code to test if a player has a certain file?
|
Quote:
1) Like something that runs a for loop through all the levels to send an update command to RC. 2) I mean a preloader to facilitate loading all such files in advance to reduce load times etc later. |
Quote:
|
The point would be to update all levels swiftly to remove putnpcs left around by hackers etc
|
Quote:
|
Quote:
|
Quote:
|
I always thought it was Clientside, but I guess I could be wrong, the last time I used it was on a server w/o an NPCs Server
|
Quote:
|
Warning: spam
ok, ... mmhmm putnpc and clientside information are stored in the .ext of the sistring data line of the newstat production folder next to the oldstat production folder.. this could easily be mistaken for a new code that would update levels quickly and swiftly, the .txt also in there will explain all the file ordinance which can also be noted as the Systric datafileCdat the {playerstopdancefart} will help in various areas of the dancing raccoons. I know I am an idiot when it comes to scripting I just read this and have no idea what any of this means please delete this as soon as you see it.. its late and im about to faint.. time is going.. I wish I knew how to script bah damn Chicken wings.. yes Kai I know how big of an idiot I made myself look by posting this. Yet I still posted it HA! I am an idiot with .. no self esteem... please kill me please.. |
Quote:
scary thing is, that almost makes sense..... |
Quote:
I assumed we were speaking of serverside files. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
I would just keep a list in a database npc. :-/ No need to have a script search for stuff when you can find it yourself.
|
| All times are GMT +2. The time now is 10:50 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.