• 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. mattch

    Lua Attribute in Backpack

    But he's already done this, I think his doubt is about show the attributes on look, and a backpack dont show it (source). -- Edit -- My bad, i was using a source that was edited and i didnt realized it. Btw, you can use the attribute showAttributes.
  2. mattch

    Lua Attribute in Backpack

    Source edit or put a description.
  3. mattch

    C++ send item to offline player depot

    This? TFS 1.2
  4. mattch

    C++ send item to offline player depot

    Tested both functions internalMoveItem and internalAddItem, but did not work. Anyway i just solved my problem doing this: I don't know if its the best way, but at least its working. Thanks for you help.
  5. mattch

    C++ send item to offline player depot

    i have tried it, but yet no success
  6. mattch

    C++ send item to offline player depot

    Hello. I'm trying to make a function that send the item to the player depot, even if he are not online. Thats the function that i created. Its only working if the player is online. int LuaScriptInterface::luaSendPlayerDepotItem(lua_State* L) { //sendPlayerDepotItem(guid, item[, depotId =...
  7. mattch

    Solved Sharing Lua States

    never mind, I solved my problem by making a function like rawset that work in all lua_states.
  8. mattch

    Solved Sharing Lua States

    Hello. I'm trying to make the lua states to be shared in all interfaces (creaturescripts, actions, talkactions, etc...), but I failed in every try. I'm trying make it based on this: https://otland.net/threads/shared-lua-states.55726/#post564976 my TFS version is 0.4
  9. mattch

    Compiling TFS 0.4 error

    Hey guys, i'm having a problem at the end of compilation, i dont know what is causing it: TFS 0.4 - Rev 3884 - 8.60 - Dev-C++ - Windows 7 -----------#EDIT------------ I managed, swapping the rev to 3777
  10. mattch

    Count to 10!

    2
  11. mattch

    Existem BR's?

    Mais um o/
  12. mattch

    Solved [LUA] Highscore script (onThink)

    Ops, i forgot the 'cid':
  13. mattch

    Solved [LUA] Highscore script (onThink)

    try:
Back
Top