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

    Solved TFS [1.2] Enchanting weapons

    You gave him a hammer and told to build a house. He just need a little explain how table.find works and example of using it. It's support board, what's next? New rule don't post anything do it yourself? ^^ I will just make script on target without table.
  2. S

    Lua Creature Position - Bug?

    toPosition = player:getPosition() local skeleton = doSummonCreature("Skeleton", toPosition) local skeletonCheckPositionNow = skelelton:getPosition() -- return error local skeletonCheckPositionNoww = getCreaturePosition(skeleton) -- work fine Please try to compare green text with red...
  3. S

    Solved TFS [1.2] Enchanting weapons

    Is that answer? google it -.-? Trust me i've been trying multiple times. function table.set(t) -- set of list local u ={} for _, v in ipairs(t) do u[v]=true end return u end function table.find(f, l) -- find element v of l satisfyingf(v) for _, v in...
  4. S

    Solved TFS [1.2] Enchanting weapons

    1. Reload actions 2. Using enchanted ruby on knight axe 3. Using small sapphire on altar Fail at: target:transform(enchantedItems[target.itemid][targetId], subtype) Fail at: if not targetId or not isInArray(enchantingAltars[targetId], target.itemid) then Looks like this is reason of all...
  5. S

    Solved TFS [1.2] Enchanting weapons

    Only good scripters can find the issue. See video there is no errors.
  6. S

    Solved [TFS 1.2] Non aggressive dmg

    You couldn't see because he did help on priv msg ^^
  7. S

    Solved Gesior acc Guild with ID 0 doesn't exist. when creating guild

    You have to delete guilds Then execute this code into SQL
  8. S

    Solved [TFS 1.2] Non aggressive dmg

    You didn't put the code that's why i posted it. You know it and maybe its very obvious for you but not the beginners.
  9. S

    Solved TFS [1.2] Enchanting weapons

    Script is working without any errors but gives only magic effect "CONST_ME_MAGIC_RED" it passed full script but weapon is not enchanted, also gems cannot be enchanted (mini message ingame - error sorry not possible when using on altar). All id of items are ok, actions.xml is ok. I've checked it...
  10. S

    Solved [TFS 1.2] Non aggressive dmg

    Actually. player:removeCondition(CONDITION_INFIGHT, CONDITIONID_DEFAULT) Thanks to imkingran for idea.
  11. S

    Solved [TFS 1.2] Non aggressive dmg

    How to kill player without having pz lock (can't enter protection). Example Last Man Standing winner.
  12. S

    Feature Reward Chest & Boss Reward [TFS 1.2]

    #up Thank you very much. I will test your script soon and write a comment. I am using Windows 7. I did spend a lot of time to make sure that everything i did good. Where should i use this command? In this program from github? Btw. I've tryed to update theforgotten sources to lastest but there...
  13. S

    Feature Reward Chest & Boss Reward [TFS 1.2]

    Yes i added dofile in lib.lua dofile('data/lib/rewardboss.lua') What exactly mean "Did you clone the repository?"? I don't understand "repository", sorry, please explain. Compile was ok. Everything looks great but that error. When i run server this error is spamming console. I saw also my...
  14. S

    Feature Reward Chest & Boss Reward [TFS 1.2]

    I've used that one from github and i have error. Lua Script Error: [CreatureScript Interface] data/creaturescripts/scripts/reward_chest/boss.lua:onThink data/creaturescripts/scripts/reward_chest/boss.lua:184: bad argument #1 to 'pairs' (table expected, got nil) stack traceback: [C]: ? [C]...
  15. S

    Feature Reward Chest & Boss Reward [TFS 1.2]

    Perferct except one thing. I found a serious bug. If you attack boss with summon creature - server will crash. (loot can't go to summon creature, it should move loot to summon owner).
  16. S

    Solved TFS 1.2 interesting bug with destroy.lua onDestroyItem, added video and ss to explain

    if not target or type(target) ~= "userdata" or not target:isItem() then return false end
  17. S

    Solved [TFS 1.2] Addoner

    Thank you! Add me to skype, we will see if i can help you. Well. I knew that before, it's basic to understand things like this. Still with that info i didn't knew how to fix it. Looks like i'll need more time to work with tables and stuff like this.
  18. S

    Solved [TFS 1.2] Addoner

    I can't pass this error ._. Someone please help with this addoner. Lua Script Error: [Npc interface] data/npc/scripts/[Addons].lua:onCreatureSay data/npc/scripts/[Addons].lua:22: bad argument #1 to 'maxn' (table expected, got nil) stack traceback: [C]: ? [C]: in function 'maxn'...
Back
Top