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

    RIP CodexNG

    That's really sad. I would always check his threads to see what it was about mainly about free code samples, etc, he seemed to have a vast knowledge in programming. I learned a bit from him by reading Lua codes, etc. He had quite an ego (sometimes I do too), but still a good person. Rest in...
  2. Dnomyar

    TFS 1.2 function doAreaCombatCondition

    Use this otland/forgottenserver (https://github.com/otland/forgottenserver/blob/1b0bcb642a15e9be639ad76672c4ea2c59931f97/data/lib/core/combat.lua#L1) to get position of the creatures inside that combat area... Example: local area = { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } local combat = Combat()...
  3. Dnomyar

    TFS 1.X+ TFS 1.2, 10.98 - a lot of bugs from /data/

    https://github.com/otland/forgottenserver/releases
  4. Dnomyar

    Lua script (monster) tfs 1.2

    Currently there are only get and boolean member-functions for MonsterType class, which means there is no way for you to do that unless you edit sources to accomplish what you're asking.
  5. Dnomyar

    Hit whole stack [TFS 1.2]

    If said spell is aggressive, yes, you will still have to close your hands to be able to cast the spell. The spell will target every single player currently in that tile - but it will not hit you. If the resulted damage is 100, casting the spell will apply 100 damage to each player stacked in...
  6. Dnomyar

    Hit whole stack [TFS 1.2]

    In the master repository (TFS 1.3), you could do this (if you're not using master, just create these files in their respective path): https://github.com/otland/forgottenserver/blob/af649d061180faaa3e64205d3da6e6fe74a5f1f1/data/lib/core/core.lua#L1...
  7. Dnomyar

    Tfs 1.2 Party

    Party spells have since been updated to work as they were supposed to (they function the same away as in Tibia now), so in order for you to be able to cast this spell first you need the required mana, and second at least 1 member of your party has to be inside the spell area radius so that you...
  8. Dnomyar

    Weird spell Problem

    Oh, my bad. Just remove the minus sign from that code (the value has to be positive).
  9. Dnomyar

    Weird spell Problem

    Change "creature:addManaSpent(-amount)" to "creature:addManaSpent(-amount * configManager.getNumber(configKeys.RATE_MAGIC)).
  10. Dnomyar

    TFS 1.X+ Basic Spell Calc - What is wrong?

    You are using the wrong combat callback parameters (I saw they in sources they were modified) Try using "COMBAT_FORMULA_LEVELMAGIC" instead of "COMBAT_FORMULA_LEVELMAGIC_VALUE".
  11. Dnomyar

    Lua [1.2] Adding skull to monster

    Try this: local monsters = { name = "rat", position = {x = 998, y = 1006, z = 7}, chance = 95 * 1000, ["alpha"] = SKULL_BLACK, ["trained"] = SKULL_RED, ["strong"] = SKULL_WHITE } function onThink(interval, lastExecution) local chance = math.random(0, 100 * 1000) if...
  12. Dnomyar

    Ethereal spear problem with arrows of the elements. TFS1.2

    Add this to the script combat:setParameter(COMBAT_PARAM_USECHARGES, false).
  13. Dnomyar

    skill dmg formula (tfs 1.2)

    Oh, that's because you are using the wrong callback parameter. Just replace the CALLBACK_PARAM_LEVELMAGICVALUE with CALLBACK_PARAM_SKILLVALUE and your good to go. The function parameters for the callback parameter "LEVELMAGICVALUE" are arranged this way: function onGetFormulaValues(player...
  14. Dnomyar

    skill dmg formula (tfs 1.2)

    The values you return in onGetFormulaValues are the maximum damage you deal to monsters... but if the target is a player, the values are decreased by half.
  15. Dnomyar

    skill dmg formula (tfs 1.2)

    Can you post the full script here (in code tags, if you don't mind). Aso, which TFS version are you using (1.0, 1.1, 1.2, 1.3 "master branch")?
  16. Dnomyar

    Spell only Healing Party

    Try using this spell (use the datapack from the master branch, which is TFS 1.3): forgottenserver/heal_party.lua at master · otland/forgottenserver · GitHub
  17. Dnomyar

    Paralyze rune like RL, TFS 1.3

    I have researched this rune on some recent update on rl (the otherworld stuff), but you got me now. All I remember is that the target speed is decreased to 40 independently of target's (a player) base speed. Unfortunately, I don't remember nor have I noted down if it is still decreased to 40...
  18. Dnomyar

    Paralyze rune like RL, TFS 1.3

    forgottenserver/paralyze_rune.lua at master · otland/forgottenserver · GitHub
  19. Dnomyar

    Windows Error when I try to open theforgottenserver. Help me!

    Does it close the window right away? If so, try opening the theforgottenserver.exe through the command line program of windows CMD. Press (Windows Key + R), type cmd and press Enter, then copy the directory pointing to the folder into which the forgottenserver.exe is inside, and type in cmd: cd...
  20. Dnomyar

    tfs.exe process gets killed instantly after running when trying to get my server online

    Open the .exe file through a command line program. If you're on Windows open cmd and type: cd "the directory into which the .exe file is located at." then just type the name the of the .exe and press enter. There, now you can probably see the error message if any.
Back
Top