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

    Lua Limit object desintegrate rune

    Hello, there's a way to limit the object that clean in sqm like 10 every time that use the rune? Thanks local dead_human = { 3058, 3059, 3060, 3061, 3064, 3065, 3066 } function onCastSpell(creature, var, isHotkey) local position = Variant.getPosition(var) local tile =...
  2. dervin13

    C++ HEALTH/MANA percent error with much life

    Hello, I use the code of health percent but after something about 23kk of life this stop to show 100 percent and shows the number 65445 if (player->getMaxHealth() > 0) { msg.add<uint16_t>(std::min<int32_t>(player->getHealth() * 100 / player->getMaxHealth()...
  3. dervin13

    Error SMTP

    An error occorred while sending email! Try again or contact with admin. Error: SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki (https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting) How can I debug it or see the specific error to fix?
  4. dervin13

    Lua How to modify to work only in specific days like sunday monday and thursday ?

    Hello, I'd like to know if someone can help me to modify this script to work only in specific days like sunday monday and thursday ? thanks function onTime(interval) if os.date("%H:%M") == woe.days[os.date("%A")] then woe.queueEvent(woe.timeDelay+1) end end
  5. dervin13

    Lua Request temporary stone tfs 1.x

    Hi, I would like to know if someone have a script or can share a way when people pass in a tile it appears 2 stones that take 10 minutes to disappear
  6. dervin13

    TFS 1.X+ Player protection at log in

    Hello, I used to have tfs 0,4 and there when player log in they have some time until they can be attacked by players or to attack other players.... I tried to find it to tfs 1.2 but I can't. Someone know a script or storage that players can be only attacked after like 30 seconds after log in...
  7. dervin13

    Lua Question about anti mc

    Is it possible to create a script that prohibit players with same ip to attack the same player?
  8. dervin13

    How to block player to pass in a tile where there's a player?

    Hi, anyone know a movement condition that block another player to try to go in sqm and it's not possible because there's a player in this sqm? thx
  9. dervin13

    Frags list web tfs 1.x

    Is it possible to transform this frag list into tfs 1.x? I already search a lot in the forum and didn't find any frag list to new tfs thanks //frags list by Xampy $i = 0; $frags_limit = 10; // frags limit to show? // default: 10 $player_frags =...
  10. dervin13

    Lua question error what is and how to solve

    Someone knows how to solve and what is it? Lua Script Error: [Npc interface] (Unknown scriptfile) data/npc/lib/npcsystem/modules.lua:1012: [ShopModule.onSell] items[itemid] == nil parte of the code function ShopModule:callbackOnSell(cid, itemid, subType, amount, ignoreEquipped, _)...
  11. dervin13

    Convert to tfs 1.3

    local removeTime = 3 * 1000 local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497) local arr = { {0, 1, 0}, {0, 2, 0}, {0, 0, 0} } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) area.stackpos = 254...
  12. dervin13

    Lua Help autoloot talkaction

    Hello, someone can help me to solve this problem? Lua Script Error: [TalkAction Interface] autoloot.lua:6: attempt to index field '?' (a nil value) autoloot.lua:39: attempt to index field '?' (a nil value) thanks function onSay(player, words, param) local split = param:split(",")...
  13. dervin13

    Lua Auto loot collecting item in bag

    Is it possible to make this autoloot collect the item inside the bag in corpse when you kill it? thanks local function scanContainer(cid, position) local player = Player(cid) if not player then return end local corpse = Tile(position):getTopDownItem() if not corpse...
  14. dervin13

    Lua Make it work in globalevents cleanning specific area

    I get this script in another place and trying to make it work in globalevent, but already chance to function onThink(interval) but not happens... Can anyone help? It's to clean a specific area thanks function cleanmap() local configClean = { Map = { LS = {x = 550, y = 441, z = 7}...
  15. dervin13

    C++ Question about delay follow/ follow attack

    Is there any place in c++ code that I can change to get the follow/ follow attack faster to respond to this action?? I already fixed the action to push the players but to follow i can't find it When i'm attacking a player and is a magic wall in front of me and it's gone the player take too...
  16. dervin13

    Lua Changing to see status with all items attributes

    Is it possible to add to this command to see your skill plus your attributes items? How can I do it? thanks function onSay(player, words, param) local level = player:getLevel() local vocation = player:getVocation():getName() local health, maxhealth = player:getHealth(), player:getMaxHealth()...
  17. dervin13

    TFS 1.X+ Help Channel message when open

    Hello, I use otx based on tfs 1.3 and when I open the help channel it doesn't show any message, is it possible to add a message when player enter in the channel?? thanks
  18. dervin13

    TFS 1.X+ More than 1 player getting unjustified frag

    Is it possible to make more than one player getting unjustified? Newer tfs only let the last player getting this frag.
  19. dervin13

    How to give PZ lock to spell Tfs 1.3

    Hi can anyone help me to put pz lock when cast a spell? I already tried using combat param infight to put pz lock to a spell, but it does only give battle, player still can enter in a pz area...
  20. dervin13

    Help convertion script to 1.x

    Anyone can help to convert this talkaction? I already tried some changes but didn't work thanks local temple = {x=100, y=100, z=7} -- Lugar onde será teleportado local level = 100 -- Level minimo para poder usar o item local pz = true -- players precisam estar em protection zone para usar...
Back
Top