![]() Shoutbox (View Full Shoutbox)
|
||||
Click Refresh to load shouts. |
||||
|
Open Corpses With HookProxy
|
|
02-23-2010, 07:43 AM
Post: #11
|
|||
|
|||
|
RE: Open Corpses With HookProxy
Ok thanks, I'll try it as soon as you get home, although I think the problem is
it is not recognizing that the Tile is a body of the dead creature, I believe that is the problem, but anyway I will try. Thanks |
|||
|
02-23-2010, 10:25 PM
Post: #12
|
|||
|
|||
|
RE: Open Corpses With HookProxy
The problem unfortunately persists: (
|
|||
|
02-24-2010, 09:54 PM
Post: #13
|
|||
|
|||
|
RE: Open Corpses With HookProxy
sombody?
|
|||
|
02-25-2010, 07:57 AM
(This post was last modified: 02-25-2010 07:59 AM by klusbert. Edit Reason: )
Post: #14
|
|||
|
|||
RE: Open Corpses With HookProxy
(02-24-2010 09:54 PM)SirChops Wrote: sombody? Do your player running while trying to open the corpse? If yes, try to send player.stop, and sleep 200 ms and open. If no, add Like client.statusbar = p.item.id in your function, and throw some stuff around you to see if it triggers. Like client.statusbar = p.item.id Then throw some stuff around you to see it it's work. But if you get the "sorry not possible" message it's something wrong with the packet you sending. Try item.use? Btw the proxy is working. Download latest version of ladabot http://www.lada.vacau.com |
|||
|
02-27-2010, 12:18 PM
(This post was last modified: 02-27-2010 12:18 PM by SirChops. Edit Reason: N/A)
Post: #15
|
|||
|
|||
|
RE: Open Corpses With HookProxy
I tried all the suggestions posted here, but now I could detect the problem, just do not know how to solve it
What used to detect the problem was: select c#
bool _Hook_OpenCorpse(IncomingPacket packet) { Tibia.Packets.Incoming.TileAddThingPacket p = (Tibia.Packets.Incoming.TileAddThingPacket)packet; if (p.Item != null && p.Position.DistanceTo(_fClient.PlayerLocation) <= 2) { MessageBox.Show("First If"); if (p.Item.GetFlag(Tibia.Addresses.DatItem.Flag.IsContainer) && p.Item.GetFlag(Tibia.Addresses.DatItem.Flag.IsCorpse)) { MessageBox.Show("Second If"); p.Item.OpenAsContainer((byte)_fClient.Inventory.GetContainers().Count()); } } return true; } the code does not pass the second IF, ie he does not see the "P" as a dead body or as a container, then it opens the body ... someone help me? |
|||
|
02-27-2010, 04:01 PM
Post: #16
|
|||
|
|||
RE: Open Corpses With HookProxy
(02-27-2010 12:18 PM)SirChops Wrote: I tried all the suggestions posted here, but now I could detect the problem, just do not know how to solve it if p.item.isinlist(constants.items.corpse) Download latest version of ladabot http://www.lada.vacau.com |
|||
|
02-27-2010, 05:10 PM
Post: #17
|
|||
|
|||
|
RE: Open Corpses With HookProxy
Ohh thank you, but how is the syntax that I tried that but always the error
Here are what I used. select c#
if(p.Item.IsInList(Tibia.Constants.ItemLists.Corpse)); { client.Statusbar = p.Item.Id.ToString(); player.Stop(); p.Item.Use(); } |
|||
|
03-08-2010, 05:05 PM
Post: #18
|
|||
|
|||
RE: Open Corpses With HookProxy
(02-27-2010 05:10 PM)SirChops Wrote: Ohh thank you, but how is the syntax that I tried that but always the error corpse.values or corpse.list don't know from the head. Download latest version of ladabot http://www.lada.vacau.com |
|||
|
« Next Oldest | Next Newest »
|

![[-]](images/mint/collapse.gif)



