[-]
Shout:
Click Refresh to load shouts.

Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[request] how to do a healing bot?
07-16-2009, 08:47 PM
Post: #1
[request] how to do a healing bot?
i tried to creat a heal bot but i can't,
i put a checkbox a timer and a textbox
i'm using vb.net and c#
on c3# i tried
if (player.Hp < convert.toint32(textbox1.text)
{
uh.use(player);
}

i tried to put
uh.id = 3160
uh = new item (tibia.constants.items.rune.ultimatehealing)
uh = tibia.constansts.item.rune.ultimatehealing
and
uh.id = tibia.constants.item.rune.ultimatehealing

but everthing fail =/
i tried too with mana potions and the same problem =/
edit:sorry , please move to correct forum

[Image: pfile.php?file_id=399]
[Image: tibiaapiuserbarva6.jpg]
Find all posts by this user
Quote this message in a reply
07-16-2009, 09:24 PM
Post: #2
[request] how to do a healing bot?
Where did you place this code?

Find all posts by this user
Quote this message in a reply
07-17-2009, 04:58 AM (This post was last modified: 07-18-2009 05:01 AM by Jesper_Kladden. Edit Reason: )
Post: #3
[request] how to do a healing bot?
Code:
Item uh;
uh = 3160;
If (player.HP < Convert.ToInt32(textbox1.text))
{
uh.UseOnSelf();
}

something like that Tongue

[Image: image.php?type=sigpic&amp;userid=761...1230799621]
[Image: buttonug.png]
[Image: amini]
Find all posts by this user
Quote this message in a reply
07-17-2009, 08:36 PM
Post: #4
[request] how to do a healing bot?
UH = 3160;
Error 1 Cannot implicitly convert type 'int' to 'Tibia.Objects.Rune'
UH = new Rune (Tibia.Constants.Items.Rune.UltimateHealing);

Error 1 'Tibia.Objects.Item' does not contain a constructor that takes '1' arguments
UH = Tibia.Constants.Items.Rune.UltimateHealing;
no errors but when i test
Object reference not set to an instance of an object.

PS. before the update , we had 3 dlls, TibiaApi.dll,Inject_tibiapi.dll and packet.dll but now we have only TibiaAPI.DLL
i'm using only tibiaApi.dll i need to use packet? and where i can found the inject_tibiapi..?

[Image: pfile.php?file_id=399]
[Image: tibiaapiuserbarva6.jpg]
Find all posts by this user
Quote this message in a reply
07-17-2009, 11:04 PM
Post: #5
[request] how to do a healing bot?
Not sure about your problem since I'm not using Tibia API.

But as for your question, I think those other 2 DLL's are packed into Tibia API and automatically unpack when needed.

Find all posts by this user
Quote this message in a reply
07-18-2009, 05:01 AM
Post: #6
[request] how to do a healing bot?
Well, you'll need TibiaAPI_Inject and TibiaAPI to send packets and to use the library ;o

[Image: image.php?type=sigpic&amp;userid=761...1230799621]
[Image: buttonug.png]
[Image: amini]
Find all posts by this user
Quote this message in a reply
07-18-2009, 05:56 AM
Post: #7
[request] how to do a healing bot?
Jesper_Kladden Wrote:Well, you'll need TibiaAPI_Inject and TibiaAPI to send packets and to use the library ;o

DarkstaR Wrote:Not sure about your problem since I'm not using Tibia API.

But as for your question, I think those other 2 DLL's are packed into Tibia API and automatically unpack when needed.


Nooblet

Find all posts by this user
Quote this message in a reply
07-18-2009, 09:33 AM
Post: #8
[request] how to do a healing bot?
Jesper_Kladden Wrote:Well, you'll need TibiaAPI_Inject and TibiaAPI to send packets and to use the library ;o
and where i can download the tibiaapi_inject , because i can´t build in visual studio c++ express edition ¬¬

[Image: pfile.php?file_id=399]
[Image: tibiaapiuserbarva6.jpg]
Find all posts by this user
Quote this message in a reply
07-18-2009, 09:56 AM
Post: #9
[request] how to do a healing bot?
you don't need the injection dll to send packets or anything you requested in this thread

Code:
Item uh = new Item(client,Tibia.Constants.Items.Rune.UltimateHealing.Id);        

if(player.HP<Convert.ToInt32(textbox1.Text))
{
      uh.UseOnSelf();
}
Find all posts by this user
Quote this message in a reply
07-18-2009, 06:02 PM
Post: #10
[request] how to do a healing bot?
Farsa You Are My hero
Farsa TU é o Cara =P

[Image: pfile.php?file_id=399]
[Image: tibiaapiuserbarva6.jpg]
Find all posts by this user
Quote this message in a reply
Post Reply 



Contact UsTProgrammingReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication