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.
Pages: 1
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
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
Why stop at digbots? Do lib for all bots with usefull classes and functions.
Offline
Why stop at digbots? Do lib for all bots with usefull classes and functions.
list a few, and I may get to it.
Offline
O_O no mediafire ... excuse me ... NOOOOOOOOOOO
Offline
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
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
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
Pages: 1
[ Started around 1732781812.3232 - Generated in 0.058 seconds, 12 queries executed - Memory usage: 1.5 MiB (Peak: 1.66 MiB) ]