• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Shawak

    Lua Function [TFS 1.2] creature:setNoMove(bool) & creature:canMove()

    creature:setNoMove(bool) is used to stop any movement of the creature, creature:canMove() returns whether the creature is currently allowed to move or not
  2. Shawak

    Lua Function [TFS 1.2] creature:setNoMove(bool) & creature:canMove()

    creature.h add below virtual bool isInGhostMode() const { return false; } add bool noMove; bool canMove() const { return !noMove; } void setNoMove(bool noMove) { this->noMove = noMove; } inside creature.cpp search for ReturnValue ret = g_game.internalMoveCreature(this, dir...
  3. Shawak

    Solved How to change TFS Lua liabriaries?

    Because it's newer. Can you post some of these errors?
  4. Shawak

    Perfect Trainer Script

    You need to define check_disponivel before using it in lua local position = {x = 156, y = 45, z = 6} -- posicao da primeira pos (linha 1 coluna 1) local config = { distX= 12, -- distancia em X entre cada sala (de uma mesma linha) distY= 9, -- distancia em Y entre cada sala (de uma...
  5. Shawak

    Lua TFS 1.2

    Tile(Position(x, y, z)):getTopCreature():getId()
  6. Shawak

    How to show a storage value inside the skill window?

    Send the storage value to the client using extended opcodes
  7. Shawak

    Otserv problem

    Well I don't know how the status updates work exactly, but did you open both ports and may wait a few minutes?
  8. Shawak

    Solved Setting starting town

    There should be some configuration file in Znote ACC which allowes you to change it.
  9. Shawak

    Solved getPlayerAccountId(cid) to TFS 1.2 please!

    function onUse(player, item, fromPosition, target, toPosition, isHotkey) db.query("UPDATE `vanaheim`.`accounts` SET `accounts`.`premium_points` = `premium_points` + ".. points .." WHERE `accounts`.`id` = '" .. player:getAccountId() .. "';") player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You...
  10. Shawak

    Tibia Specifications Initiative

    A good documentation is always better than a clean implementation. Some people might don't understand a specific programming language or the implemention itself, because they have to understand the formats itself to actually understand the implementation. This argument is invalid and only an...
  11. Shawak

    Compiling rateExperienceFromPlayers same ip block.

    std::cout << attackerPlayer->getIP() << std::endl; std::cout << getIP() << std::endl;
  12. Shawak

    Compiling rateExperienceFromPlayers same ip block.

    You can do that using visual studio, another method is printing these values to the console.
  13. Shawak

    Compiling rateExperienceFromPlayers same ip block.

    Did you already try debugging and set breakpoints at attackerPalyer->getIP() and getIP() to see what these functions return?
  14. Shawak

    [Germany] Battleborn (OTS)

    Just some video to show you our current progress Dungeon System & Dungeon Finder Dungeons are getting prepared in real time Different player groups can't see each other (same for monsters/items) Players are getting matched together depending on their role (tank/heal/dd)
  15. Shawak

    Compiling rateExperienceFromPlayers same ip block.

    Do you may provide the code including your changes?
  16. Shawak

    Lua Shop.lua

    Try replace 'db.executeQuery' with 'db.query'
  17. Shawak

    [Germany] Battleborn (OTS)

    @whitevo : No chance we'll be giving anything of our code away. We are not interested in merging with any existing project, also we can host this by our own.
  18. Shawak

    Solved Issue about memory

    So where's your problem and whats the reason for this thread?
  19. Shawak

    Solved Issue about memory

    Loading the whole file is the same as storing it in the memory. If you would explain your problem better we may be able to help you.
  20. Shawak

    [Germany] Battleborn (OTS)

    We will start like that, but there should be also the possibility to level your character by your own (no idea how we will implement this yet, maybe solo dungeons, storyline?) You are right, there will be dungeons which require a lot of effort to be realised, but we will also create some...
Back
Top