Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Corpose open problem
#1
Hi,

I have small problem on tibiascape, after killing one of portals bot is not looting them. It doesn't even open the corposes. I think that problem is that body has other name than monster. I mean, portal has name "Nightmare Portal" and body after kill has name "corposes". Now I changed on looter "loot every dead body" that's gonna work? Im asking here because it's hard to test it, because those portals hardly spawns.

Thanks for respond

Ok it didn't solve my problem. It still doesn't open corposes :/
Reply

#2
Hello.

That's because the game-client doesn't knows that portal is a corpse, so Bot either. What's the id of that portal? I will need to make some changes to make bot see that id as a possible corpse.
Reply

#3
Sorry it took me some time to get those ids. If I checked it corretly it should be like this:
ID of Portal - 99
ID of Corpose - 12840
Reply

#4
Hello.

Do you kind recording a GIF showing Bot not working? Because item id 12840 is a container, so Bot should loot it correctly.
You can record a GIF using ShareX and upload on YouTube/imgur then send to me by private message.

Are you sure that 12840 is the id of corpse of portal?
Stand on corpse sqm and run this script.
local itemTile = topitem(posx(), posy(), posz(), false)
print('topitem: ' .. tostring(itemTile))
local tile = gettile(posx(), posy(), posz())
for _, item in ipairs(tile.items) do
    print('item id: ' .. tostring(item.id))
end
print('-------------------')

ID 99 = creature, so you got wrong id or "portal" is a creature and we don't need it.

When you open corpse, what's the name that shows up on window? Because Bot already tries to loot anything that has "corpse" on title, example: dead corpse, rat corpse, corpse, etc.
Reply

#5
I use this code to get those ids so im pretty sure they are correct.

local TilePos = { X = 12345, Y = 12345, Z = 1 }

local Tile = gettile(TilePos.X, TilePos.Y, TilePos.Z)
if Tile ~= nil then
   if type(Tile.items) == 'table' then
       for _, item in ipairs(Tile.items) do
           print(item.id)
       end
   end
end

So I guess problem is in name of corpse because it is "Unholy ashes"
Reply

#6
|Only Registered members can see download links. | Click here to buy subscription or here to register.

Hello.

That prints all ids on that sqm, are you sure the one you posted is the correct one? Because if another monster died on same sqm, you could be telling that id instead of portal's corpse.

Not really, because Bot also checks for "unholy" on window title. You also said that it doesn't open the corpse, so that's not the deal.
Reply

#7
Yes becuase when portal died, ID - 99 dissapear and 12840 appeared. The others id was the same.

That script 
local itemTile = topitem(posx(), posy(), posz(), false)
print('topitem: ' .. tostring(itemTile))
local tile = gettile(posx(), posy(), posz())
for _, item in ipairs(tile.items) do
    print('item id: ' .. tostring(item.id))
end
print('-------------------')

Returns this when I stood on "unholy ashes"
item id: 4522 <-- grass
item id: 99
item id: 12840

And yes bot after killing portal is looting everything near it if some other monster dies but completly ignores "unholy ashes".
Reply

#8
Hello, any ideas?
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Sad" title="Sad" class="smilie smilie_8" />
Reply

#9
Hello.

Not really, the only thing that says whether Bot should open a body is the information whether the body is a container or not, Bot knows that this ID is a container. So I can only think that the game client isn't passing on the location of the monster when it dies and that's why Bot doesn't find the body.

Do you kind recording a GIF showing Bot not working? Because item id 12840 is a container, so Bot should loot it correctly.
You can record a GIF using ShareX and upload on YouTube/imgur then send to me by private message.

Try open the corpse and run the command:
createdebug()
It will create a debug.txt file then send to me by private message. You can upload on
|Only Registered members can see download links. | Click here to buy subscription or here to register.
or
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016