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

    TFS 1.X+ Construction Kit

    This script basically transforms construction kits into the respective items. Could anyone help me modify it so that it performs the functions below? -When using the construction kit it would transform into the item, but if I use the item it would return to being the construction kit. -If use...
  2. C

    TFS 1.X+ pool of lifefluid

    Thanks. Do you know if FLUID_INK is supported in client 8.6?
  3. C

    TFS 1.X+ pool of lifefluid

    creature.cpp Item* splash; switch (getRace()) { case RACE_VENOM: splash = Item::CreateItem(ITEM_FULLSPLASH, FLUID_SLIME); break; case RACE_BLOOD: splash = Item::CreateItem(ITEM_FULLSPLASH, FLUID_BLOOD)...
  4. C

    TFS 1.X+ pool of lifefluid

    When a creature dies like an elf, dwarf, hunter, a pool of lifefluid is created. The correct would be pool of blood right? If so, where can I find the code that manages the creation of this pool in corpses?
  5. C

    TFS 1.X+ getLostPercent

    This would be used in an arena, so when the player is in the arena he would have the storage set and the reduction, however, when the player dies the arena resets the storage, and in that apparently the src reduction check is occurring after the script resets . Do you have any suggestions in...
  6. C

    TFS 1.X+ getLostPercent

    Would it be possible to include a check in the source so that, if the player has a storage 12345 = 1 he receives a reduction in the loss percentage, as it already happens if he has promotion and bless? double Player::getLostPercent() const { int32_t blessingCount =...
  7. C

    OTCV8 - NEW MODULE

    Would it be easy to include one more checkbox that would give an option to auto attack a specific creature?
  8. C

    TFS 1.X+ Check items container onTrade

    Work! Thank you!
  9. C

    TFS 1.X+ Check items container onTrade

    How do I check items inside containers to see if they have an AID assigned? I would like to do this check within the onTradeRequest function and block if player tried trade a bag/parcel/backpack with some item inside with AID.
  10. C

    Lua Use ladder with fluid underneath

    In this specific case where the ladder is created in the quest, if there is any fluid below where this occurs, it is not possible to use the ladder. local ladderPosition = Position(32854, 32321, 11) function onStepIn(creature, item, position, fromPosition) local player =...
  11. C

    TFS 1.X+ Attack/Spell "outfit"

    I'm trying to make a script to tame Donkey, but the Incredibly Old Witch only changes the player's outfit, it doesn't change the outfit of other monsters. I saw that the attack/spell "outfit" is declared in the source, but I didn't find any formula about it. Does anyone know where the code for...
  12. C

    Add custom functions Gesior website

    I have created a table in my database and I would like to create functions to make it easier for the website to read and write the data in this table. I created a copy of one of those pages of functions inside the Classes folder and followed the same example, but the functions don't work. Is it...
  13. C

    OTCv8 New mount window problem

    Thank you!
  14. C

    OTCv8 New mount window problem

    I use a downgraded version of TFS 8.6 and when I updated OTCv8 to the version that brings the new outfit/mount selection window I noticed a problem. The problem is that, now, when the player gets the first mount he can't select/use it. This is only possible if he receives a second mount, that...
  15. C

    Monster Image RME

    How do I make the monsters image appear correctly in RME? Some get an all-white mage outfit.
  16. C

    TFS 1.X+ Cannot rope invisible

    Work! Thank you! for @Xikini too!
  17. C

    TFS 1.X+ Cannot rope invisible

    Line 262: return thing:teleportTo(toPosition:moveUpstairs())
  18. C

    TFS 1.X+ Cannot rope invisible

    This TFS pack is quite old and also includes some additions, I believe, that came from OTBR. It worked when roping invisible creatures, but I got this error when trying to rope with nothing underneath. Line 260: if not thing:isCreature() then
  19. C

    TFS 1.X+ Cannot rope invisible

    function onUseRope(player, item, fromPosition, target, toPosition, isHotkey) if toPosition.x == CONTAINER_POSITION then return false end local targetId = target.itemid local tile = Tile(toPosition) local ground = tile:getGround() if ground and isInArray(ropeSpots...
Back
Top