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

    TFS 1.X+ Is it possible to set a loot/exp/skill rate for 1 specific player?

    I am sorry. I am using TFS 1.3! Does it work?
  2. C

    TFS 1.X+ Is it possible to set a loot/exp/skill rate for 1 specific player?

    I was looking for some lua function that can increase or decrease a specific player loot/exp/skill rate for X amount, but I had no sucess. For example: A player wear a ring or maybe he talks to a NPC and then he get a bonus for one those stats. I am using TFS 1.3
  3. C

    How to make a door that closes after player pass through?

    <movevent event="StepOut" uniqueid="20000" script="quests/Secret Treasure/closedoor.lua" />
  4. C

    Why this login script doesn't work?

    Yep, now it works. I will let both scripts anyway, the one with the movements and this one. Just in case, you know... XD Thanks!
  5. C

    How to make a door that closes after player pass through?

    Should I do something before running it on my server? Because I just paste this into my script and it did not work. The "transform item" thing is ok, my door is really -1 id.
  6. C

    Why this login script doesn't work?

    Still not working... Asked me to change outfit, as usual, but did not change my town_id. I logout and login again, and kept the same town. However, I made a movement script to do this job for me, when the player step in the tile, his town changes. I have no idea why your script is not...
  7. C

    Why this login script doesn't work?

    Why is this script not working? I want a simple script that set the player town to 2 when he login for the first time. I am making sure to create a new char to make the LastLoginSaved = 0, still doesn't work. creaturescripts.xml <event type="login" name="changetown"...
  8. C

    How to make a door that closes after player pass through?

    Yep, it worked! Way better! Thanks. However, if people open the door from diagonal you may have a problem. So I made this script: function onStepOut(creature, item, position, fromPosition) local doorPosition = Position(14654, 13582, 10) local doorId = Tile(doorPosition):getItemById(1222) local...
  9. C

    How to make a door that closes after player pass through?

    I want to make a script that the player use a KEY to open the door and then closes it automaticaly after he pass through the door. I tried to make it using an "addEvent" but never close the doors, so I think I am doing something really wrong.
  10. C

    TFS 1.X+ Client crashes whenever I buy a house and logout

    When I buy a house, my client debug doesnt matter where I am. Even if I am very far from that house my game crashes.
  11. C

    TFS 1.X+ Client crashes whenever I buy a house and logout

    Hey guys, I have a weird bug that whenever I buy a house and the server restarts, next time I log in my game crashes. After this, I must try to log in 2x because the first I always get a debug error. Any idea what should I be looking for to fix it There is no errors in console, the game just...
  12. C

    TFS 1.X+ How to automatically use an object in BP on target?

    How can I make a function that makes X item in Backpack attack Y target (that is an object btw)? Basically, the same thing as you right click on the item and left click it on a object, but I want this as a code. Is it possible to do?
  13. C

    How to remove charge of specific item?

    It is solved. The script is working as it should, I just thought I had a bug but I don't have.
  14. C

    How to remove charge of specific item?

    I have this script for training in dummy. Whenever you hit the dummy with your weapon, you lose 1 charge of the weapon. It is working, however, if I have 10 weapons when I hit the dummy I lose charge in my 10 weapons instead of one. local skills = { [32384] = {id=SKILL_SWORD,voc=4}, --...
  15. C

    How to find a lua function easily (TFS 1.3)

    Hey, there! I made this spreadsheet that can find with ease any code you want. How it works? Choose the filters betwen category and sub-category to find your desired code. Example: Let's say I want to find a code for Players that get his Money value. 1- Open your Excel file; 2- Choose...
  16. C

    How to move player 1 sqm if he is on X position?

    Thanks! I wonder if is there any library with all these commands available for TFS 1.3. Would be really helpful to me! Can you tell me, please?
  17. C

    How to move player 1 sqm if he is on X position?

    I have this script that remove a stone when you pull the lever. After a while, the stone is created on the same spot. However, if the player in on the same position of the stone, the stone is not created... So, I need to move the player 1 sqm away if he is on the same spot of the stone. local...
  18. C

    I pay $ whoever solves my problem! Illegal value ERROR!

    I saw this post already, but I am not using Znote aac, im using my aac instead. Since I see alot of people using it, I imagine i shouldn't receive this error. However I will try znote instead.
  19. C

    I pay $ whoever solves my problem! Illegal value ERROR!

    Client only. Doesn't matter if the server is online or not, I always receive this error.
Back
Top