• 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!

creature

  1. potinho

    TFS 0.X Creature.h - Crash server

    Hello everyone, everything good? My server has been crashing for some time now, but when I migrated to Linux I managed to get the crash log: Thread 2 "pawn" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff2153700 (LWP 11395)] 0x00005555555c7dce in Creature::getZone...
  2. Yan18

    TFS 1.X+ [TFS 1.3] Which Condition to Use for Creature has Speed 0? Paralyze or Haste?

    Hi guys I wanna do a creature has 0 speed for a specific time by condition, but I tried to use CONDITION_HASTE and CONDITION_PARALYZE, but it didn't work. local speed = creature:getSpeed() local condition = Condition(CONDITION_PARALYZE) condition:setParameter(CONDITION_PARAM_TICKS, 10000)...
  3. Yan18

    TFS 1.X+ [TFS 1.3] How to Verify If a Creature Got Out the Screen Bounds?

    Hello everyone! As the title say, I would like to know how to verify if a creature got out the screen bounds in TFS 1.3?
  4. aqubjukr

    TFS 1.X+ Boosted Creature System

    Anyone have a script who changes the experience and loot of a monster randomly? I've tried to adapt many scripts but i didn't got. I'm using tfs 1.3.
  5. Mateus Robeerto

    Script to give attributes to mounts

    could someone get me a script to add attributes to my mounts? like, +5 def, +10 speed and talz?, for my 8.6 server I already have the mounts all working, I just need to put some attributes to differentiate and give an up on them PLEASE! I AM NOT VERY WELL SPEAKING IN ENGLISH .. RSRS
  6. E

    TFS 0.X Player does not take damage from monster or other player - Help

    players on my server take no damage, creatures and other attacking players do no damage, all permanent players are immortal. can someone help me solve this problem? I use TFS 0.4. thanks for listening! help 😔
  7. leonardo ramos

    TFS 1.X+ Storagemap Problem

    My server is having a problem with the following part of monster.cpp void Monster::addStorageValue(const uint32_t key, const std::string value) { if (value != "-1") { storageMap[key] = value; } else { storageMap.erase(key); } } So we changed this part to .lua...
  8. Booker

    TFS 1.X+ Creature() method with custom monsters?

    Hello, i'm using TFS 1.2 and i just cant get to return a monster instance using Creature() on a custom made monster passing in it's name as param. This works: local monster = Creature("rabbit") monster:getName() >> Rabbit This doesn't: local monster = Creature("myMonster") monster:getName() >>...
  9. M

    Lua Function creature:canChangeDirection(bool)

    Explanation: You can make any creature stop changing directions, usually via CTRL+ARROW KEY. My first C++ function, tested only with players and TFS 1.0 1. In game.cpp find: bool Game::internalCreatureTurn(Creature* creature, Direction dir) { if (creature->getDirection() == dir) {...
  10. N

    C++ how to deal with chatted strings on server-side?

    Hello, I want to do some operations with the strings that are submitted to the chat. Basically, I need to know which is the function that is called when a player chat. I've made some tests and I think that's Creature:: onCreatureSay(,,), is it correct? If so, should I just override the method in...
  11. elnelson

    Lua Creaturescripts temperature bug.

    Hello, otlanders. i have this script. its a temperatura script, when u are underground, desert, etc your temperatura raises and start losing hitpoints over time (1000 msecs) the bug: the event of damage (1hp/1s or 5hp/1s) is not working properly, it removes 1 hp or 5 hp like 10 times in 1...
  12. Lay

    [TFS 1.3](Creaturescripts) onKill: When one boss died next one will appear after 1h.

    Hey, I tried but. . . arrrrr Need something looks like: local respawnTime = 60 * 60 * 1000 local config = { ['test1'] = {position = Position(1000, 1000, 7), monster = 'test2'}, ['test2'] = {position = Position(1000, 1000, 7), monster = 'test3'}, ['test3'] = {position =...
  13. pasiak12

    Lua Get boots id value from creature

    Hi! I am learning LUA programming on tfs 1.2 For the first task I decided to modify the Haste spell. I want it to behave differently depending if the player is wearing boots of haste. This is my code: local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)...
  14. X

    [TFS 1.0] (xml) Son of Verminor outfit not changing (and others)

    I've already tried searching for similar issues and I have found nothing similar to this issue. The problem is pretty simple, I noticed that the monster "Son of Verminor" doesn't change his outfit like he is supposed to. In real Tibia he is supposed to change between a slime, a rat, a scorpion...
Back
Top