[-]
Shout:
Click Refresh to load shouts.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Healer Code
03-01-2010, 12:54 PM (This post was last modified: 03-16-2010 12:56 PM by theflammer. Edit Reason: )
Post: #1
Problem with Healer Code
I have 2 codes in my bot:(Both on Healer)

select delphi
procedure TFrame5.Timer2Timer(Sender: TObject);
var
i:Integer;
friend:TChar;
begin
If CheckBox3.Checked=false then
Timer2.Enabled:=false;
 
for i:=0 to ListBox1.count-1 do
  begin
  friend.Name:=listbox1.Items.Strings[i];
  if findplayerbyname(friend).Found=true then
    begin
      If ComboBox2.ItemIndex=7 then
        begin
          If friend.HPBar<=(friend.HPBar*strtoint(Edit4.Text)/100) then
            begin
              If Player.MP>=strtoint(Edit2.Text) then
              Packet_Say('Exura sio "'+friend.Name,1);
            end;
        end;
    end;
  end;
end;


but it isn't working. It dont heal the friends of list. WHY? I've tried a lot of things, change values and etc... but...nothing
Find all posts by this user
Quote this message in a reply
03-05-2010, 12:40 PM
Post: #2
RE: Problem with Healer Code
I cant believe people is still using Tibia.pas.

However, are you sure your battlelist size is 168?. I havent see a battlelist reader working. This might by the problem.
Find all posts by this user
Quote this message in a reply
03-06-2010, 11:50 AM (This post was last modified: 03-06-2010 11:51 AM by theflammer. Edit Reason: )
Post: #3
RE: Problem with Healer Code
(03-05-2010 12:40 PM)Pro-grammer Wrote:  I cant believe people is still using Tibia.pas.

However, are you sure your battlelist size is 168?. I havent see a battlelist reader working. This might by the problem.

No, I'm not sure about battlelist size but tibia version is 8.1, how can i find the battlelist size??

And I use Tibia.pas because I don't know much about Tibia Programming. I am still learning... If you can teach me, I will thanks you lot...
Find all posts by this user
Quote this message in a reply
03-06-2010, 06:03 PM (This post was last modified: 03-06-2010 06:27 PM by Pro-grammer. Edit Reason: )
Post: #4
RE: Problem with Healer Code
I really dont know how to fix it you need to investigate.
But i'll try, there are tutorials, just see on the forums.
Find all posts by this user
Quote this message in a reply
07-28-2010, 08:08 PM
Post: #5
RE: Problem with Healer Code
debug it and u'll prolly find your issue without a big problem
Find all posts by this user
Quote this message in a reply
Post Reply 



Contact UsTProgrammingReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication