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

    TFS 0.X Restart the server on LUA

    Is it possible to restart the server only with LUA script? I did this script to save players, clean the map and this stuff <globalevent name="full ss" time="03:47" event="script" value="fullserversave.lua"/> function onTime() doBroadcastMessage('Server is going down for a global save...
  2. newby

    TFS 0.X Get colors is not working

    I'm trying to use this function: https://github.com/Fir3element/3777/blob/master/src/luascript.cpp#L7307 Like this: function SetNoobOutfit(cid) local g = getCreatureOutfit(cid) local s if getPlayerSex(cid) == 1 then s = 128 elseif getPlayerSex(cid) == 0 then s...
  3. newby

    TFS 0.X How to get distance between two players?

    There is a function to get how many SQMs of distance between two players?
  4. newby

    TFS 0.X 3 sqm in front utamo

    how to create a spell who atk 3 sqm in front of player and add utamo vita in who is in there?
  5. newby

    TFS 0.X Skills in training monk 2x more slower

    I would like to use training monk without kill the old train methods like train with your friend using summoned monks. So some advance like skills grow 2x out of training monks would be amazing How to do it? It would be necessary sources changes...
  6. newby

    TFS 0.X Training skills with training monk recive less skills

    To incentive players to train at risk to be dead, with summons like old times I want to change in my server to if player is targetting/training with a training monk he recive skills/2, i mean 2x more slower I found it on forum a long time ago and couldnt find anymore... The topic i saw take...
  7. newby

    TFS 0.X When logout on trainer generator teleport to temple and destroy trainer

    I'm using this amazing trainer generator system made by @Evil Hero https://otland.net/threads/infinity-training-room-0-3-6-0-4.179468/#post-1759936 But there is a problem... If player get kicked, after 15 min or just logout there, the player still on that position and trainer room still...
  8. newby

    TFS 0.X Training skills with training monk recive less skills

    I found it on forum a long time ago and couldnt find anymore... I want to change in my server to if player is targetting/training with a training monk he recive skills/2, i mean 2x more slower The topic i saw take changes on sources so, my sources are: Fir3element/3777...
  9. newby

    TFS 0.X Detect on play fanfare if player is x,y,z position

    How to detect when player plays fanfire, if he is in position x=100, y=120, z=7 Send player a msg?
  10. newby

    TFS 0.X Monster of the day 0.4

    How to when opens the server random("rat", "spider", "troll", "orc", "minotaur", "dwarf", "elf", "skeleton", "amazon", "valkirie", "dark apprentice", "ghoul", "cyclops", "dwarf guard", "necromancer", "vampire", "werewolf", "dragon", "dragon lord", "wyrm", "giant spider", "hydra", "warlock"...
  11. newby

    TFS 0.X Soul regen vocations.xml question

    How many should i set gainsoulticks="120" To when players hunt regen 1 soul point each 3 seconds? <vocation id="1" name="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="2" gainhpamount="1" gainmanaticks="1" gainmanaamount="1"...
  12. newby

    TFS 0.X Teleport to trainer

    Is this possible to do, when player enter in trainers teleport, insted of teleport him to the center of room And he have to search for a empty trainer, if there is Player be teleported to the trainer I mean check the tile positions and if dont have no one teleport him, and if all tiles are...
  13. newby

    TFS 0.X Max stamina trainer off 6h FREE 12h PREMMY

    I'm using this trainer offline system to 0.4 https://otland.net/threads/tfs-0-4-offline-training.232165/ How to set max stamina off for free account = 6h And max stamina off for premmy account = 12h ??? bump bump bump bump bump bump bump bump bump bump bump
  14. newby

    TFS 0.X Change potion formula

    How to change the potion formula to health heal? Set this (change the health heals, mana still static): HP= 3*lvl+50 shp= 3*lvl+100 ghp= 3*lvl+200 uhp= 3*lvl+250 pallypot hp= 3*lvl+100 mana = {40, 80} and mana still defaul {40, 80}, {50, 100}, {60, 120}, potions.lua local config = {...
  15. newby

    TFS 0.X More options referrel

    How to add more lvl options I mean, lvl 10 = 5 points 250888 lvl 20 = 10 points 250889 lvl 30 = 15 points 250890 local cfg = { stor = 250888, requiredLevel = 10, bonusPoints = 5 } function onAdvance(cid, skill, oldLevel, newLevel) if (newLevel == cfg.requiredLevel and skill...
  16. newby

    TFS 0.X Monster Skull

    I'm trying to add in my server a chance to every monster on spawn, can come with a skull randomly I've added this on my source code (from: Feature - [CreatureEvent] OnSpawn(cid)) And add this on my creaturescript: <event type="spawn" name="monsterThink" registerTo ="monster" event="script"...
  17. newby

    Lua Get only int value of a variable

    How can i return only int value from a variable I have this maxOffersPerPlayer local maxOffersPerPlayer = getPlayerLevel(cid) / 5 But it's returning 2.5, 2.4, 2.3 I wanna just 2,3,4,5...
  18. newby

    TFS 0.X Offer expire auction system

    I do using this auction system: TalkAction - Offline player to player item trader (Auction System). Using some others script as base i'm trying to make a script to when auction get more then 30 days on auction list it came back to offer creator, but i'm not getting, someone could help me...
  19. newby

    TFS 0.X GetUserName by UserID and Return Only INT value

    How can i return only int value from a variable I have this maxOffersPerPlayer local maxOffersPerPlayer = getPlayerLevel(cid) / 5 But it's returning 2.5, 2.4, 2.3 I wanna just 2,3,4,5...
  20. newby

    TFS 0.X Command to go to the end of task

    Somebody help me to when player use the command !skipmission Go to the end of mission, i mean, rotworms have to kill 50, if you do the command, is just like kill 50 rotworms command !skipmission function onSay(cid, words, param, channel) local storage = 0 local count = 0 -- Rotworm...
Back
Top