• 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. Moj mistrz

    Lua Game.getSpectators question. TFS [1.2]

    Hello there, I've got one question regarding Game.getSpectators. Namely, is it possible to print lowest level spectator? If yes, then how? I'd like to know that :). Thanks in advance.
  2. Moj mistrz

    Lua Condition is not randomizing outfits TFS[1.2]

    Hello, as the title says. Condition is not randomizing outfits, only when I reload actions it does change outfit, but anyways, that's not the solution. Piece of code: local condition1Outfits = {47, 89, 91, 120, 232, 246, 305, 311, 320} local condition1 = Condition(CONDITION_OUTFIT)...
  3. Moj mistrz

    Solved Solved

    As the title says. How to make tile check for multiple item ids? I've got this: Tile(pos):getItemById(SOME IDS HERE) What to do next? I've made many combinations, but none worked. I've tried with isInArray, but with no results(prolly used it wrong). Any help is appreciated :).
  4. Moj mistrz

    Solved Check if there's 4 monsters of the same kind

    Hello, I've got one issue with my script. Basically it should work like this - if there's less than 4 monsters of the same kind the script should summon(within 10s) monsters based on how many of them are, if 3 then summon 1, if 2 then summon 2, but it sometimes spawn more than it is supposed...
  5. Moj mistrz

    Solved Check if monster is summon TFS 1.2

    Hello as the title says, but that's not all and it would be too long for a thread title. Basically I want my script to check whether: a) attacked monster is a summon b) if it's a summon, does it belong to me or any member of my party or guild c) if yes then return YOUMAYNOTATTACKTHISPLAYER...
  6. Moj mistrz

    Lua Skinning with checking corpse owner TFS [1.2]

    Hello, I've got a little problem with skinning script. Obviously it wasn't made by me so I have no idea how to reproduce errors with corpse owner check. To the point - there's the script with little function which SHOULD check corpse owner. If the owner is correct the script should let him skin...
  7. Moj mistrz

    Solved Walking through creatures

    Hi guys, I need help with this script which is based on script from this thread. I tried to remake it for monster spell(so monster can go through players and other monsters, but no blocking objects like walls, bushes etc.), but I failed. This is where I get so far. I wanted to make it for TFS...
  8. Moj mistrz

    Lua How to shorten this script?

    Hello, yes it's again me. I need little help in shortening this script. Thanks for any help. local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_NONE) function onCastSpell(creature, var) local msg = "<the welter devours his spawn and heals himself>" local spectators...
  9. Moj mistrz

    Solved Script help needed.

    Hello guys, I've got one problem with the script(I did not make it by myself fully, used some other scripts also), to the point. My script works fine besides it removes all Necromantic Energies and I want it to remove only one. local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE...
  10. Moj mistrz

    [XML] How to make a monster? FULLY EXPLAINED. NEW!

    Hello, today I present you 'How to make a monster' tutorial. It's for 10.7~ clients, but should work also for older versions(just some magic effects wont work). There have been few tutorials which did not explain everything, so here I am trying to not miss anything. This tutorial will be long...
  11. Moj mistrz

    TFS 1.0 login problem

    Hello, I've got problem with log in to TFS 1.0 downloaded from there(not compiled by myself) - https://github.com/otland/forgottenserver/ and latest exe file. That's the error I have. + onGainSkillTries error. How to fix it?
  12. Moj mistrz

    Spell checking if casters have same target TFS 1.0

    Hello, I want you great scripters to tell me if it's possible to make one spell used by two different monsters, checking if they have same target and returns some value. Like - if monster1 target = monster2 target then docreaturesay(we have same target!) else docreaturesay(we have different...
  13. Moj mistrz

    Lua Weapon script problem.

    Hello, I want to make a weapon script for example stonecutter axe(in lua), but the problem is that damage factor dont work(or i'm using it wrong XD). That's the script. NOTE: it works very well without using FACTOR, but it dont matter if i'm using full def or full atk, it's still same dmg...
  14. Moj mistrz

    Weapon script based on TFS skill formula

    Hello, I'm basically requesting a script of a weapon based on skill formula in lua including damage factors(full atk, balance, full def mode). Is it possible to do? Can be also elemental damage included(like in fire sword). Thanks in advance. #edit I've found this formula: ((2 * (attackValue...
  15. Moj mistrz

    Monster Monster changing appearance to all creatures - Tibia 10.36~

    Hello, today I present you a monster which changes outfit to all monster types(good for a teleport server). Create a file named - "creatures.xml" and paste this inside and save(remember to add this monster to MONSTERS.XML): <?xml version="1.0" encoding="UTF-8"?> <monster name="Creatures"...
  16. Moj mistrz

    Lua Is it possible...

    to set creature drop via lua script? Hello by the way! I'm using TFS 1.0 You may ask why I need it. It's because I'm working on a spellscript which after use(by monster) will remove some of your gold from container and this gold should be set to monster drop.
  17. Moj mistrz

    Monster Monsterpack, spellpack and creaturescriptspack for Tibia 10.7(TFS 1.1) based on Real Tibia

    Hello, today I'll present you my 4 months work. It will be monsterpack based on newest client with almost all monsters. [FIRST READ, THEN DOWNLOAD] What does it contain? Over 900 monsters - including Gaz'Haragoth, Mawhawk, Shlorg, Zavarash and other new bosses with correct statistics - speed...
  18. Moj mistrz

    Solved Spell not deal any damage. TFS 1.0

    Hiho, spell is only making damage when creature is casting it to the north, other directions do not deal any dmg, just effect appears. arr1 = { {2}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1}, {1} } local combat1 = createCombatObject()...
  19. Moj mistrz

    Lua Creature summons random monsters.

    #edit How is it possible for monster to summon random creature from table with random chance? how to configure doSummonCreature()? local chance = math.random(1,100) local summon = "Demon Skeleton"[chance < 40], "Lich"[chance < 20], "Vampire"[chance < 10], "Vampire Bride"[chance < 10], "Vampire...
  20. Moj mistrz

    Lua onPrepareDeath problem

    Hiho, here's the code and problem it makes. I hope someone will help me out in solution :). local condition = createConditionObject(CONDITION_REGENERATION) setConditionParam(condition, CONDITION_PARAM_SUBID, 88888) setConditionParam(condition, CONDITION_PARAM_TICKS, 15 * 60 * 1000)...
Back
Top