You are on page 1of 2

--- Rune Marker, Alarmes, Logout Lista Branca, Cura

procedure dontkillme;
var i,adr,bl,bl_offset:integer;
begin
bl:=$005C68B4;
bl_offset:=156;
for i:=0 to 250 do
begin
adr:=bl+(i*bl_offset);
if memreadinteger(adr-4)=memreadinteger($5C684C) then continue;
if memreadinteger(adr+40)=playerz then
if (abs(memreadinteger(adr+32)-playerx)<7) and (abs(memreadinteger(adr+36)-playe
ry)<7) then
if memreadinteger(adr+136)=1 then begin
//White lista
if memreadstring(adr)='Nick 1' then continue;
if memreadstring(adr)='Nick 2' then continue;
if memreadstring(adr)='Nick 3' then continue;
if memreadstring(adr)='Nick 4' then continue;
//Mozna dodawac potwory, NPC i graczy
//Koniec white listy
logout;
alarm;
end;
end;
end;
begin
if gethp<250 then alarm;
if gethp<150 then usewith(2273,playerx,playery,playerz);
if gethp<210 then say('Exura Gran');
if getmp>100 then say('Adura Vita');
dontkillme;
end.
-- Cura
hppc := (gethp/getmaxhp)*100;
if hppc<90 then
say('exura');
if hppc<80 then
say('exura gran');
if hppc<60 then
say('exura vita');
if mppc>90 then
say('utani gran hur'); // mana wasting :P
end.
-- RUNA E POTION NA HOTKEY
-- X -> Hotkey EX : F4 - $74
-- Y-> Id Runy,Potiona np. SD-2268
begin
if iskey(x) then begin
gettarpos;
usewith(y,targetx,targety,targetz);
end;
end.
-- HEALAR COM UH
When HP drops below 150 form, the bot will use UH'a (2273 is the ID UH'a).
--
procedure dontkillme;
var i,adr,bl,bl_offset:integer;
begin
bl:=$005C68B4;
bl_offset:=156;
for i:=0 to 250 do
begin
adr:=bl+(i*bl_offset);
if memreadinteger(adr-4)=memreadinteger($5C684C) then continue;
if memreadinteger(adr+40)=playerz then
if (abs(memreadinteger(adr+32)-playerx)<7) and (abs(memreadinteger(adr+36)-playe
ry)<7) then
if memreadinteger(adr+136)=1 then
logout;
end;
end;
begin
if gethp<350 then alarm;
if gethp<150 then usewith(2273,playerx,playery,playerz);
if gethp<310 then say('Exura Vita');
if getmp>900 then say('adori vita vis');
dontkillme;
end.
-- VARIAVEIS -
gethp : Verifica Hp
getmp : verifica MP
933044

You might also like