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

    Monster direction

    How to check the targets that are in front of the monster? Example: The monster casts a spell, and only casts the spells to the players who are in the direction of it ... So, whoever is behind it does not receive the damage ... I'm not good at spells, could anyone give me an idea? Thank you...
  2. flaviiojr

    Check items in different places

    Steps: Item 1 is in a certain place Item 2 is in a certain place How to check that both places are with the same item? In case of different ids items, would it return false? TFS 1.3 Thanks in advance !
  3. flaviiojr

    Lua Heal Monsters

    When using "creature" just heal my summon, if you use "0", heal all the creatures around... How do I heal all the creatures around, showing that it was that sacred tree that healed them? TFS 1.3 local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)...
  4. flaviiojr

    Creative Spell

    a spell where it would work as follows: the creature casting the spell will have an effect of it to the player, as shown in the image below ... regardless of location, the effect will follow a path to the player ... Any ideas? I thank you all very much! TFS 1.3
  5. flaviiojr

    C++ Error in MVSC [TFS 1.3]

    when compiling appeared these errors, how to fix this? I'm sorry, I'm new to c ++ ... I thank everyone in the community. Erro LNK2001 símbolos externos indefinidos "public: __thiscall HouseTile::HouseTile(int,int,int,class House *)" (??0HouseTile@@QAE@HHHPAVHouse@@@Z) Erro LNK2001...
  6. flaviiojr

    C++ Subtype Unknown

    const std::string& itemName = items[subType].name; s << " of " << (!itemName.empty() ? itemName : "unknown"); this function is not declaring the correct subtype, and is returning the string "unknown"... when the item is fluidcontainer instead of having the fluid name is returning unknown...
  7. flaviiojr

    item stackable until caps end

    What is a function or calculation that works as follows: pull stackable items to the limit of the cap ... Ex. Player has 100 cap, and stackable has 100 items, each stackable item weighs 2.00oz ... By pulling the items to bp, it will only be moved to BP 50 items (100.0oz), which is the cap...
  8. flaviiojr

    Container x container

    TFS 1.3 the following situation would be possible: parcel is inside the store inbox, and it is possible to move items into the parcel, is it possible to block it? Note: You can not move any item into the store inbox.
  9. flaviiojr

    Questlog Format

    Example of questlog How do I create this structure in the questlog? The Lion's Strength updates with x storage The Lion's Beauty updates with y storage The Lion's Tears updates with z storage I do not understand this questlog system well, if someone can show me a way and show me how to add...
  10. flaviiojr

    Randomize Item

    local rewards = { {id = 2160, msg = "aaaaaaaa"}, {id = 2127, msg = "bbbbbbb"} } function onUse(player, item, fromPosition, target, toPosition, isHotkey) for i = 1, #rewards do local items = rewards[i] player:addItem(items[math.random(#rewards)], 1)...
  11. flaviiojr

    Explain Formula

    local condition = Condition(CONDITION_PARALYZE) condition:setParameter(CONDITION_PARAM_TICKS, 20000) condition:setFormula(-0.6, 0, -0.8, 0) How does this paralyze formula work? What is the final value of this formula? TFS 1.3, thanks in advance!
  12. flaviiojr

    C++ Error in MSVC

    I'm having the following errors in the log TFS 1.3 Severity Code Description Project File Line Suppression State Error C2065 'Module_ptr': undeclared identifier theforgottenserver Error C2146 syntax error: missing ';' before identifier 'module' Error C2065...
  13. flaviiojr

    C++ [TFS 1.3] Check Item Position

    how to check item in two situations: 1- If it's inside a house, it returns true, otherwise it returns false 2- If it's inside a backpack it returns false Obs.: The implementation will be done in the sources (C ++) Thank you in advance, and sorry for my English. Client 10.98 TFS 1.3
  14. flaviiojr

    Lua [TFS 1.3] Target item in slot

    Is there a way the script returns the transform only if the target item is in the slot ring? Example: if the target item is not in the ring slot, returns false, if the target item is in the ring slot returns transform :confused::confused: function onUse(player, item, fromPosition, target...
  15. flaviiojr

    [TFS 1.3] NPC get level and add experience

    Hello everyone!! I need help with the following function: - if the player has level 8, it will level up to 400 - if the player has 100, it will level up to 400 the limit is up to level 400, no matter what level it will only level up to 400... Thank you in advance, and I count on your help!
  16. flaviiojr

    Lua Convert functions for tfs 1.3

    pos = {x = math.random(33091, 33101), y = math.random(31899, 31916), z = 10} addEvent(doSummonCreature, i * 20 * 1000, creatures[math.random(1, 2)], pos) addEvent(doSendMagicEffect, i * 20 * 1000, pos, CONST_ME_TELEPORT) TFS 1.3 Client 10.98 Thank you very much in advance!
  17. flaviiojr

    Solved NPC send trade

    what function is used for npc to send the trade window to the player? Ex. Player say Buy NPC send trade window TFS 1.2 Client 10.98
  18. flaviiojr

    NPC System [TFS 1.2]

    my doubt is this: player when talking hi and the player already has the storage npc responds and loses the focus of the player, as if the player had given bye how to proceed in this script? TFS 1.3 Client 10.98 if msgcontains(msg, 'temple') then if player:getStorageValue(50730)...
  19. flaviiojr

    C++ Problem PZ and Problem PVP [TFS 1.2]

    hello guys, I'm trying to fix the following problems below: - If a player uses an area spell and another player appears on the screen, the player who cast the spell only picks up "PK" if he has a "closed hand". - When the player is "PK", attacks a monster and then "exit" in the character. its...
  20. flaviiojr

    Programmer Looking for Programmers [PAID JOB]

    I'm looking for Imbuement System with full functionality, with all the functions TFS 1.3 Skype: [email protected]
Back
Top