• 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!

0.4

  1. J

    Weapon problem

    Hello guys I Work on tfs 0.4 but I was have a crash server and I move my server to tfs 1.5 and little bit I have problem I have custom script on arrow and have a problem like that data/weapons/scripts/arroww.lua] Function setCombatCondition was renamed to addCombatCondition and will be removed...
  2. J

    MaxPacketPersecond

    Hello everyone I would like Add to TFS 0.4 Tibia 8.60 MaxPacketPersecond When Players Do something on server (Try Crash ,Autofollow etc) Player willbe Logoaut Can somebody help me please?because I have problem
  3. El Man

    Lua [TFS 0x+] Send Player Items to Depot

    Is possible to make script transfer all items from equipment to depot?
  4. J

    Problem autoloot

    Hello guys I have problem with autoloot I use Tfs 0.4 tibia 8. 6 I have error in console like that My script is -- Sistema de auto loot criado por Henrique Matheus - HServers local tabela = {} local function getPlayerList(cid) local tab = {} if getPlayerStorageValue(cid, 0442002) ~=...
  5. J

    Error mysql in my console

    Hello guys I have problem,I use tfs 0.4and when I turn on my server is error in console How I can fix it?Be cause I can not find how I can do it
  6. demonrage

    high cpu usage

    I'm using tfs 0.4 rev 3996 , and when I reach + 120 players online, the cpu usage increases a lot, I would like to know how to solve this? my vps : 4vcpu 6gb ram
  7. demonrage

    Can someone adapt this code to 0.4?

    in this tutorial, the author teaches how to put damage/healing/exp, etc.. by %.. however I would like it to be by "kk" that is damage = 1200 = 1.2k / 12500 = 12.5k etc.. thanks! LINK: https://otland.net/threads/0-4-all-heal-damage-in-percentage.283685/
  8. Z

    TFS 0.X Add a storage to another player by params

    0.4 Hi guys, I'm having a little trouble trying to do this. This spell add a storage to a player, and after 15 seconds, the storage backs to -1. I'm trying to use spells params=1 in spells.xml, just like exura sio and such, but it does not seem to work. function onCastSpell(cid, var)...
  9. Vagnerking

    TFS 0.X TFS 0.4 - Autoloot bug with rarity items

    hello everyone, I have 2 mods on my otserver: one for autoloot and another for item drop by rarity. The drop of items by rarity works as follows: every monster that the player kills has a chance of dropping rare, epic or legendary items. But when my autoloot pulls the item from the dead...
  10. Z

    TFS 0.X getSpectators error

    0.4 Hi guys, I am trying to learn more about getSpectators to make creative spells for monsters. I tried to make a simple script that would do the following: teleport the monster to a random player near it and start attacking that player, changing its target. function onCastSpell(cid...
  11. Z

    Simple way to remove monster?

    0.4 Hi, I am struggling with some think I know its very easy. I want a way to remove a creature after some time after it has been created. I have a npc script where summons a creature, and it adds an event that removes it, but if a player kills the creature, obviously returns an error. So I...
  12. Z

    Creating an item with actionid

    0.4 Ok, its not that simple. I'm trying to make the following idea. Player clicks in an item, the item breaks and after some time, the script create the same item and set an actionid 2 things that I'm having trouble with: How to destroy an item but the script will remember where it was (using...
  13. M

    Lua Monster disappear after a minute

    0.4 Hello guys and good morning. I was trying to do some simple scripts, but one of them i can't solve. I want a script that, when the monster get created by doSummonCreature, it will disappear after a minute. I was trying to do by creaturescript and then use this in the monster.xml...
  14. potinho

    TFS 0.X [7.72] Craft System

    Good morning guys, I am trying to deploy a craft system on my server with NPC, however when I choose the item I want to craft, it gives the following error on the console. If you can help me make it work. NPC.XML <?xml version="1.0"?> <npc name="Drake" script="data/npc/scripts/drake.lua"...
  15. potinho

    TFS 0.X Vip Scroll - Increasing days

    Hello guys, I have a question: I have a functional script to add VIP days to a player, but when I use it I would like the days to be really added when I use a scroll, as it is, it is just replacing. If I use a 30 day scroll today and tomorrow I use a 10 day scroll, I would like to keep 40 days...
  16. W

    is there a function for that?

    I'm looking or if someone can help, I want a creaturescript or something like that when the player gets x storage he gets a benefit, for example - 10% damage or 10% more protection! if someone can give me a light i'm happy. I looked in the list of functions moon of tfs 0.4 but i didn't find...
  17. H

    Extended AddMagicEffect and ShottEffect

    Please extend my server and otx I don't know if otx2 or another hahaha, but there where the message Outputmessage should be NetworkMessage and if I change the error when compiling and something else and where is the addbytes it cannot change if not tbm the error when compiling someone to help please
  18. W

    TFS 0.X How Make runes 7.6 in 8.6 with charges function

    Hello everyone! I've been researching how to make the 8.6 runes look like the 7.4 and 7.6 runes, but I got it partially! as? = editing the .dat .spr and item.otb but the error is as follows! the charging system does not work! does not appear and in the item the number of loads he has! and when...
  19. Obito

    Solved Downgrading the TFS to lowest client

    Could someone explain how to downgrade the TFS 0.4 protocol? for example from 860 to 811 or lower and how the RSA works with the client? also, shall I change the definition.h file withProtocol::XTEA_encrypt
  20. M

    Lua NPC task

    0.4 Hello guys, I'm here to ask for a favor. To start, I have this npc's script, where it gives the player a task to do, like killing some amount of monsters, and it works perfectly, BUT i want something more. I was trying to do something like: If the player has a specific storage, the npc will...
Back
Top