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

    quest log "functions"

    Well, not for me sadly :/
  2. F

    quest log "functions"

    You are my hero!!! Thanks a lot <3
  3. F

    quest log "functions"

    In the file quests.xml there are the quest log texts stored. Now I wounder what text functions I can use? I tried \n and \\n but it just prints the letters and symbols and won't start a new line. In the source code there is if (!mainDescription.empty()) { std::string desc = mainDescription...
  4. F

    [TFS 1.x] Player:addItemFromUsedItemContainer

    This is great! I will use it in my fishing and potions script! I hate it, that you always get the empty potion in your main backpack, when the potions are located somewhere else. Even if you drink out of a corpse
  5. F

    Lua Creating items in specific backpack TFS 1.2

    Oh my god, this works perfectly, thanks a lot! This one is solved!
  6. F

    Action improved obsidian knife TFS 1.2

    Hello, as I didn't found an obsidian knife script which matched my expectations I made one on my own. I has the following features: sculpting piece of marble rock sculpting ice cubes skinning monsters skinning fresh corpses only if you are the owner Here is the script. I tested it on my...
  7. F

    Lua Creating items in specific backpack TFS 1.2

    So if we take obsidian knife for example, if you skin a monster and get the product (in real tibia) the product is created, where the obsidian knife is located. So if the knife lays on the ground the leather creates on the ground. If the player has it in his backpack, it creates in his backpack...
  8. F

    Lua TFS 0.2.15 I'm loosing my mind...

    It works! It finally WORKS!!!!! Thank you my friend. I hope I wasn't too rude with what I said, I didn't meant to be. I still don't really understand why it's working on the other action script, but nvm. Programming/scripting is sometimes a bit weird imo. I know everything is logical and has a...
  9. F

    Lua TFS 0.2.15 I'm loosing my mind...

    What you are telling me, makes absolutely no sense. Because in this script, it's just working fine... normal on use action function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid, 5502) == 9 and getPlayerStorageValue(cid, item.uid) == -1 then...
  10. F

    Lua TFS 0.2.15 I'm loosing my mind...

    Still not working... this makes no sense. I'm using this line in the normal script and it works fine doTransformItem(17104, 3615) Then I use the EXACT SAME line in addEvent() and it tells me "doTransformItem() item not found." How is that even possible? I'm using the same code, without any...
  11. F

    Lua TFS 0.2.15 I'm loosing my mind...

    Here is a part of my script... the important part. It's an action pick.lua elseif itemEx.uid == 17104 then doTransformItem(itemEx.uid, 2249) addEvent(doTransformItem, 1000*5, itemEx.uid, 3615) doSendMagicEffect(toPosition, CONST_ME_POFF) return TRUE elseif ... The problem...
  12. F

    Programmer Looking for Imbuiment System

    Any news on that?
  13. F

    Lua Upgrading scripts from TFS 0.2.15 to TFS 1.1/1.2+

    Hello everyone, it's been a long time since I worked on my server and a lot of progress was done on TFS. Now that it uses a new scripting system and a reworked engine I really wanna upgrade my old sever to 1.x. I want to get all my old script to the new state and I know there is not a program...
  14. F

    Lua Switching from 0.2.14 to 1.0 [TFS]

    Bump! Nobody??
  15. F

    Lua Switching from 0.2.14 to 1.0 [TFS]

    Hello everyone, I think I wanna try to update my 0.2.14 Server to latest 1.0. But I saw, that the scripting system has changed a lot. Now I wanna ask, are there any beginners or general usage tutorials on how the new system works, how to call functions, and what I have to be careful with, when...
  16. F

    Lua Please someone explains raids.xml to me (in detail)

    So I want to use random monster spawns on my server. But it is a small populated server, so severall spawns each day, would be way too much. So I just want to have out of a list of 10 bosses, 1-3 spawns each day. Now, how do I make this. What I got so far is this: <raid name="Feverish"...
  17. F

    Solved [Movement] Faster regeneration in special buildings

    [EDIT] I found the error. In movements.xml there was the StepOut missing. For everyone, who wants to use this script proper way, here is the movements.xml <movevent event="StepIn" actionid="25000" script="tavern.lua"/> <movevent event="StepOut" actionid="25000" script="tavern.lua"/> where...
  18. F

    Solved [Movement] Faster regeneration in special buildings

    So the idea is: There is like a tavern, where you regenerate mana and hp much faster, while you are in the building. My first attempt is this script local condition = createConditionObject(CONDITION_REGENERATION) setConditionParam(condition, CONDITION_PARAM_TICKS, -1)...
  19. F

    Lua Problem with closingdoors.lua

    bump
  20. F

    Lua Problem with closingdoors.lua

    Hello everyone. My problem is, when I am standing in a quest door, or level door, and I die my body get's removed. I want the body to be pushed in front of the door instead. Here is my script: function onStepOut(cid, item, position, fromPosition) local newPosition = {x = position.x, y =...
Back
Top