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

    HELP with paralyze rune

    Try adding COMBAT_PARAM_DISPEL to get rid of CONDITION_HASTE: paralyze rune.lua local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_HASTE) local condition = Condition(CONDITION_PARALYZE)...
  2. Leo32

    Spell [TFS 1.X] Thunder Storm

    I mean sure. local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD) local condition = Condition(CONDITION_BLEEDING) condition:setParameter(CONDITION_PARAM_DELAYED, 1) function onCastSpell(creature...
  3. Leo32

    TFS 1.X+ Double loot rate for single player

    So this is my onDeath for creatures: function onDeath(monster, corpse, killer, mostdamagekiller, lasthitunjustified, mostdamageunjustified) if not monster:isMonster() or monster:getMaster() then return true end if not corpse then return false end if not...
  4. Leo32

    Spell [TFS 1.X] Thunder Storm

    This spell is inspired by Thunder Storm from Diablo 2. It's kind of an aura, where you cast the spell and it lasts 60 seconds (by default). Every 5 seconds (by default), it strikes a monster on-screen. Starts off at 1 target, gaining an extra target every 20 magic levels. spells.xml <instant...
  5. Leo32

    Solved addEvent and creature death error

    function onTargetCreature(cid, target) local function freeze(target) if isMonster(target) then doCreatureSetNoMove(target, true) else return false end end local t = 10000 doCreatureSetNoMove(target, true) addEvent(freeze, t...
  6. Leo32

    [LUA] Which program do you use for editing lua files?

    Notepad++ is a professional code editor - CONFIRMED Also throw away your 21:9 monitor, 4:3 monitors are IN.
  7. Leo32

    TFS 0.X Player does not take damage from monster or other player - Help

    There's no bug, you've changed a script or whatever and broken something. Nothing you do to a map will cause this, you editing the map has not caused this. You need to think. What did you change, what did you break. Do you have any console errors? Either way you need to provide more...
  8. Leo32

    TFS 0.X Player does not take damage from monster or other player - Help

    Could be anything. When did this start happening? what mods or changes have you made to your OT since/before it happened. Post the scripts for those changes.
  9. Leo32

    Spell Conjure Blade

    EDIT: Forgot to add [TFS 1.X] to title, can a mod fix this for me? ❤ This is a spell for mages, a replacement for the enchant staff spell. It conjures a weapon that has attack based on your magicLevel/Level, the damage should scale well as sorcerers and druids can only get about 30 sword skill~...
  10. Leo32

    Range of Creatures;

    In map.h you have this: static const int32_t maxViewportX = 11; //min value: maxClientViewportX + 1 static const int32_t maxViewportY = 11; //min value: maxClientViewportY + 1 Which is used to determine if creatures try to move, among other things. creature.cpp bool Creature::canSee(const...
  11. Leo32

    Spell [TFS 1.X] Heal Party

    This is a replacement for exura sio on my server. It behaves just like exura sio, players must be on-screen and not obstructed by walls etc. But it heals everyone in your party instead (if they have health missing). Healing amount is identical to exura sio, mana costs are 140 for a single...
  12. Leo32

    Spell [TFS 1.X] Magic Missile

    Thanks buddy, I'm building up a spell system for my ot from scratch. Plan is to post everything useful I create here for others to use (cause lets be honest who knows if my OT will ever see the light of day).
  13. Leo32

    Spell [TFS 1.X] Animated Spells (Dynamic vs Static)

    I know spell animations are nothing new, but the way they've been done in the past calls multiple combat objects. This can be cool in how each square / animation has its own damage and the damage is applied with the animation, but this can introduce issues where; if the creature moves to a...
  14. Leo32

    Spell [TFS 1.X] Magic Missile

    Naturally scaling strike spell. Start with 2 missiles, gain an extra missile every 20 magic levels. Inspired by this post: https://otland.net/threads/tfs-1-0-chain-spell-arcane-missile.222793/#post-2140687 I suggest making its mana costs around 30-50 depending on your exp/skillrates. Each...
  15. Leo32

    Project Catraya: Future HTML5 OT like game

    I like the client, not sure why it's being tied to a different server-base. Server-side should be TFS, but I guess that can be done at a later date anyway. gj 👍
  16. Leo32

    Spell Volatile Spiderling

    I quite like this spell, but I want the player to be the damager rather than the spider (for loot/pvp/console damage reasons etc). Plus I wanted the damage to scale based on magic level like every other. spells\scripts\volatile spiderling.lua local combat = Combat()...
  17. Leo32

    CreatureEvent [TFS 1.X] Notification: Player can use X Spells on Advance

    Its 1.0-1.2 Getting spell information changed in 1.3 so you have to change: local count = getPlayerInstantSpellCount(player) local spells = {} for i = 0, count - 1 do local spell = getPlayerInstantSpellInfo(player, i) if spell.level > oldLevel and spell.level <= newLevel then...
  18. Leo32

    CreatureEvent [TFS 1.X] Notification: Player can use X Spells on Advance

    This was mainly put together due to: https://otland.net/threads/spells-warning.268153/#post-2588881 This only works if 'needlearn' for spells is set to off. We have a 0.4 version, a 1.3 version. Mays well edit it for 1.0-1.2 and release it too. Ignore the spells being learned in my...
  19. Leo32

    [REQUEST] Custom Sprite sheets

    How big can creatures get? 64x64? I think the solution would be to pad 32x32 monsters so even their base sprites would be 64x64? Using object builder outputs is going to limit you to what it can output to. Convert the tibia.dat.spr to an atlas and work with that as your output...
  20. Leo32

    What does your ideal server look like?

    Im building the type of server id like to play. Rookgaard as a base map, customized and added onto about 4x in size. Quests in many ranging forms from simple interactions in hunting spawns to trigger a thematic event/boss/ambush/entrance to deeper hunting grounds to the usual rpg-questlines for...
Back
Top