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

    Scripter Broke Lua Scripter - Hire Me -> Xikini

    I'm broke, and got bills to pay. Simple and easy. I make your scripts live on twitch. $5 usd per 15 min, rounded up to nearest 15. Pay me via paypal. Script Delivered via discord. (If you have a price limit in mind for your script request, feel free to dm and discuss) TFS 1.3+ preferred...
  2. Xikini

    getNextTime(hour, minute)

    Just had this sitting around. Figured I might as well post it, someone will probably find it useful. Mostly useful for storage values, so players know a daily task resets at a specific time, for example. -- example with storage values local next1PM = getNextTime(13)...
  3. Xikini

    DPS Tracker

    Main function here is the DPS Tracking. I included a tester function to just print to console.. but maybe you can send the information to the client, and have it update there for the player.. or attach it to a specific monster, like a training dummy, and let players see their dps. Use it...
  4. Xikini

    Lua Directional Spell & addEvent issue

    TFS 1.4.2 I want the direction of the spell to remain static. So if I'm facing south and cast, it will cast south 3 times, in the original casted spot. So this works as expected, until I start moving my character around. xD It seems like the direction of the character is checked everytime...
  5. Xikini

    Streaming

    Making scripts from my thread here. Come by and chat, or ridicule my poor scripting practices. xD 🤷‍♂️
  6. Xikini

    Lua Xikini's Free Scripting Service TFS 1.4.2

    Request whatever you want, within reason. Please do not request for things that require source editing or database queries. ------------------------------------ If I've reacted to your post, it means I've read it. 👍😍🤣😲🙁😡🤔😉 ------------------------------------ Completed Requests A boss that...
  7. Xikini

    isGuildLeader function

    Someone asked me a guild leader question, and I realised it's not very straight forward on how to figure out how to find the guild leader. So, this function was born. cheers function isGuildLeader(playerId) local player = Player(playerId) if not player then return false end...
  8. Xikini

    NPC Multiple Shop NPC

    Create a custom shop via table. Use that table to open a trade window. In the example below I used simple keywords to show each different shop.. (Shop A, Shop B, Shop C (A & B merged)) But the uses of this is only limited by your imagination. Few quick examples of things you could do ->...
  9. Xikini

    Roulette System

    Idea from here. Click a lever. Player spends an item, and the roulette spins.. slows down, and gives a reward. The rewards are rolled randomly, based on a chance that you can set in the script. Credits to @LeOnArd0 for the idea, and explanation on how everything was meant to work. local...
  10. Xikini

    sendAreaEffect(centrePosition, effectTable, magicEffect, direction)

    Untested, but this would replace the default way of sending area effects, via the combat system So instead of this.. local gfbEffect = Combat() gfbEffect:setArea(createCombatArea(AREA_CIRCLE3X3)) local positions = gfbEffect:getPositions(0, { type = 2, -- # VARIANT_POSITION...
  11. Xikini

    Bye

    This forum is just a time sink for me at this point, and I'd rather put that time to better use. Cheers.
  12. Xikini

    Fire?

    Burning.
  13. Xikini

    [How-to] Doors (TFS 1.4+)

    Near the end of TFS 1.3 the way doors function in TFS was changed. Previously, the doors in TFS were setup in pairs. Closed and Open. Keys were also setup to open doors. (and if the door was closed, it would 'auto lock') However, this was inaccurate to how doors work in real Tibia. In order...
  14. Xikini

    [TFS 1.4] Rollable Carpet System, using Revscripts

    Use the carpet to roll it up. Use the trapdoor to open it up. Walk into open trapdoor, and carpet+trapdoor resets itself. It's a nice and neat little system for small secrets or a quest. Cheers. data/scripts/rollable_carpets.lua local actionId = 45025 local itemIds = { trapdoor = {...
  15. Xikini

    TFS 1.4 getListOfContainerItems

    Finds all of the items in a container, and returns it as a table. function getListOfContainerItems(container) if not container:isContainer() then return false end local containers, items = {}, {} table.insert(containers, container) while #containers > 0 do...
  16. Xikini

    [TFS 1.4] Disallow specific items from being dropped on the floor

    Idea from here. This script will stop specific items from being dropped on the floor. This will also stop those specified items from being dropped on the floor, even if they are inside a container, or if you try to put the item into a container, that is on the floor. Exception made for the...
  17. Xikini

    [TFS 1.4] Disallow items from being moved into corpses

    Someone asked for this in private, and I figured it'd be useful to other people as well. :) Does exactly what title says. Disallow's items from being moved into corpses. Just throw it into data/scripts local disableMovingItemsToCorpses = EventCallback disableMovingItemsToCorpses.onMoveItem =...
  18. Xikini

    turnCreatureTowardPosition [TFS 1.3] Lua Function

    Nice and simple function. Turns a creature toward a position. Easily editable, if you don't like the default cutoff's I decided on. function turnCreatureTowardPosition(creature, position) local creaturePosition = creature:getPosition() local x, y = creaturePosition.x - position.x...
  19. Xikini

    That special spark inside all of us.

  20. Xikini

    TFS 1.3 pushTarget & pullTarget

    single target spell example area target spell example
Back
Top