I found an error and it bugs me. Alot. When you tell the bot to go to a semi-large or large map, it disconnects with no error. Second error, is that when it tries to paste large or intricate things, it disconnects. Please fix it.
Ok, looks like the problem is with the D3 server -- their final 0x03 Level Data Chunk packets is malformed since it just says that the length of the packet is always 1024, even if it has less data and the rest is padded with zeroes (making gzip complain that it's not a gzip file due to extra zeroes).
Also, python has a bug where its gzip module complains about padded zeroes at the end of gzip'd data.
Anyway... looks like I fixed it.
Check the original post for the new release (r10).
If someone would go through the various minecraft blocks and then assign them an RGB value.
Ie: The blocks from here (I think they're all on there... and there's also many extra) and then you use photoshop (or paint.net) with the eyedropper tool to find what color of a pixel a minecraft block would represent.
ie: a red block is gonna be close to (255,0,0) or so... and etc.
Well, someone already bought you the game, but this program is relevant to my interests :biggrin.gif:
So here is an installation script for the manual install. I hope it comes in handy for someone.
The bot works pretty well. Sometimes it crashes when pasting some things or doing large jobs; so if you can figure out what's causing the crashing you can reroute it to output an error instead of exiting. on another note, I'd really like to place spheres, along with water/lava blocks. Another cool idea would be if you could make HOLLOW boxes and spheres, that would make building very easy. Triangles would be cool but I don't know how you'd do that. I know there's a Pi algorithm for spheres.
Also, sometimes (but not lately) the bot will accept 2 brown mushrooms from any user and make the box or whatever from their mushrooms. I don't know if that was fixed or not but like I said it hasn't happened recently.
Oh, when I do the unflooding command (I think it was) the bot tells me to place 2 brown sponges. :tongue.gif:
My last idea would be to make the bot build faster somehow? I got it stable at .07 in the config but anything below that and it will crash after a few blocks.
Anyway, good work and I would love to see more features and stuff added in soon!
For the lava/water blocks, you can add them in yourself.
When you go to the block list, provided you know the ID of the block you're adding (use /about in the software), the bot should place it. (Give it any name you want.)
Same goes for the sponge things. If it matters that much, you can easily fix it yourself. (My bot now says "Why the hell are you trying to control me!?" when someone not on users.txt tries to use it. :biggrin.gif:)
The fastest I've ver gotten my bot to work was 0.065, but I recommend you just stick to 0.20 on MCSharp ect. or else anti-grief will rape you.
I'm using the exe version of the bot, so I cannot fix the sponge problem without a hex editor. Also, please tell me the blockID of the lava/water blocks? I do not know where to input "/about" since it did not work ingame and the console does not accept input either.
I'm going to guess you're using the vanilla software.
Hint hint: Block ID's for vanilla are all on the minepedia.
"block id" returns no page results on minepedia.
EDIT: I believe I figured out the block id's and i added them into "valid_blocks" and "block_names" correctly. however, when the bot attempts to place one, it either doesnt, or it crashes.
EDIT2: I have found the crashing to be a cause of the server software detecting it as a "tile type cheat". I don't think there is a way around this.
The bot works pretty well. Sometimes it crashes when pasting some things or doing large jobs; so if you can figure out what's causing the crashing you can reroute it to output an error instead of exiting.
Hmm.. What version of that bot are you using? I fixed a few of the error that were causing the bot to break and released them in r21.
on another note, I'd really like to place spheres, along with water/lava blocks. Another cool idea would be if you could make HOLLOW boxes and spheres, that would make building very easy. Triangles would be cool but I don't know how you'd do that. I know there's a Pi algorithm for spheres.
Ok, I can easily add the bot making hollow boxes. Spheres & circles a bit more math, but I'll add them someday.
As far as placing water & lava goes, vanilla servers don't let you do that. In fact, your client will get kicked if it tries to place lava or water. Some server software even automatically ip-bans you if you try to paste water or lava. This is why I the bot doesn't place those blocks by default.
If you want to manually add them in, you can edit the config.py file and put the the block numbers for water & lava into valid_blocks. If you want to be able to cuboid water or lava by name, then add entries like "lava":12 (or whatever the number is) to block_names.
Also, sometimes (but not lately) the bot will accept 2 brown mushrooms from any user and make the box or whatever from their mushrooms. I don't know if that was fixed or not but like I said it hasn't happened recently.
The server doesn't send who placed a block, only that a block was placed. The way the bot works is that it first detects a mushroom being placed & then searches who is nearby.
Oh, when I do the unflooding command (I think it was) the bot tells me to place 2 brown sponges. :tongue.gif:
Sounds like you're writing an old version. Time to update D:
My last idea would be to make the bot build faster somehow? I got it stable at .07 in the config but anything below that and it will crash after a few blocks.
Well, it's not that the bot is crashing, it's that the server is kicking you for building too fast. .1 works for me on vanilla servers. Any faster than that kicks you. On some custom servers you may need to slow your building speed to .2 or .3.
We use python for commands in iCraft, here is an earlier version with sphere and such.
Have at it: http://erronjason.com/myne/Build6.zip
Check the "\myne\plugins\" folder to get what you need.
Edit: It joins but it is unresponsive. With and without users.txt and on different servers.
Also, python has a bug where its gzip module complains about padded zeroes at the end of gzip'd data.
Anyway... looks like I fixed it.
Check the original post for the new release (r10).
This. Again. It joins D3 servers though. :biggrin.gif:
Two suggestions: The ability to add people to users.txt ingame, and the ability to erase everything. Instead of just one type of block.
If someone would go through the various minecraft blocks and then assign them an RGB value.
Ie: The blocks from here (I think they're all on there... and there's also many extra) and then you use photoshop (or paint.net) with the eyedropper tool to find what color of a pixel a minecraft block would represent.
ie: a red block is gonna be close to (255,0,0) or so... and etc.
So here is an installation script for the manual install. I hope it comes in handy for someone.
Also, great work!
http://erronjason.com/myne/Install.zip
Also, sometimes (but not lately) the bot will accept 2 brown mushrooms from any user and make the box or whatever from their mushrooms. I don't know if that was fixed or not but like I said it hasn't happened recently.
Oh, when I do the unflooding command (I think it was) the bot tells me to place 2 brown sponges. :tongue.gif:
My last idea would be to make the bot build faster somehow? I got it stable at .07 in the config but anything below that and it will crash after a few blocks.
Anyway, good work and I would love to see more features and stuff added in soon!
I'm using the exe version of the bot, so I cannot fix the sponge problem without a hex editor. Also, please tell me the blockID of the lava/water blocks? I do not know where to input "/about" since it did not work ingame and the console does not accept input either.
"block id" returns no page results on minepedia.
EDIT: I believe I figured out the block id's and i added them into "valid_blocks" and "block_names" correctly. however, when the bot attempts to place one, it either doesnt, or it crashes.
EDIT2: I have found the crashing to be a cause of the server software detecting it as a "tile type cheat". I don't think there is a way around this.
Hmm.. What version of that bot are you using? I fixed a few of the error that were causing the bot to break and released them in r21.
Ok, I can easily add the bot making hollow boxes. Spheres & circles a bit more math, but I'll add them someday.
As far as placing water & lava goes, vanilla servers don't let you do that. In fact, your client will get kicked if it tries to place lava or water. Some server software even automatically ip-bans you if you try to paste water or lava. This is why I the bot doesn't place those blocks by default.
If you want to manually add them in, you can edit the config.py file and put the the block numbers for water & lava into valid_blocks. If you want to be able to cuboid water or lava by name, then add entries like "lava":12 (or whatever the number is) to block_names.
The server doesn't send who placed a block, only that a block was placed. The way the bot works is that it first detects a mushroom being placed & then searches who is nearby.
Sounds like you're writing an old version. Time to update D:
Well, it's not that the bot is crashing, it's that the server is kicking you for building too fast. .1 works for me on vanilla servers. Any faster than that kicks you. On some custom servers you may need to slow your building speed to .2 or .3.
Have at it: http://erronjason.com/myne/Build6.zip
Check the "\myne\plugins\" folder to get what you need.
ABSOLUTE_SILENT_MODE = 0
(or 1, depending on how you like it)