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

    Solved EXP scroll not working TFS 1.2

    https://gist.github.com/ninjalulz/fd5ea0d2ca5ab8c93000 (Click on Revisions to see the changes I made).
  2. Ninja

    Solved EXP scroll not working TFS 1.2

    Just player.lua, and remove the line where you trying to call the method Player.setExperienceRate from your action script.
  3. Ninja

    Solved EXP scroll not working TFS 1.2

    You can use the Player event onGainExperience to apply extra experience. if self:getStorageValue(storageKey) >= os.time() then exp = exp * expRate end
  4. Ninja

    Lua Woe strange error

    Please follow the Support Board rules when you are creating threads in the Support Board. We are not capable of reading your mind, so bare in mind that it's necessary to state the TFS version you are using, and post the script you are having trouble with.
  5. Ninja

    Windows Updating client TFS 1.2

    You can view the necessary changes for 10.8x support in this thread. You only need to modify definitions.h for 10.9 support after you have applied the 10.8x changes.
  6. Ninja

    [10.90 + Cast] Tfs 1.2 (custom modifications) + Reward Chest

    The two warnings indicates that there are two unreferenced parameters (as in unused). Simply open protocollogin (L47) & protocolspectator.cpp (L364) and remove the identifiers broadcast & version (but leave the types). It should look like this now: protocollogin.cpp, L47 void...
  7. Ninja

    Lua Skill Stages Error

    Replace local skillLevel = player:getSkillLevel(skillId) with local skillLevel = skillId ~= SKILL_MAGLEVEL and player:getSkillLevel(skillId) or player:getBaseMagicLevel()
  8. Ninja

    Mount Seller by Items

    It does "give" mount, but you're using incorrect values. You are passing clientId instead of mountId to Player.addMount.
  9. Ninja

    Lua [TFS 1.2] NPC System

    Are you using the NPC system from the forgottenserver repository? Mark pushed a fix 9 months ago, which should have fixed this issue. https://github.com/otland/forgottenserver/commit/f2c24ef8325cfa75fab8b6c779d20db780ff55e1
  10. Ninja

    [TFS 1.x] Paintball Event

    Original Author: @Bogart Original Thread: [MOD] Paintball event 0.4/0.3.6pl1 (Read here for more information) Rewritten to work with TFS 1.x. Minor modifications is required for TFS 1.0 (onStepIn & onSay). Git gist: [TFS 1.x] Paintball Event (I would appreciate if you can post any errors that...
  11. Ninja

    Solved In game changeable attributes from items.xml [TFS 1.2]

    Item.getAttribute/setAttribute is not working with your new attribute because you haven't modified the hexadecimal value in item.h. The attribute is of the type integer, so you should look at the function isIntAttrType. inline static bool isIntAttrType(itemAttrTypes type) { return (type &...
  12. Ninja

    Compiling Error compiling 1.2

    The MPIR library is outdated. Here is a link to MPIR 2.7 I uploaded a couple of months ago (Simply extract, and replace the mpir folder in the TFS SDK directory, and reload VS 2015). You can also build MPIR yourself by downloading the source code from wbhart/mpir.
  13. Ninja

    Solved Bug house door tfs 1.0

    You're welcome. Serialization is a process where data structures is translated into a format that can be stored, and reconstructed at a later point. The tile data (house items) in this case, is stored as a BLOB (Binary Large Object) in your database.
  14. Ninja

    What's the function to replace getContainerCap

    local POTIONS = { [1515] = {cost = 400, backpack = 10519, item = 8704, amount = 2000}, -- small health potion [1516] = {cost = 900, backpack = 2000, item = 7618, amount = 2000} } function onUse(player, item, fromPosition, target, toPosition, isHotkey) local potion =...
Back
Top