• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Search results

  1. L

    Error on compile TFS Last Resource using VS2017

    Unfortunately this solution did not work. :(
  2. L

    Error on compile TFS Last Resource using VS2017

    Sorry, follow the files in English, thank you. Screenshot
  3. L

    Error on compile TFS Last Resource using VS2017

    I am trying to compile the last commit using VS2017 but without success, it is returning this error: Screenshot I tried to install the Windows SDK 8.1, but even then it was not possible to compile. Can anybody help me?
  4. L

    OTClient movie player?

    UP
  5. L

    Pull item to backpack

    Is there any way to get Cylinder Position through OTClient?
  6. L

    How getName from item after container:getItems()

    Makes sense, is there any way to get this data?
  7. L

    How getName from item after container:getItems()

    for _,container in pairs(g_game.getContainers()) do print( container:getItem(1):getName() ) end I'm trying to get all the open containers in the player, so the loop, but it still does not return anything in getName()
  8. L

    How getName from item after container:getItems()

    function Container.getItems(self, ret) ret = ret or {} for index = self:getSize()-1, 0, -1 do local item = self:getItem(index) if item:isContainer() == true then ret[#ret+1] = item else ret[#ret+1] = item end end return ret end function...
  9. L

    How getName from item after container:getItems()

    But I need it to return all the names of all items in a container, getName () does not return anything in that context I passed, complete code: for i, container in pairs(g_game.getContainers()) do for j, item in pairs(container:getItems()) do if item:getName() == name and...
  10. L

    How getName from item after container:getItems()

    Because when I execute this code: for j, item in pairs(container:getItems()) do print(item:getName()) end getName return null all time? Tank you
  11. L

    Get the position the player is looking at

    Can someone tell me how I can get what position the player is looking at? South, North ... I did not find anything about it in the source code. EDIT ~~~~~~ player:getDirection() Sorry my mistake
  12. L

    Pull item to backpack

    How do I get the position from the Cylinder object? Sorry for ignorance
  13. L

    Pull item to backpack

    I can not find this event, onMoveItem, I found only the event, onAddItem, but that does not have the parameters that you cited. This event is on the Client side, right?
  14. L

    Pull item to backpack

    I understand, thank you Xeraphus, I think I can continue with my project :D
  15. L

    Pull item to backpack

    Many thanks for the reply. Not wanting to abuse your goodwill, could you kindly give an explanation about cylinder and if possible how it works? Thank you again
  16. L

    Pull item to backpack

    My question is simple, how do I get the item to be automatically pulled into the backpack? Looked at the candybot I had a notion but it does not work 100%, it pulls the item to position {x = 65535, y = 64, z = 0}. Can someone tell me why pulling into that position? Thank you so much
Back
Top