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-11-19 23:11:03, last edited by drunkbnu (2016-11-19 23:32:50)

drunkbnu
Formerly HG
Joined: 2017-08-16
Posts: 2,306

[Help] Dig Dag Dug

I'm currently creating a very simple console dig bot. I had to play with the code a lot to get the result I have right now, since it's the very first time I try to create a dig bot.

Code here

When the user moves to a direction, a gravity block is placed on the direction the user moved to. I got to dig with this, but the user is actually able to place a gravity block wherever by just moving, even by jumping.
I need the user to just be able to dig grass.

EDIT: I was mentioned that I needed to parse the world data to check the blocks that the user can dig. I was sent this code by Krock. Right now searching how to use it.

Offline

#2 2016-11-20 00:16:28

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: [Help] Dig Dag Dug

I'd love to help you, but I simply hate to explain stuff to people indirectly. Barely ever works for/with me.

Offline

#3 2016-11-20 02:26:46

Vinyl Melody
Formerly BananaMilkShake
Joined: 2016-06-19
Posts: 616

Re: [Help] Dig Dag Dug

I can help but I think it's going to be terribly awkward for me since I never made a digbot before :v


cb0de83627.png
Thanks to: Ernesdo (Current Avatar), Zoey2070 (Signature)

Very inactive, maybe in the future, idk.

Offline

#4 2016-11-20 15:41:55

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: [Help] Dig Dag Dug

Wasn't that hard to use krocks init reader. If you read in his comments you would understand.
If you also follow the EE protocol for init, it would have been answered the correct number there too.

http://pastebin.com/mxk91yER

Offline

capasha1479652915635780

Board footer

Powered by FluxBB

[ Started around 1732405134.8647 - Generated in 0.035 seconds, 12 queries executed - Memory usage: 1.4 MiB (Peak: 1.5 MiB) ]