Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-04-23 19:36:13, last edited by SirJosh3917 (2016-04-23 23:45:33)

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

[Release] BlockLibrary

This is pretty much finished. Maybe a bug or two but it doesn't look like there are any.

Github: https://github.com/BuildWithCode/BlockLibrary

Download:

For Downloading:

NET 4 Framework: http://adf.ly/1ZkF0m

NET 4.5 Framework: http://adf.ly/1ZkEy0



I would put this on nuget but I had some problems, and It looked like I'd have to contact the app vendor.

Source
README.md
Code.cs

Offline

#2 2016-04-23 19:54:59

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

Re: [Release] BlockLibrary

Awesome, another amazing tool from Ninja.
It essentially boils down to 500 lines of pure garbage code, which is twice as much garbage as your 260 lines of code in your 'encryption' library that amounted to 2 lines of code.

You should actually provide a working example of how this would be beneficial at all.
All in all, well done! You've exceeded so very far to create yet another library nobody with dignity or half a brain would use.


signature.png
*u stinky*

Offline

Wooted by: (2)

#3 2016-04-23 20:42:31, last edited by Tomahawk (2016-04-23 20:45:28)

Tomahawk
Forum Mod
From: UK
Joined: 2015-02-18
Posts: 2,847

Re: [Release] BlockLibrary

Aside from the saltiness above, if you wanna go further, try making some custom exception types like "InvalidBlockException" instead of throwing a generic Exception which the user has to fiddle with to get the reason for the error (if they're catching it at all). You'll also need to consistently update this, because it's otherwise pretty much guaranteed to break in the next update - that or not record all blocks correctly.

You need to give credit to Processor for using his code. You should keep InitParse in dll form and distribute yours as an add-on.

I might be wrong, but I'm getting a slight aftertaste of other peoples' code all the way through that library.


One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.

Offline

Wooted by:

#4 2016-04-23 23:22:46, last edited by SirJosh3917 (2016-04-23 23:27:31)

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: [Release] BlockLibrary

Tomahawk wrote:

Aside from the saltiness above, if you wanna go further, try making some custom exception types like "InvalidBlockException" instead of throwing a generic Exception which the user has to fiddle with to get the reason for the error (if they're catching it at all). You'll also need to consistently update this, because it's otherwise pretty much guaranteed to break in the next update - that or not record all blocks correctly.

You need to give credit to Processor for using his code. You should keep InitParse in dll form and distribute yours as an add-on.

I might be wrong, but I'm getting a slight aftertaste of other peoples' code all the way through that library.

no i coded everything except initparse.
i just recently learned about (int) and it turns out that the chunk stuff is uints so i'll have to modify initparse.

edit: i recycled code too as well.
from my ee image editor, i modified some code that someone gave me (it was in a forum post) to make it work for "clear"

edit2: i learned about "blah blah blah is string" in a stack overflow post
very very useful

Offline

SirJosh39171461450166598049

Board footer

Powered by FluxBB

[ Started around 1732428188.373 - Generated in 0.167 seconds, 12 queries executed - Memory usage: 1.49 MiB (Peak: 1.64 MiB) ]