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

    Lua [TFS 1.0] NPC walking to position

    Bump Is it possible to use player autowalk for NPCs?
  2. E

    Lua [TFS 1.0] NPC walking to position

    Why it doesn't work as for monsters? void Npc::doMoveTo(const Position& target) { std::list<Direction> listDir; if (g_game.getPathToEx(this, target, listDir, 1, 12, true, false)) { startAutoWalk(listDir); } }
  3. E

    Lua [TFS 1.0] NPC walking to position

    @Limos I know, but what if positions are unknown? For example, I create a NPC in runtime in a random position on the map and there is also destination in a random position. What then? Should I create a double loop (one for coordinate X and the other for coordinate Y) checking tiles on specified...
  4. E

    Lua [TFS 1.0] NPC walking to position

    @julianfern94 Very "helpful" answer. @Limos I tested it. Your code works partly. NPC is walking from one to the other position, but if there is no way, it passes through walls, monsters etc. Is it possible to prevent this?
  5. E

    Lua [TFS 1.0] NPC walking to position

    Both work correctly, but only for 1 sqm (I mean using doTeleportThing like moving, so I can move only 1 sqm for push effect). Something for longer distance?
  6. E

    Lua [TFS 1.0] NPC walking to position

    I want to create a NPC walking to given position. I started from moving 1 sqm, but it doesn't work. Here is a full code: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function...
  7. E

    Solved [TFS 1.0] Tibia 10.35 - client crashes

    I downloaded and compiled it. It works! Thanks. Problem solved.
  8. E

    Solved [TFS 1.0] Tibia 10.35 - client crashes

    I don't see them. Can you post link to 10.31 or 10.35, please?
  9. E

    Solved [TFS 1.0] Tibia 10.35 - client crashes

    Thanks for reply. I think I don't know what to do with protocol. I was looking for 10.31 or 10.35 source code, but I couldn't find them. Everybody gives link to this.
  10. E

    Solved [TFS 1.0] Tibia 10.35 - client crashes

    Hi, I'm trying to create a server for Tibia 10.35. I've downloaded latest source code (with 10.41 support) and changed client version like here: #define CLIENT_VERSION_MIN 1035 #define CLIENT_VERSION_MAX 1035 #define CLIENT_VERSION_STR "10.35" Also I've copied items.otb and items.xml (v10.35)...
Back
Top