Is anyone having trouble where the habi bot isn't hatching eggs anymore? I log in to see that my population is below the max for awhile now. (lvl 50 btw)
Goals
49/100 Clraik ReferralsNeopets Guides
All are OutdatedMiscellaneous
Art Related
(you need an account to see links)
Tracking it down now .
Also, it's not leveling structures when there's enough resources. This might just be me, though.
And; question: Is it every 500 exp, or 1k exp?
I've read both, and when I watch myself gain exp in the actual "game"; it's much quicker then when I use the bot, like it'll scrap 10+ eggs, and I'll only get 2-3 gems out of it. Again, might just be me.
I'm getting an error (I suppose?). After I run client.py, everything runs fine until about the 3rd Tick, when throws up a message saying "Get fix coord failed for 9,5. Please report this." I haven't changed the map and I'm level 7 on my habi, if that's important.
Edit: Found and fixed the issue, a new storage was placed over an already built storage on the coordinates. Not sure why that happened, though.
Last edited by panelle; 03-02-2013 at 09:22 AM.
Will put a patch up tommorow , for now search for this:
"worer" in clent .py , you should be here:
if (x['profession'] == "worer"): #Only if egg is a worker
change to:
if (x['profession'] == "worker"): #Only if egg is a worker
(only effects level 50 players)
Would it also be possible to implement a program log? Because the bot keeps closing randomly, and I didn't get to see if there was any error message displayed.
^ I am adding a gui in future versions but not right now 2.0 will have a gui/,map editor all that good stuff. However if you run the bot via idle (included with python) when it crashes it will show you the error. The box only closes if you run the script directly via command shell.
I will issue a update soon I am adding some stuff. Here are my notes so far:
New in V1.3 final
-----------------
Done:
+Fixed bug in upgrading nest to level 2 - Bot was upgrading at 105 stone instead of 1050
+Fixed bug at level 50 in hatching egg logic
+Added switch to keep at least 5 nesters alive , for repopulation when oldp3s die. Any less than 5 will make this process slow. Edit the code if you want to change it though , 5 is my personal preference.
Todo:
Add custom time delay to client.py between ticks
Remove debug message that was confusing people
All upgrades
Fix -1 worker bug
New in V1.3a
------------
+Recoded build map function
+Recoded Repair building function
+Added level 50 logic to make a worker focused habi (more exp)
+Many bug fixes and tweaks
+Building upgrades (upto level 2)
Also if you guys want to help me:
I keep missing habi when the game is down. I need a html snapshot of the game page that shows the error saying "the game is down for maintenance". You can edit out all personal data. When I have this I can add logic for detecting when the game is down. However in my timezone I keep missing it.
Last edited by DarkByte; 03-02-2013 at 10:27 PM.
Is that why I get this message over and over again?New in V1.3 final
-----------------
Done:
+Fixed bug in upgrading nest to level 2 - Bot was upgrading at 105 stone instead of 1050
+Fixed bug at level 50 in hatching egg logic
+Added switch to keep at least 5 nesters alive , for repopulation when oldp3s die. Any less than 5 will make this process slow. Edit the code if you want to change it though , 5 is my personal preference.
(you need an account to see links)
Also, If I add more building and fix points would I have to copy&paste this line?
Code:elif thex == "X" and they == "Y": return ["X","Y+1"] #1 square in front of the house , not the side (building 4 will block that tile if its built) elif thex == "#" and they == "#": return ["#","#"] #1 square in front of the house , not the side (building 4 will block that tile if its built)
well it depends on the tile +y 1 = 1 above -1 = 1 below , +1x is one to right -1x one to left , then you can mix them for diagonals ect , just play with it and you will figure it out .