Cytat został ukryty, ponieważ ignorujesz tego użytkownika. Pokaż cytat.
Const
RuneID = 0 // enter the rune to shoot
Delay = 1000 // in millseconds
while not terminated do
begin
UpdateWorld;
for i := 0 to creatures.count - 1 do
begin
if Creatures.Creature[i].NPC then
if Creatures.Creature[i].Outfit = 0 then
begin
Self.Containers.UseItemWithCreature(
RuneID,Creatures.Creature[i]);
sleep(1500);
end;
end;
sleep(100);
end;
//Script by Sir Cunferencia
Const
List = ['Dragon', 'Dragon Lord'];
Spell = 'Exori Hur';
function TestMonster(Crea: TCreature): boolean;
begin
Result := false;
for z := Low(List) to High(List) do
begin
if AnsiLowerCase(Crea.Name) = AnsiLowerCase(List[z]) then
Result := 'true';
end;
end;
function GetCreatureByID(ID: integer): TCreature;
var
x: integer;
begin
Result := nil;
for x := 0 to Creatures.Count - 1 do
begin
if x >= Creatures.Count then Break;
if Creatures.Creature[x].ID = ID then
begin
Result := Creatures.Creature[x];
Exit;
end;
end;
end;
while not terminated do
begin
updateworld;
if Self.Attacking <> nil then
begin
creature := GetCreatureByID(self.attacking);
if creature <> nil then
begin
updateworld;
if (abs(creature.x - self.x) <= 3) and (abs(creature.y - self.y) <= 3) then
if (TestMonster(creature)) then
begin
if Self.Attacking > 0 then
self.say(Spell);
sleep(2000);
end;
end;
sleep(200);
end;
end;
Ostatnio zmieniony przez Ditral : 10-01-2009, 10:15
Ostatnio zmieniony przez Królowiec : 10-01-2009, 10:53
Posrane to jest...
95% nastolatków w dzisiejszych czasach słucha rapu, hiphopu itp. Jeśli jesteś jednym z tych 5% słuchających PRAWDZIWEJ muzyki wstaw to w podpis.
while not terminated do
begin
self.moveright;
sleep(1000);
self.movedown;
sleep(10*60*1000);
end
function IsCreatureVisible(Name: string): boolean;
var
x: integer;
begin
Result := False;
for x := 0 to Creatures.Count - 1 do
begin
if x >= Creatures.Count then Break;
if Creatures.Creature[x].Name = Name then
begin
if Creatures.Creature[x].Visible then
begin
Result := True;
Exit;
end;
end;
end;
end;
begin
while not Terminated do
begin
UpdateWorld;
if IsCreatureVisible('Demon Skeleton') then PlaySound('c:\windows\media\notify.wav');
Sleep(1000);
end;
end;
'c:\windows\media\notify.wav' //zamiast tego możesz podać ścieżkę do jakiegoś innego alarmu
Ostatnio zmieniony przez Gray : 10-01-2009, 17:53
Aktualnie 1 użytkowników przegląda ten temat. (0 użytkowników i 1 gości)
Zakładki