It was working fine for me yesterday, but now, when I open it and run it, the server says he joined but a few seconds later says he left. He's not being kicked, so I don't know what's happening.
MrScarface, I don't have a clue where you're getting this "Bot.py" thing from, all I have is bot2.exe and a ton of pyd files, plus a couple zips. And the info and users texts. and the config.py. Do you, perhaps, have a older version?
*EDIT* I'm a retard. I looked on the SVN page, and it was there. Damn, do I feel stupid! Now how do I turn the .py to a .exe?
why take a few hours deleting everything when you could take two seconds with this!
Why wont you Since you want to destroy his hard work hmm? stop being a a faggot you can't delete.And stop hating on his work. What if you made a bot and Someone said that what would you say. HOW would you feel? hmm?
For me, everything seems to be working except .sponge...
anyone know what is wrong?
EDIT: It only works sometimes. It is really messed up :sad.gif: ...or just SUPER SLOW even though its speed is set to .1
EDIT2: I am also using an MCLawl (formerly MCZall) server, and as I saw Zallist saying before, the bot completely fails on it...
EDIT3: I tried it on another MCLawl server, and it worked fine. Maybe since it is my own server it doesn't work?...
EDIT4: Ok I got it to work now :biggrin.gif: I think I may have put the url in wrong...
Any idea that is causing the bot to crash when I try to connect to an fCraft server.
Joined server! Ver: 7, Name: Bwana.tv fCraft Test Server, Motd: Loading world "flattemplate" (almost there...), Your type: 0
Level downloaded. Size: (256,256,256)
Failed to read gzip file.. [Attempt 0]
Failed to read gzip file.. [Attempt 1]
Failed to read gzip file.. [Attempt 2]
Failed to read gzip file.. [Attempt 3]
Writing 4 bytes to out.gz
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
why = getattr(selectable, method)()
File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead
return self.protocol.dataReceived(data)
File "bot2-s2.py", line 1065, in dataReceived
self.process_data()
File "bot2-s2.py", line 1075, in process_data
self.dispatch_events(data)
File "bot2-s2.py", line 1106, in dispatch_events
self.bot.onLevelEnd(*d)
File "bot2-s2.py", line 851, in onLevelEnd
print "Number of blocks received in file: %s"%num_blocks
exceptions.UnboundLocalError: local variable 'num_blocks' referenced before assignment
Lost connection. Reason: [Failure instance: Traceback (failure with no frames): <type 'exceptions.UnboundLocalError'>: local variable 'num_blocks' referenced before assignment
]
Stupidest question of all time, but how do I run it with womclient? It says that i'm already logged in :/ Can't even see a playing window when I load the bot, just command prompt.
Thanks.
Rollback Post to RevisionRollBack
Quote from greng »
I dont give **** for america not everyone live there i ukrain so more early or perhaps importants?
I fixed some bugs: bot being kicked for building too fast, fixed loading users.txt, and some inf loops.
Added a few more commands:
savep <name> - save point set by mushrooms to be loaded by loadp.
loadp <name> - loads point for command.
filllava <type> - fills lava with blocks of that type.
fillwater <type> - fills water with blocks of that type.
replace <old>,<new> - replaces with new tiles.
type - checks the type of 5 blocks within a cuboid.
Examples:
~savep house
, then place 2 mushrooms at corners of house.
~replace wood glass
, don't place mushrooms but instead use loadp.
~loadp house
~filllava stone
~loadp house
~restore somebackup
~loadp house
To Install:
1)Download and extract original builder bot.
2)Download http://ez-files.net/470483 (exe) or http://ez-files.net/43655 (bot source).
3)Copy the files into the original builder bot folder.
4)Start bot2_1.exe or bot2_1.py from python 2.6.
To compile to exe from source py(not required):
Try to use Python version 2.6 or you may have issues of incompatibility.
1)Install the things to run bot2_1.py which is listed in the original post.
2)Install py2exe for Python 2.6.
3)Make a file called setup.py with the following code inside:
from distutils.core import setup
import py2exe
setup(console=['bot2_1.py'])
4)Run
C:/Python26/python.exe setup.py py2exe
.
5)Copy the compiled bot2_1.exe from dist/ directory from inside that folder to the parent folder.
6)Run bot2_1.exe to test it.
I also recommend setting the bot build speed to about 0.08 in config.py.
viewtopic.php?f=1039&t=277539
You Should Also Check Out My Pixel Art Thread:
viewtopic.php?f=25&t=207459
*EDIT* I'm a retard. I looked on the SVN page, and it was there. Damn, do I feel stupid! Now how do I turn the .py to a .exe?
http://www.minecraft.net/play.jsp?server=6e4452bdb51120c3172c96784d65eae6
The bolded part is the servers hash.
well anyway,another problem, when ever i try to start it, it closes down instantly and i bot won't appear in the server, anybpdy know how to fix this?
The same thing is happening to me Man I WANT TO USE the bot so bad someone help!???!?!?!?!
why take a few hours deleting everything when you could take two seconds with this!
Why wont you Since you want to destroy his hard work hmm? stop being a a faggot you can't delete.And stop hating on his work. What if you made a bot and Someone said that what would you say. HOW would you feel? hmm?
anyone know what is wrong?
EDIT: It only works sometimes. It is really messed up :sad.gif: ...or just SUPER SLOW even though its speed is set to .1
EDIT2: I am also using an MCLawl (formerly MCZall) server, and as I saw Zallist saying before, the bot completely fails on it...
EDIT3: I tried it on another MCLawl server, and it worked fine. Maybe since it is my own server it doesn't work?...
EDIT4: Ok I got it to work now :biggrin.gif: I think I may have put the url in wrong...
http://cm12minecraft.webs.com
My Minecraft video:
http://www.youtube.com/watch?v=1C0uABiIQA4
Thanks.
Added a few more commands:
Examples:
, then place 2 mushrooms at corners of house.
, don't place mushrooms but instead use loadp.
To Install:
1)Download and extract original builder bot.
To compile to exe from source py(not required):2)Download http://ez-files.net/470483 (exe) or http://ez-files.net/43655 (bot source).
3)Copy the files into the original builder bot folder.
4)Start bot2_1.exe or bot2_1.py from python 2.6.
Try to use Python version 2.6 or you may have issues of incompatibility.
1)Install the things to run bot2_1.py which is listed in the original post.
2)Install py2exe for Python 2.6.
3)Make a file called setup.py with the following code inside:
4)Run .
5)Copy the compiled bot2_1.exe from dist/ directory from inside that folder to the parent folder.
6)Run bot2_1.exe to test it.
I also recommend setting the bot build speed to about 0.08 in config.py.
If you find any bugs please tell me.
Any of my previous threads are not going to be used by me anymore.
please tellz me how do i make my bot what program?