www.bociarze.pun.pl

Chce Ci się expić? Phi, po co? xD Idź na piwo.

  • Nie jesteś zalogowany.
  • Polecamy: Gry

#1 2008-09-14 16:04:25

Master Borowik

Maniak...

Skąd: Tibia , na afku :D
Zarejestrowany: 2008-09-13
Posty: 313
Punktów :   
WWW

Atak Chicken

Bot będzie bił chicken jeśli ustawisz ten skrypt:

Spoiler:

Kod PHP:

var
MotherSlime: integer;

function Attacking: 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].Attacking then
begin
Result := True;
Exit;
end;
end;
end;

function GetFollowedCreatureID: integer;
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].Following then
begin
Result := Creatures.Creature[x].ID;
Exit;
end;
end;
end;

function GetCreatureByNameExcludeID(Name: string; 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].Name = Name) and (Creatures.Creature[x].ID <> ID)) then
begin
Result := Creatures.Creature[x];
Exit;
end;
end;
end;

begin
UpdateWorld;
MotherSlime := GetFollowedCreatureID;
while not Terminated do
begin
UpdateWorld;
if not Attacking then
begin
Creature := GetCreatureByNameExcludeID('Chicken', MotherSlime);
if Creature <> nil then
begin
Creature.Attacking := True;
end;
end;
Sleep(1000);
end;
end;

Przydatny dla ludzi którzy zbierają chicken feathers


1. Moderator nie nabija postów - Moderator ma wiele do powiedzenia.
2. Moderator nie myli się - Moderator ma inne zdanie.
3. Moderator nie obija się - Moderator czuwa.
4. Moderator nie rozmywa tematu - Moderator przypomina o innych ważnych sprawach.
5. Moderator nie obraża innych - Moderator dobitnie zwraca uwagę.
6. Moderator nie wykłóca się - Moderator szkoli użytkowników.
7. Moderator nie zakłada głupich tematów - Moderator sprawdza czujność użytkowników.
8. Moderator ma zawsze rację!
9. Jeżeli Moderator nie ma racji patrz na Pkt 8.

Offline

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.poradnikmargo.pun.pl www.nova.pun.pl www.motoon.pun.pl www.ftpcl.pun.pl www.chaosofworld.pun.pl