I think the best way to do this is to simulate the mouse click on the icon of the container to minimize.
Type: Posts; User: Tabgyn
I think the best way to do this is to simulate the mouse click on the icon of the container to minimize.
In this case I passed the location of the tile where was the rope and not the tile where the char was.
That is as if the rope was not there.
I'm lost! :(
But as I said in the second case only the rope was in tile
Why would return the char?
Still not working properly.
I read some items but not correctly.
An example is when the char is on a rope ... two items appear in Tile ... a rope and the other is I have no idea of what I only know...
Yes I added some items to test but they do not appear in Tile.
This is the code that I want to work but even if I have several items blocking your way around the waypoint he continues to return...
Count of Items and Objects is 0
But has not the Count property in Tile. Im using version 8.60.
I use the syntax that I want
And if we speak of poverty must begin with the poverty of English
"Língua de índio!"
@maozao
I just rearranged the structure into two lines and for some reason it...
Problem solved.
But I'm with another problem, the code to check if tile is walkable does not work
I did some tests by placing some items on the ground, but by checking the tile where these items...
if (!_tile.Ground.GetFlag(Tibia.Addresses.DatItem.Flag.Blocking) &&
!_tile.Ground.GetFlag(Tibia.Addresses.DatItem.Flag.BlocksPath) &&
...
Only if he is a masochist.
The solution would be to capture packets between the server and client?
In other words ... I'm fucked!
I'll think what to do.
Thank you all for your help.
Okay, it did not work.
I tried creating a new location with each new call UseItemOnTile, but that did not work either.
Assuming that the problem is the x, y, z with a negative value, which is the...
I am using the dll TIbiaAPI, I can not put a breakpoint in the method.
I'll try to find this value.
Yes but I've tried and it did not work.
The problem is ToTileNumber, trying to convert Int32 to UInt32, but why it only happens after a few tries?
Any other suggestions?
Sorry for writing in Portuguese...
Amigo você não consegue suas respostas por que ninguêm consegue entender o que você está querendo fazer.
O IsWalking não foi feito para ser alterado pelo...
C/C++ and C#
But learning the programming logic, you can choose any language.
After update, tested and working.
Tested with 10 simultaneous clients.
Great job!
Believe me I have tried as administrator too.
The program crashes 10 seconds after opening the Tibia client.
No error is reported on screen.
Using windows 7 64 bit, 2.66Ghz, 4GB Ram
When trying to use Visual Studio to debug the following...
I did as suggested.
But it seems that sometime in GetTile it tries to convert Int32 to UInt32, is when the error occurs.
"
em System.Convert.ToUInt32(Int32 value)\r\n
em...
I use C#.
What your code is different from mine?
ShovelId = Items.Tool.Shovel.Id;
client.Inventory.UseItemOnTile(ShovelId, client.Map.GetTile(location));
Value was too large or too small for UInt32.
Related to the ID of the shovel
This is the same way.
I believe that this results in the same result, I'm just assigning the id to a variable before.
Or not?
I did as Veritias and the error still occurs.
The following error occurs after using a shovel a few times:
Value was too large or too small for UInt32.
Someone would know why this happens?
ShovelId = Items.Tool.Shovel.Id;
an example of how do I move the character
switch (_waypoint.Type)
{
//STAND
case WaypointType.Stand:
...