This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Skullblade's profile picture

Shockbrowser V2.00Pr2--Yay! Update

Started by Skullblade, 08 January 2013 - 11:45 AM
Skullblade #1
Posted 08 January 2013 - 12:45 PM
ShockBrowser V2.00pr1


What is ShockBrowser?
ShockBrowser has advanced far beyond what I ever expected it to be and I look forward to hearing your feed back and improving it
What's New in ShockBrowser?
Huge Amazingly Great Update Pre Release :D/>/>
  • Annoying bugs are fixed
  • Improved functionality/features
  • Lots of under the hood stuff (Cut 300~400 lines :D/>/> )
  • Improved Color scheme setup/more customization
  • A Config (That's not a crap pile…Can you believe it????)
  • Better Menu Drawing/Screen Wrapping
  • Better auto installer
  • Custom "Icon" colors and text
  • Option to stop auto updating
  • Force Auto-Updates with "-u"
  • Dump Entire Recycle bin(one click)
Coming Up
Spoiler
  • Edit Config in-game(With cool GUI)
  • Better Scroll Bar (Sometimes it runs off screen)
  • Multi Screen Size Support
  • Better Menu Wrapping
  • More/Custom Run Options
Download
Enable http api(Wiki Post)
Type in "pastebin get pcaVwGY8 ShockBrowser"
Or copy/paste from Pastebin
Enjoy:D

ScreenShots:D
All Outdated :(/>/>
Spoiler






Guys all of these photos are outdated if u want new ones bug me :D/>/>

Current Features
Not Updated :(/>/>
SpoilerRight Click Menu
-New Folder, .txt, File
-Paste
-Set CPU Label

File Menu
-Run(With or without arguments…soon)
-Edit
-Copy
-Cut
-Delete
-Rename
-Move
Folder Menu
(Same except for Run and Edit)
-Open
Other
Menus wrap to screen
JumpTo Bar
Scrolling

"X" to close
Back Icon
"Icons" D, F, R, E
Recycle Bin, for "Delete" function
:D/>/> NO BUGS(for now <_</>/>)

"Icon" Codes
SpoilerNow You Can Change these in the config to suit your needs
[F]=File
[D]=Directory(Folder)
[R]=Recycle Bin
[E]=External Memory(Disk)
Future Features/Bug Fixes
SpoilerWill Update Soon…
pielover88888 #2
Posted 08 January 2013 - 12:53 PM
One: put an end quote on "pastebin get pcaVwGY8 ShockBrowser
Two: nice! it even shows hidden folders/files which I've been needing! The right click menu is nice too :D/>
Three: only found two bugs thus far, right click on the very bottom and it fails to draw it properly.
Perhaps an "if mouse y <= 6 then <draw the context menu from nine cells above?>"?
The other is that it only supports default resolution screens, 51 wide by 19 tall, which is easy to replicate in a 5 wide 3 tall monitor..but is a tad bothersome at times :)/>
Skullblade #3
Posted 08 January 2013 - 01:00 PM
Three: only found two bugs thus far, right click on the very bottom and it fails to draw it properly.
Perhaps an "if mouse y <= 6 then <draw the context menu from nine cells above?>"?
The other is that it only supports default resolution screens
Yes piel lover I am aware of the menu not drawing correctly…working on it for the next update:D
And thx for the complements:D

ill also set up support for other screen resolutions in next update
thx for feed back

EDIT:Screenshots set up.
sorry about the links i cant get the embedded pictures to work
Dlcruz129 #4
Posted 08 January 2013 - 02:46 PM
Love the recycle bin feature!
Skullblade #5
Posted 08 January 2013 - 02:48 PM
Love the recycle bin feature!
Now you don't lose files permanently(unless you mean to) sadly no way to delete from recycle bin YET…it will be in next update

Thx for the kind words Dlcruz :D/>
Skullblade #6
Posted 08 January 2013 - 03:37 PM
ShockBrowser V1.01

Minor Patch
  • Options Menu wraps to screen
  • Fixed pasting crash
  • Fixed "New" function(New folder,file,.txt)
Edit: Sorry guys I was too excited to push out the new patch; Menu wrapping only works to a degree, a proper update will be put up by tomorrow at latest. (Getting late here)


If anyone can find any new bugs, suggestions or just feedback it would be much appreciated :D/>
Skullblade #7
Posted 09 January 2013 - 09:25 AM
ShockBrowser V1.02
"Another" Minor Patch
  • Fixed Menus not wrapping to screen
  • Fixed Menus giving false positives
  • Minor Cleaning of code (still looks like someone puked it up on my computer :wacko:/>)
​Feedback and constructive criticism welcome! I need to learn ;)/>
pielover88888 #8
Posted 10 January 2013 - 11:13 AM
Minor idea: Maybe make it so you can't scroll down so much that anything is at the very top, and perhaps flashes a message really shortly saying "Nothing more!" or something similar?
Actually, scratch the limiting (any time software limits me, it ends up biting me in the butt lol), but just the "nothing more"?
Skullblade #9
Posted 10 January 2013 - 12:01 PM
Minor idea: Maybe make it so you can't scroll down so much that anything is at the very top, and perhaps flashes a message really shortly saying "Nothing more!" or something similar?
Actually, scratch the limiting (any time software limits me, it ends up biting me in the butt lol), but just the "nothing more"?
pielover I might add a scrolling stopper. The scrolling function does need a major overhaul so I could add that
Thx for the suggestion? Have you found any bugs?

Oh and you can test the ALPHA of V1.10 on my pastebin account page custom COLOR support :D/>
Skullblade #10
Posted 10 January 2013 - 01:08 PM
Sneak Peak:V1.10
Best Feature-Custom Colors :lol:/>
Secret Picture
Skullblade #11
Posted 11 January 2013 - 01:00 PM
YAY! UPDATE
Major Update! V1.10
  • Bug Fix:Paste Moved File
  • Bug Fix:Moving/Renaming to an Existing File
  • Bug Fix:Error on Exit
  • Added:Delete Files from Recycle Bin
  • Added:Auto Updater
  • Disk Specific Menu
  • Great New Scrolling Function*
  • Custom Color Support(Colors in binary numbers)
*Note Scrolling is still buggy and needs work, Better though
As always guys please send your bugs and feedback! If anyone wants to include this is their OS just ask:D
pielover88888 #12
Posted 23 January 2013 - 03:05 PM
Can I include this in my os, PieOS, which is currently unusable due to it lacking a filebrowser? (can edit so far, but the icon on that is even broken..and the dialog box isn't complete.. IRK!)

EDIT: HOLY COW!!! NICE SCROLLBAR lol!
Edited on 23 January 2013 - 02:07 PM
Skullblade #13
Posted 23 January 2013 - 03:47 PM
wow Shockbrowser is back on top :D/>
sure you can do what ever you want to the browser as long as you keep the header (the – part) and give me cedit :lol:/>, happy someone found a use for it
The edit program just shell.runs edit but you could configure it to run a custom editor (just change the shell.run)

Are you being sarcastic about the scroll bar? i haven't looked at the program in ages so i cant remember much but i do remember it being very buggy and annoying -_-/>

EDIT:remember that the colors can be changed in the config (Options file) and if you need any help just ask
pielover88888 #14
Posted 25 January 2013 - 05:22 AM
Thanks about the colors, I might change the title bar to be a tad lighter..
Um, no actually, I love that scroll bar LOL, it's like the same as on a regular computer, but instead of dragging, rapid-tapping.. hmm..
Skullblade #15
Posted 25 January 2013 - 08:52 AM
Feel free to change or modify the program (u could make a GUI for changing the colors:D) I can't wait to see how this is implemented, also it's not the most adaptive program so if u have and questions or suggestions just ask. As of now it's not in development but I might consider reviving it:D

Question: what do you mean by rapid clicking? The +/- signs? If u don't like those u can click any were on the scroll bar and it will take u there:D glad u like it; it took a surprisingly long time to fix (kinda) the buggyness (funny story bout that….I coded for like a hour b4 bed on it and couldn't fix it but when I woke up I knew the answer:))
TheOddByte #16
Posted 25 January 2013 - 09:26 AM
May I suggest That When You Upload Pics That You Use something Like: uploadscreenshot.com
So That We Can see the Pictures directly on this forum and it's Easy to Use. ;)/>
Cranium #17
Posted 25 January 2013 - 09:35 AM
May I suggest That When You Upload Pics That You Use something Like: uploadscreenshot.com
So That We Can see the Pictures directly on this forum and it's Easy to Use. ;)/>
Well, you can do that with any image hosting site, as long as we can get a direct link to the image url.
Skullblade #18
Posted 25 January 2013 - 09:50 AM
May I suggest That When You Upload Pics That You Use something Like: uploadscreenshot.com
So That We Can see the Pictures directly on this forum and it's Easy to Use. ;)/>
yeah I know…did this a while ago…when i was nooby with the editor(its still annoying….)…also I don't like Flickr might re upload to imgur


EDIT:Photos embedded ;)/>
Skullblade #19
Posted 28 January 2013 - 09:48 AM
ShockBrowser is undergoing a complete rewrite right now and I hope to get a new version out soon :)/>
NonStopGamer #20
Posted 02 February 2013 - 05:38 PM
Looks great! Bookmarked :)/>
Skullblade #21
Posted 02 February 2013 - 05:39 PM
Yay :D/>
DarkenedEvil #22
Posted 03 February 2013 - 04:58 PM
Hi, great file browser. I was wondering if I could use this in my OS(DarkOS)I am currently making a colored version and this would go great with it. I'll definatly give you credit in the OS and on the topic. Thanks, DarkenedEvil (Sorry about no exclamation points lol my one key is broken)
Skullblade #23
Posted 03 February 2013 - 05:37 PM
Hi, great file browser. I was wondering if I could use this in my OS(DarkOS)I am currently making a colored version and this would go great with it. I'll definatly give you credit in the OS and on the topic. Thanks, DarkenedEvil (Sorry about no exclamation points lol my one key is broken)
Sure i fully support anyone that whats to include my programs in their OSes and if you need any help feel free to ask
DarkenedEvil #24
Posted 12 February 2013 - 02:33 PM
when you say disk specific options what do you mean?
Skullblade #25
Posted 12 February 2013 - 04:05 PM
when you say disk specific options what do you mean?
Can't remember completly but rather then copy and stuff I think it is label disk and eject….
superaxander #26
Posted 13 February 2013 - 05:54 AM
Could you make a button to go back two folders?
Also maybe make it an API to so someone can let people select some files for use in their programs something like this maybe:

function selectFiles(minX, minY maxX, maxY, multiple)
You could then maybe use it like this

x, y = term.getSize()
path = selectFiles(1,1,x,y,false)
file = io.open(path, "w")
Or when using multiple it will return a table with the paths

x, y = term.getSize()
path = selectFiles(1,1,x,y,false)
for i, v in ipairs(path) do
    file = io.open(v, "w")
end
Skullblade #27
Posted 13 February 2013 - 08:34 AM
Could you make a button to go back two folders?
Also maybe make it an API to so someone can let people select some files for use in their programs something like this maybe:

function selectFiles(minX, minY maxX, maxY, multiple)
You could then maybe use it like this

x, y = term.getSize()
path = selectFiles(1,1,x,y,false)
file = io.open(path, "w")
Or when using multiple it will return a table with the paths

x, y = term.getSize()
path = selectFiles(1,1,x,y,false)
for i, v in ipairs(path) do
	file = io.open(v, "w")
end
I've kinda been thinking about that for the next update but ive been lazy and havn't really done much…
NeptunasLT #28
Posted 16 February 2013 - 09:57 PM
I will add this to my os.
Skullblade #29
Posted 17 February 2013 - 06:45 AM
I will add this to my os.
Cool awsome
LuaEclipser #30
Posted 17 February 2013 - 11:09 AM
Hay Shock Browser,

I Was Looking 4EVA 4 this calculator
"A credit would be nce!"


Custom Color Binary Cal. http://jumk.de/color-calculator/
Skullblade #31
Posted 17 February 2013 - 11:48 AM
Hay Shock Browser,

I Was Looking 4EVA 4 this calculator
"A credit would be nce!"


Custom Color Binary Cal. http://jumk.de/color-calculator/
oh sorry the binary colors are the CC binary colors you can get them here->http://www.computerc...nfo/wiki/Colors
since im bored right now ill update shockbrowser's config to be less of a piece of shit :P/> (it really is)

EDIT:Shockbrowser seems to be messed up for some reason….working on fixing
Skullblade #32
Posted 17 February 2013 - 01:02 PM
Fixed the error….quite embarrassed that no one told me about it…
Skullblade #33
Posted 20 February 2013 - 06:34 AM
Shockbrowser V2.00

Well if anyone is using this just so you know I am almost finished with Shockbrowser 2.0 and I anticipate it being out by the end of the week.
What to expect
Better Config File-Reads better and makes more sense-can use and computercraft color code format
Better Draw Function-uses less term calls-less lag
More customization on the color schemes, Better coloring
Shit load of under the hood stuff-from 882 lines to 504 (that's a huge improvement if i do say so myself)
New Custom "Icons"
Better Menus

Teaser photo with custom colors
FuuuAInfiniteLoop(F.A.I.L) #34
Posted 20 February 2013 - 03:54 PM
When displing disk you should dislpay its label with the icon
Skullblade #35
Posted 21 February 2013 - 12:11 PM
When displing disk you should dislpay its label with the icon
I guess I could… Not sure how important it would be in comparison to the resource strain
Skullblade #36
Posted 21 February 2013 - 03:05 PM
ShockBrowser V2.00pr1

Hey Guys here is a pre release of v2.00 hope you guys like it…

What's New in ShockBrowser?
Huge Amazingly Great Update Pre Release :D/>
  • Annoying bugs are fixed
  • Improved functionality/features
  • Lots of under the hood stuff (Cut 300~400 lines :D/> )
  • Improved Color scheme setup/more customization
  • A Config (That's not a shit pile…Can you believe it????)
  • Better Menu Drawing/Screen Wrapping
  • Better auto installer
  • Custom "Icon" colors and text
  • Option to stop auto updating
  • Force Auto-Updates with "-u"
  • Dump Entire Recycle bin(one click)
EDIT:just looked and found i had 6 followers…i guess some people do use this :P/>
Shnupbups #37
Posted 21 February 2013 - 04:46 PM
You can right click -> delete files whilst in recycle bin and it will error with:

shockbrowser:441: File exists
Oh, and you should also make it check at the start if the RecycleBin folder exists and if not, it creates it, because otherwise it will error when you delete things.

EDIT: You also can't run things with arguments…
Skullblade #38
Posted 21 February 2013 - 04:51 PM
You can right click -> delete files whilst in recycle bin and it will error with:

shockbrowser:441: File exists
Oh, and you should also make it check at the start if the RecycleBin folder exists and if not, it creates it, because otherwise it will error when you delete things.
Didn't think about erroring from deleting….I'll fix that 2marrow when I'm on my computer.
Also the recyclebin is made when u delete something (unless I forgot that in the rewrite…)

Also arts run just hasn't been finished yet (it's a pre release)

Edit:thanks for the quick feedback man :)/> great to see someone uses it :D/>
Shnupbups #39
Posted 21 February 2013 - 05:02 PM
Also the recyclebin is made when u delete something (unless I forgot that in the rewrite…)
Yeah, you must've forgotten.

Edit:thanks for the quick feedback man :)/> great to see someone uses it :D/>
You're welcome!
Skullblade #40
Posted 21 February 2013 - 05:05 PM
Ok I'll probably be able to release a patch 2marrow :D/>
BigSHinyToys #41
Posted 21 February 2013 - 05:45 PM
Ok I'll probably be able to release a patch 2marrow :D/>
Any chance of a option to disable rebooting on program end.

other than than nice job on the reduction of lines in this mine is over 1000
Skullblade #42
Posted 21 February 2013 - 05:51 PM
Ok I'll probably be able to release a patch 2marrow :D/>/>/>/>
Any chance of a option to disable rebooting on program end.

other than than nice job on the reduction of lines in this mine is over 1000
When did u try this out because I thought that I changed it to returning rather then restarts because it was annoying…
Also thx ur setup/GUI was my "inspiration" :D/>/>

EDIT: just checked my code and it no longer restarts…I would recommend reinstalling…reminds me there should be a force update function
BigSHinyToys #43
Posted 21 February 2013 - 05:57 PM
When did u try this out because I thought that I changed it to returning rather then restarts because it was annoying…
Also thx ur setup/GUI was my "inspiration" :D/>
Updating manual fixed it thanks.
I cant really take credit for the UI I kinda borrowed it from windows with a few little alterations / compatibility modification to make it work on the CC terminal.
Skullblade #44
Posted 21 February 2013 - 06:00 PM
When did u try this out because I thought that I changed it to returning rather then restarts because it was annoying…
Also thx ur setup/GUI was my "inspiration" :D/>/>
Updating manual fixed it thanks.
I cant really take credit for the UI I kinda borrowed it from windows with a few little alterations / compatibility modification to make it work on the CC terminal.
Do u have any suggestions or ways to improve the program? I'm curious I should check out ur FB again and see how you are working it…
Thx 4 checking out my program keep me posted on the bugs(they will come…)
Skullblade #45
Posted 23 February 2013 - 11:38 AM
ShockBrowser V2.00pr2


Well here is the pr2 patch that i said i'd release…..yesterday

What's New in ShockBrowser?
  • Fixed couple random bugs
  • Auto Create RecycleBin now
  • you can delete individual stuff in recyclebin
  • Better deleting
  • now you can use mouse_scroll to scroll
  • drag the scroll bar to scroll also
  • run with args
  • run args
  • "-u" force check for updates
  • "-f" force update regardless
As always please post any comments and if there is an error plz tell me

Coming Up: Create your own run options
marted #46
Posted 24 February 2013 - 05:37 AM
Looks great. Thanks for ShockBrowser.
Skullblade #47
Posted 24 February 2013 - 10:23 AM
Looks great. Thanks for ShockBrowser.
Ur welcome, it's really just a project to fend of the hordes of boring but I'm glad to see someone likes it :)/>