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 2015-09-08 02:08:55

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

[WIP Library] DigLib 1.0.0.0

DigLib is the library to manage digbot, that makes you suffer less work managing players, saving and storing player data, managing ores, pickaxes, money, and many other suffering results from making a digbot.

With DigLib, players are easily addible with a simple

DigLib.PlayerData.AddPlayer("player name goes here")

by automatically loading their money and pickaxe.

With DigLib, an infinite amount of ores and pickaxes are addible, with no more muss or fuss!

With DigLib, doing

DigLibMechanics.Mech.Ore GetARandomOre = DigLib.Mechanics.GetRandomOre();

gets a random ore from the ones you specified! Don't worry though, it's possible to add rare ores. A Rarity of 1 has a 50% chance of being pulled. A rarity of 2 has a 25%, rarity of 3 has 12.5, rarity of 4 6.25, and so on to max rarity specified.

With DigLib, getting where the player will dig is a snap! It even lets you wait the amount of the specified to wait on the pickaxe the user is carrying!

DigLibMechanics.Mech.Position GetTheDirectionToDigIn = DigLib.Mechanics.Dig(m.GetDouble(1), m.GetDouble(2), m.GetInt(5), m.GetInt(6), "PlayerWhoIsDigging", true);

(that last true was to wait the specified wait on the pickaxe the user is carrying).

DigLib is a WIP for these 2 reasons:
1) No Guides yet
2) Not all possible errors are fixed yet

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

DigLib Links

Source Code (1.0.0.0)           : http://pastebin.com/RHCRbxRx
Download (1.0.0.0) Mediafire :
Download (1.0.0.0) Dropbox  : https://www.dropbox.com/s/z9ac0jhbp0lxo … b.dll?dl=0

Offline

Wooted by:

#2 2015-09-08 03:45:04

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: [WIP Library] DigLib 1.0.0.0

I've had experiences with large numbers of files in one directory and having them go kaput on me. In our case, I don't see digbot levels getting THAT Popular. (Probably 64k files for me... even though S/O says NTFS should be able to handle millions. meh.)

Does the TryInt (or canconvertintstring function?) do anything? I'm looking at a try{} around a function that doesn't normally throw errors anyway. Is there a reason you made wrapper things for those functions that already exist? I can understand Pickaxe to an extent.

I think the main issue folks will take with this is the fact that you're promoting the creation of basic digbots, which we already have plenty of. That, and most users who need help making a digbot probably won't improve on your code in any major way, simply because duplicating it exactly is much easier. I'd love to see some form of a bot that could actually have a central saving system so that users could save in various worlds... various points... etc. However, any bot programmer could just go ramp up their points, so not much use in that.

Good luck m8

Offline

Wooted by:

#3 2015-09-08 19:08:15

Soubr
Member
Joined: 2015-02-18
Posts: 36

Re: [WIP Library] DigLib 1.0.0.0

Why stop at digbots? Do lib for all bots with usefull classes and functions.

Offline

#4 2015-09-08 22:12:28

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

Re: [WIP Library] DigLib 1.0.0.0

Soubr wrote:

Why stop at digbots? Do lib for all bots with usefull classes and functions.

list a few, and I may get to it.

Offline

#5 2015-09-08 23:19:17

Prodigy
Member
From: The United States of America
Joined: 2015-07-15
Posts: 2,613

Re: [WIP Library] DigLib 1.0.0.0

O_O no mediafire ... excuse me ... NOOOOOOOOOOO //forums.everybodyedits.com/img/smilies/sad


h0qIF0q.png

Offline

#6 2015-09-09 00:49:04

Soubr
Member
Joined: 2015-02-18
Posts: 36

Re: [WIP Library] DigLib 1.0.0.0

ninjasupeatsninja wrote:
Soubr wrote:

Why stop at digbots? Do lib for all bots with usefull classes and functions.

list a few, and I may get to it.

Do like player class, block class, teleport function, those things you normally do every single bot you make.

Offline

#7 2015-09-09 03:36:36

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

Re: [WIP Library] DigLib 1.0.0.0

Soubr wrote:
ninjasupeatsninja wrote:
Soubr wrote:

Why stop at digbots? Do lib for all bots with usefull classes and functions.

list a few, and I may get to it.

Do like player class, block class, teleport function, those things you normally do every single bot you make.

that'll be my side project when im bored of doing EE Image Editor

Offline

#8 2015-09-09 16:07:44, last edited by Tomahawk (2015-09-09 16:07:57)

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

Re: [WIP Library] DigLib 1.0.0.0

Oh gawd, NinjaBot laid eggs.

Watch out, Processor. Cupcake has competition.

EDIT:
"competition"

<3 Ninja


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: (2)
Tomahawk1441811264540344

Board footer

Powered by FluxBB

[ Started around 1732458610.9002 - Generated in 0.103 seconds, 12 queries executed - Memory usage: 1.5 MiB (Peak: 1.66 MiB) ]