![]() |
Filebrowser for a Client-RC
Does anyone know how to load the filebrowser for a Client-RC?
I know its a requesttext() operation, but I don't know what to request :( I've tried requesttext("folders", player.account); but that doesn't work ;( |
Ignored as usual :cry:
|
When clientside, does this produce any result in your F2 window?
PHP Code:
|
That produced
folders heads/,images/,levels/,levels/bodies/,levels/ganis/,levels/guilds/,levels/heads/,levels/images/,levels/shields/,levels/swords/,logs/,npcs/,scripts/,shields/,temp/,weapons/ x.x |
Then I assume that your folderlist is being returned in temp.textoptions in that case. You should try sending a folder as requesttext()'s second parameter to see if you get a file listing in the same way. Then you can use the information to build your filemanager.
|
And I just break down the array (Perferably using a for loop) and put it into a list / menu or whatever?
|
Yep, something like a GuiTreeViewCtrl for the folder tree and a GuiTextListCtrl for a file list.
|
Nice. This is what I have:
http://img.photobucket.com/albums/v2...ileBrowser.png :D Now I need to figure out how to download files with it :x |
Does anyone know how to make it download a file?
Isn't it a sendText() thing or something? |
This is an offhand comment but thats is a nice window theme you got there. Would you mind if I used it on Aeon?
|
Quote:
godofwarares, any new updates on the file browser? |
Yep! :D
Check this out: http://img.photobucket.com/albums/v2...leBrowser2.png :D Still havn't figured out how to download files yet x_x Someone help me >_< |
I think the command you are looking for is selectfilefordownload(str filter), which will prompt the user for a location to save the file passed as the parameter (from the server).
|
Quote:
|
Quote:
I didn't know you could do requesttext("folder","C:\"); o_O Cool it works ^^ ...somewhat x) |
All times are GMT +2. The time now is 03:46 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.