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

    GTA VI Trailer 1 Released.

  2. Curb

    Extraloot tfs1.5 problem

    boostedInfo = boostedInfo .. ('Today daily creatures are: %s has extra exp %.1f\n%s has extra loot rate %.1f\n%s has extraloot, list of possible items:\n\n'):format(monster1, getBoostedCreature().rate.exp, monster2, getBoostedCreature().rate.loot, monster3) The error occurs because the...
  3. Curb

    TFS 1.4.2 NPC error

    Check this, it will fix: https://github.com/otland/forgottenserver/issues/4465 https://github.com/otland/forgottenserver/commit/61452aa5dc2c8d3ff345e627295eef06d8aafa8a
  4. Curb

    TFS 1.4.2 NPC error

    No, it wont fix your compilation error. There is a full tutorial on how to compile TFS in every system, make sure to follow step by step: https://github.com/otland/forgottenserver/wiki/Compiling
  5. Curb

    TFS 1.4.2 NPC error

    src/enums.h: find: uint32_t buyPrice = 0; uint32_t sellPrice = 0; change to: int64_t buyPrice = 0; int64_t sellPrice = 0; find: ShopInfo(uint16_t itemId, int32_t subType = 0, uint32_t buyPrice = 0, uint32_t sellPrice = 0, std::string realName = "") change to: ShopInfo(uint16_t itemId, int32_t...
  6. Curb

    TFS 1.4.2 NPC error

    https://otland.net/threads/tfs-1-4-2-npc-error-argument-1-has-out-of-range-value-for-unsigned-int-1.281723/post-2700457
  7. Curb

    GTA VI Trailer 1 Released.

    Can't wait 🤷‍♂️
  8. Curb

    RevScripts random suprise bag

    Yes. To ensure that an item is always chosen, the sum of the chances of the items should be greater than the maximum number that can be randomly generated in the script.
  9. Curb

    RevScripts random suprise bag

    Something like that: function onUse(player, item, fromPosition, target, toPosition, isHotkey) -- Define the reward pool with chances, types, and specific details local rewardPool = { {chance = 10, type = "item", id = 2160, count = 10}, -- 10x Crystal Coins {chance = 5...
  10. Curb

    RevScripts random suprise bag

    try: xml: <action itemid="YOUR_MYSTERY_BOX_ITEM_ID" script="mystery_box.lua"/> lua: function onUse(player, item, fromPosition, target, toPosition, isHotkey) -- Define the reward pool with chances and item details local rewardPool = { {chance = 10, id = 2160, count = 10}, --...
  11. Curb

    Lua Only Colors [TFS 0.4]

    I'm not sure about the getOutfit() function on your server version, but you can try: local t = { red = {x = 1035, y = 1077, z = 6}, blue = {x = 1102, y = 1036, z = 6} } local colors = { red = {lookHead = 132, lookBody = 132, lookLegs = 132, lookFeet = 132}, blue = {lookHead =...
  12. Curb

    Linux Problem setting up MyAAC with Canary

    Maybe use a .xml from a TFS of the same version?
  13. Curb

    Lua Problem with rewards

    It probably happens because the script is giving rewards to each player who dealt damage to the monster, without taking into account whether the player has already received the reward or not, so players are receiving multiple rewards if they have dealt damage to the monster multiple times. You...
  14. Curb

    RevScripts help with scripts, delay doesn't work

    Try it this way and see if it works for you: local configs = { ring_id = 26544, delay_time = 5 * 60, delay_storage = 10000 } function onPrepareDeath(cid, killer) local ring_slot = getPlayerSlotItem(cid, CONST_SLOT_RING).itemid if isPlayer(cid) and ring_slot ==...
  15. Curb

    Lua Learn spell by making quest TFS 1.5

    cap check: function onUse(player, item, fromPosition, target, toPosition, isHotkey) if player:getStorageValue(Storage.YourQuestStorage) < 1 then local rewardWeight = ItemType(2160):getWeight(10) -- Calculates the weight (itemId/amount) if player:getFreeCapacity() >=...
  16. Curb

    Lua Learn spell by making quest TFS 1.5

    Something like that: <action itemid="YourBoxId" script="other/light_quest.lua" /> -- Replace 'YourBoxId' with the id value of the box function onUse(player, item, fromPosition, target, toPosition, isHotkey) if player:getStorageValue(Storage.YourQuestStorage) < 1 then -- Replace...
  17. Curb

    [CANADA][CUSTOM] Darkrest Online

    I haven't had time to play the game yet, but it's definitely one of the best website layouts I've ever seen on an otserver, congratulations. I've visited it a few times just to have a look. :)
  18. Curb

    Snowball tfs 1.5 Problem

    Did you add CACHE_GAMEAREAPOSITIONS = {} to data/global.lua as @WibbenZ suggested? As we figured in the prints added before, the problem you have is that your script can't access the random positions. It might help.
  19. Curb

    Snowball tfs 1.5 Problem

    https://otland.net/threads/snowball-war-event-error.253479/#post-2459436
  20. Curb

    Snowball tfs 1.5 Problem

    Did you set the Area_Configuration position correctly? Area_Configurations = { Area_Arena = {{x = 38859, y = 59, z = 7}, {x = 38870, y = 84, z = 7}}, -- Area da arena do jogo, ({Canto Superior Esquerdo}, {Canto Inferior Direito}) Position_WaitRoom = {x = 38820, y = 60, z =...
Back
Top