Code: Select all
if player.Y > 15 then
upthroughroof()
getunder()
end
should i put this in the onload, or in some of the functions?
Code: Select all
if player.Y > 15 then
upthroughroof()
getunder()
end
oops i did not have the userfunction_GuildDonate.lua installed ... my mistake. did not know that i need a userfunction for itrock5 wrote:Yes it donates the materials to the guild. It should do it after all the mat chests are opened. Did you get any messages in the MM window? Maybe a message that said "Unable to donate to guild. Need "GuildDonate" userfunction." or "Unable to donate to guild. Character not a member of a guild."?Rickster wrote:is it for handing in the guild mats to the guild ressource window?Code: Select all
PutMaterialsIn = "guild"
when should it hand in the mats? after finishing AT?
mine does not hand in the guild mats.
Don't worry about it. I'll do some work on it tomorrow, do some testing, then release a new version. I don't think everything was spelt correctly in that example anyway.silinky wrote:should i put this in the onload, or in some of the functions?
Sorry, my bad. I still had the model file loaded for AT so there is no door for me. I'll change the coordinates to what it used to be. That should fix it. I changed it because I wanted the chests to be done in order but I didn't realise there would be a problem with the doors.Rickster wrote:Last char for today and none made it automaticall through the chest room door, all get stuck at the door, at exactly the same place, see screenshot. maybe we have little different coords on different servers?
I haven't had much time to work on this today but I was thinking, there is still no way to know if no buffs means it hasn't started yet or if it's finished. Maybe we could add a check for the chests. So "if doesn't have first buff and there are chests then go through and collect them". Or just check the chests.rock5 wrote:Sounds ok. I'll look into it tomorrow.lisa wrote:My solution was this.
When you get to the middle and are thinking of going up to get chests check for the first buff only, if it exists then go do all 3 candles again.
Code: Select all
teleport(3842,3838,49) -- get to chest room
lolgrande wrote: rocklobster5's neato mosquito
Code: Select all
local function getcandles()
teleport_SetStepSize(30)
teleport_SetStepPause(1500)
Code: Select all
teleport_SetStepSize(25)
teleport_SetStepPause(1500)
It does a lot less teleporting than it used to. So even the little teleporting it does now, it can't handle it? Interresting. How do you think it dies?lisa wrote:Finally got a chance to test this.
Ran through 20 chars with your current version, 8 of them died.
Next day changed the teleport settings to
and no deaths in last 20 chars.Code: Select all
teleport_SetStepSize(25) teleport_SetStepPause(1500)
Was it attacking the player though? I found that the mobs would just be fading away when the player pops up but they never attacked the player.lisa wrote:I also changed waittime to 15 seconds, was 12. I had a few times where I popped up inside while mobs where still active.
So nil doesn't work anymore? It doesn't default to "all"? Hm... shouldn't it?lisa wrote:With the new version of guild donate also had to change nil to "all"
So ("all",8)
I might mention it in the userfunction topic, if it's nil then it should be assumed to be all.
Code: Select all
if ( _type == nil and _quality == nil and _lesser == nil ) then
_lesser = "true"
_type = "all"
_quality = 15
end
Code: Select all
if _type == nil then _type = "all" end
if _quality == nil then _quality = 15 end
if _lesser == nil then _lesser = "true" end
Code: Select all
GuildDonate()
But then it will donate any and all resource, can't assume people want everything donated when running AT =)rock5 wrote:Anyway, with the new version of GuildDonate we could just use
True.lisa wrote:But then it will donate any and all resource, can't assume people want everything donated when running AT =)
Imagine having 5 stacks of purple planks in bag and on your way to AH to post them you think, damn should go do AT before it resets today.
Next thing you know a few hundred diamonds worth of matts get donated to guild lol
i gotta test this too, my botter pc is not 8core lol, is just an old 2core phenom and the bot eats the cpu like crazy ). kudos for the idea!lisa wrote:
Next day changed the teleport settings toand no deaths in last 20 chars.Code: Select all
teleport_SetStepSize(25) teleport_SetStepPause(1500)
I believe this has to do with PC performance, I use older PC's and I also run 2 at a time so chances are it runs fine on your super computer but us oldies need to slow down the bot a little
this also worked fine for me, for the last few days, after i made these changes.lisa wrote:
Next day changed the teleport settings toand no deaths in last 20 chars.Code: Select all
teleport_SetStepSize(25) teleport_SetStepPause(1500)
I believe this has to do with PC performance, I use older PC's and I also run 2 at a time so chances are it runs fine on your super computer but us oldies need to slow down the bot a little
Code: Select all
charClassInfoBase = 0x9DC488,
Code: Select all
local dailycomplete_ptr = 0x9CD1E0;
local dailycomplete_offset = 0xACF4;
function getDailyComplete()
return memoryReadBytePtr(getProc(),dailycomplete_ptr,dailycomplete_offset);
end
function checkDQCount()
local dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()")
cprintf(cli.lightblue,"%s quests completed.\n",tostring(dailyQuestCount));
if (dailyQuestCount == 10) then
cprintf(cli.lightblue,"Completed max number of daily quests, trying to use a daily reset card.\n");
inventory:update();
player:update();
-- note #202434 is the daily reset card
if inventory:itemTotalCount(202434) > 0 then
inventory:useItem(202434);
else
loadPaths("butterfly_to_sleep");
end
end
end
Users browsing this forum: No registered users and 0 guests