Hazzah
2012-04-09 23:38:51
So I have been attempting to make a house burner (that uses the demon butler) for a while now. It is essentially the first script I have seriously tried to write, but my method for burning is slightly flawed and I am not sure how to fix it.
Not, this works, if it does not try to burn in the same path that it just did, however, the way I have the walking set up right now it finds its previous burn path quite frequently. The problem then arises that it will always
because once it is there, it always finds it. Is there a way that I could make it relocate and continue burning more efficiently so that it isn't constantly finding the same "Black Chat Message"?
Any help would be appreciated!
procedure Burning;
var
LogToBurnDTM,x,y:integer;
begin
LogToBurnDTM:= DTMFromString('m1gAAAHic42JgYHBiYmDwAWI/IA6Ess2B2BGIzYDYGohdgZiTkYHhH1A9E5DmAmIBIBYCYhEgZgdiBqi8ux4XSBUGNlBQQOH/ZyAOMBKJEQAARvoHJA==');
if FindDTM(LogToBurnDTM,x,y,MIX1,MIY1,MIX2,MIY2) then
Repeat
begin
Mouse(x,y,0,0,false);
Wait(RandomRange(150,255));
ChooseOption('ight');
wait(RandomRange(1335,1355));
if FindBlackChatMessage('light a fire here') then
begin
mouse(627,86,5,5, True);
wait(RandomRange(1305,1370));
end;
end;
until(Not(FindDTM(LogToBurnDTM,x,y,MIX1,MIY1,MIX2,MIY2)));
if (Not(FindDTM(LogToBurnDTM,x,y,MIX1,MIY1,MIX2,MIY2))) then
FreeDTM(LogToBurnDTM);
end; Not, this works, if it does not try to burn in the same path that it just did, however, the way I have the walking set up right now it finds its previous burn path quite frequently. The problem then arises that it will always
if FindBlackChatMessage('light a fire here') thenbecause once it is there, it always finds it. Is there a way that I could make it relocate and continue burning more efficiently so that it isn't constantly finding the same "Black Chat Message"?
Any help would be appreciated!