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

    [TFS 1.X] Rarity Rolls & Custom Attributes Library

    Then your code is less flexible and there is something else wrong with your code, because when i add new arrays with 100% drop rate, 4 attributes are rolled. I did no other changes than adding arrays on the tier. You see a rare sword (Atk:17, Atk Spd:1.96s, Def:13 +1). It weighs 35.00 oz...
  2. Klank

    Althea ¤ A New World – Official Discussion

    Some of you already followed the Althea project through the old mapping thread. Thread pictures are no longer active, and Althea has become more than just map showoff. The project went on pause for several years, but its back! The server is in an Alpha stage, where an “Closed Alpha” were live a...
  3. Klank

    [TFS 1.X] Rarity Rolls & Custom Attributes Library

    If you allways want it to be 3 attributes, then you set the chance to 100% for [2],[3],[4] ( not 100 % sure if this possibly will give 4 attributes or not, you gotta test). However, to always have 3 attributes, you will need to provide 3 attributes as well. What i explained above is kind of...
  4. Klank

    [TFS 1.X] Rarity Rolls & Custom Attributes Library

    In the tiers table.... [2] = { prefix = 'rare', chance = { [1] = 1000, -- 1% chance to roll rarity, first colum is used to defined chance of dropping rarity [2] = 10000 -- 100% chance for second stat [3] = 10000 -- 100% chance for a third...
  5. Klank

    [TFS 1.X] Rarity Rolls & Custom Attributes Library

    In the tiers table you increase the chance, first array is the roll chance, the second is the chance of rolling a second attribute and so on. Chances is 0 - 10000 based on what you set the local roll value to. Inside the onDropLoot you have to roll the corpse (which is a container) : for i =...
  6. Klank

    Rising Continent - Development

    Fantastic OT ! Enjoy :)
  7. Klank

    Rising Continent - Development

    Yeah, its in a PRE-BETA stage, so just login and play :D
  8. Klank

    Lua Attempt to index a number value

    Instead of sending player:getId() in the addEvent, try send player.uid. addEvent(clearBossRoom, 60 * tmpConfig.time * 1000, player.uid, tmpConfig.centerPosition, tmpConfig.rangeX, tmpConfig.rangeY, tmpConfig.exitPosition)
  9. Klank

    help force tfs 1.4.2

    Depending on how u add the timer, you could add the initial description using item:setAttribute(key, value) and in Onlook script you could use if item:hasAttribute(key) then ..-get timer value - update timer value Or something..?
  10. Klank

    help force tfs 1.4.2

    Can’t you use onlook? Whenever a player looks at the item you update the remaining time?
  11. Klank

    TFS 1.X+ TFS 1.2 Add timer on spell

    First of all, your countdown function. You should pass the counter as an argument back. How else will it know how much time is left? Don't change the timer i posted. Also, your trying to create an area spell with target. that means the player has to be in the direction of the monster to hit...
  12. Klank

    TFS 1.X+ TFS 1.2 Add timer on spell

    Probably several ways of doing it, i have not done custom spells for monsters yet, but you can create a monster script that kills all people on a given situation. I think this should do(not tested): function onCreatureAppear(cid) local think = createConditionObject(CONDITION_ATTRIBUTES)...
  13. Klank

    TFS 1.X+ TFS 1.2 Add timer on spell

    That requires you to make it in lua.
  14. Klank

    [TFS 1.X] Food with conditions

    Hi, I'm sharing my extended food code, which can make food more useful than just eating for default reg.time. The code are configured with: Instant health Instant mana Instant soul Additional mana regeneration Additional health regeneration speed boost How to use? Add the item id of the...
  15. Klank

    Why the private server is dying and otland is dying with them?

    Not dead, there are multiple projects going on. Project threads on otland might not be as active as before, as many project use discord server to show updates, including my own.. Otland has been one of the top contributers when it comes to me learning to code. I’ve been a member here for years...
  16. Klank

    Server Warning - Spawn::addMonster

    Perhaps you added the monster to RME when it was wrong. Remove or re-add it in your RME-
  17. Klank

    Server Warning - Spawn::addMonster

    Monster name should be the name of the creature, not file name. Can you conform that it is?
  18. Klank

    Action Advanced quest chests 1.x

    just create an array with ur items local soulWarItem = {item1, item2.....,item10} local randomItem = math.random(1,#soulWarItem) [1] = {type = "item", item = randomItem, count = 1},
  19. Klank

    Lua HealthGain and ManaGain

    Edit: i withdraw
  20. Klank

    Lua HealthGain and ManaGain

    First you need to show us the code where it handles the conditions.
Back
Top