Page 3 of 10
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 1:19 am
by lisa
just commited 624, I couldnt find skillsBase used anywhere in bot.
Getting lots of table not found, for now just commented out the print, so we don't get floods of topics saying it happens.
Also commented out the use update.lua for now too so again we don't get floods of people using it because MM printed to use it.
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 1:38 am
by lisa
It has issues with skills still, constantly casts buffs.
I checked the buff id in game and it still matches the id we have in skills database, so must be an issue with offsets or an address is off.
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 1:40 am
by metralla123
another update of svn now, bot run very good, update 624 but when harvest fedbag not give the item, the cast of harvest broke.
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 1:57 am
by lisa
rock5 wrote:623 seems to be just enough to get it working. I think I've completed the rest but before I commit I'm wondering why administrator removed the player.Casting variable. It's used throughout the bot.
hmm I show it in 4 spots of default bot.
I also did searches of my old versions and same story, when was it removed?
Yeah seems some of the offsets have changed for pawn.
I tested Level and HP and they are fine, so must be only some of the offsets.
casting is one, I changed my target_Object to have a _waittime so it wouldnt just run off before getting item.
I'd say thats the issue someone was having in millers earlier.
buff is also off but can't say for sure which offset is wrong, might be any of them to cause it to constantly cast buff.
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 2:22 am
by rock5
The bot should be all fixed now in revision 625.
lisa wrote:hmm I show it in 4 spots of default bot.
I also did searches of my old versions and same story, when was it removed?
He removed "self.Casting = memory..." from the player:update() function. Probably because he reasoned that pawn:Casting does the same thing but it doesn't. Pawn:Casting doesn't return true for things like mounting or crafting.
Commenting out the "Game has changed" message was a good idea if it wasn't for the fact that update.lua has already been fixed. Still it would be nice if there was some sort of switch we could use between fixing addresses and the update.lua being fixed so that it wont show that message until until it's fixed.
The biggest change was the buffs. Different address and different offsets. And not only that but the size of the buff memory area changed. Well done to SpiralV for picking up on that. I liked the way he added a variable for the buff size so I implemented that.
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 2:26 am
by SpiralV
@Lisa
pls try the changes at my last post
and i found a different staticInventory = 0x9d61b8,
but i'm not sure that Inventory/Item code is hard to understand for me
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 2:30 am
by lisa
SpiralV wrote:@Lisa
pls try the changes at my last post
and i found a different staticInventory = 0x9d61b8,
but i'm not sure that Inventory/Item code is hard to understand for me
Sorry I totally missed your post, was doing this little bits at a time while at work lol
Glad rock saw it, nice work =)
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 2:33 am
by nerf
great, the bot seems to be working very well in KS. I guess short of things to polish, potions, and things like teaching certificate.
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 3:44 am
by Sharky
Thanks for all your work guys. Your doing an awesome job!
Waiting patiently. I try to understand this program to check new adresses in the meantime

Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 4:15 am
by mschmitd
Hi
I there a Problem with the Bag ??
My KS-Script leave the Ini all the time
the second Side of the Bag is Full !.
This Options i use in my Script
changeProfileOption("INV_AUTOSELL_ENABLE", true);
changeProfileOption("INV_AUTOSELL_FROMSLOT", 18);
changeProfileOption("INV_AUTOSELL_TOSLOT", 180);
changeProfileOption("INV_AUTOSELL_QUALITY", "white,green,blue,purple");
Mike
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 4:22 am
by whome
Patience grasshopper......

Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 4:22 am
by lisa
if your ks script is leaving instance then what is the code in the Wp file?
Also what revision are you using? I think we are upto 625 now.
Bot should be running fine with latest revision.
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 4:29 am
by nassekova
metralla123 wrote:another update of svn now, bot run very good, update 624 but when harvest fedbag not give the item, the cast of harvest broke.
Same problem here with the latest release. Golden egg farming goes smoothly until its time to get some feedbags from that hey barn. Character stands there and gets some of those but about every other try says "No item gained" and then the character is stuck there in some endless loop and just takes those feedbacks.
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 4:36 am
by lisa
do svn update and revert to make sure files are correct.
should be rev 625 now, not 624
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 4:39 am
by botje
still get a error though, reports that there is a bad eggslot given in profile, which i didnt change xd
Botje
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 4:50 am
by nassekova
I did the update.lua and I have the newest revision 6.2.5 . It seems that it is always the 3rd feedbag that makes the error and it starts to collect those feedbags again, which makes it stuck in that endless loop because it never gets them feedbags in a row as it should.
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 4:54 am
by mschmitd
@Lisa
I have install Rev 625 and this is the Code in the ks-script
<!-- # 79 --><waypoint x="2867" z="1987">
changeProfileOption("MAX_TARGET_DIST", 150);
if inventory:itemTotalCount(0) == 0 then
sendMacro("LeaveParty();");
yrest(4000)
waitForLoadingScreen();
player:update();
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
</waypoint>
and this Script has worked fine before ROM was Updated, without any problems
Mike
sry for my bad English
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 5:02 am
by mschmitd
@Lisa
<!-- # 79 --><waypoint x="2867" z="1987">
changeProfileOption("MAX_TARGET_DIST", 150);
--if inventory:itemTotalCount(0) == 0 then
--sendMacro("LeaveParty();");
--yrest(4000)
--waitForLoadingScreen();
--player:update();
--__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
--end
</waypoint>
I have disabled this in the Script and my Char don't leave the Ini at this Point
I think there is a Problem with this funktion "inventory:itemTotalCount(0) == 0 then"
Mike
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 5:25 am
by rock5
The base address was one egg off. Sorry. I'll fix it.
Edit: Fixed in rev 626.
Re: Official new patch topic 4.0.1
Posted: Wed Jul 27, 2011 5:28 am
by botje
ah cool, thanx mate
Botje