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

    Lua [OTBR] Spell Error

    They did an oopsie https://github.com/opentibiabr/otservbr-global/pull/2292#discussion_r559800605
  2. Snavy

    Lua [OTBR] Creaturescripts Error Transform

    local foreshockTransform = CreatureEvent("ForeshockTransform") function foreshockTransform.onThink(creature) if (not creature) or (not creature:isMonster()) then return true end local monsterTable = { [80] = {fromStage = 0, toStage = 1}, [60] = {fromStage = 1...
  3. Snavy

    Lua [OTBR] Creaturescripts Error Transform

    add break after creature:remove() Line 20
  4. Snavy

    Lua [OTBR] Creaturescripts Error Transform

    could u try replacing if not creature:isMonster() then return true end with: if (not creature) or (not creature:isMonster()) then return true end
  5. Snavy

    Lua [OTBR] Creaturescripts Error Transform

    print('\nHP ' .. tostring(creature:getHealth()) .."\nMax HP: ".. tostring(creature:getMaxHealth()))
  6. Snavy

    Lua [OTBR] Creaturescripts Error Transform

    no, I said add it before the for loop. LINE 14.
  7. Snavy

    Lua [OTBR] Creaturescripts Error Transform

    Add before for loop, let me know what it prints on console print('creature: ' .. creature .. '\nHP ' .. creature:getHealth() .."\nMax HP: ".. creature:getMaxHealth())
  8. Snavy

    Lua [OTBR] Creaturescripts Error Transform

    You are using OTBR right?
  9. Snavy

    RevScripts ZNoteAAC need firstitems script

    Try local config = { [1] = { -- Sorcerer items = { {2175, 1}, -- spellbook {2190, 1}, -- wand of vortex {8819, 1}, -- magician's robe {8820, 1}, -- mage hat {2468, 1}, -- studded legs {2643, 1}, -- leather boots...
  10. Snavy

    RevScripts No walk through

    Modified @Sarah Wesker 's version to register multiple positions using from & to position. local config = { from = Position(3189, 1814, 7), to = Position(3191, 1809, 7) } local function preparePositions(callback) local blockedPositions = {} local z = config.from.z for x...
  11. Snavy

    TFS 1.X+ Attackspeed as item attribute

    Quoted from tfs repo: classicAttackSpeed set to true makes players constantly attack at regular intervals regardless of other actions such as item (potion) use.
  12. Snavy

    TFS 1.X+ Attackspeed as item attribute

    have you modified Player::getAttackSpeed() ? Looks like this part is supposed to take care of that 🤔 elseif eq_stat_conditions[i] == 'attackspeed' then if v_stat_normal[eq_stat_conditions[i]] then fu = fu+1...
  13. Snavy

    RevScripts No walk through

    have you tried depot tiles? 11062/11063
  14. Snavy

    RevScripts No walk through

    isn't that what you wanted to achieve? ..to push back players who try walking over a tile?
  15. Snavy

    TFS 1.X+ Attackspeed as item attribute

    basestats2[spellname]: nil ------------------------------ spellname : attackspeed basestats2["attackspeed"] == nil 🤔 ------------------------------ ['attackspeed'] = basestats.attackspeed If I'm thinking right, basestats.attackspeed is nil. Looking at the method which should be responsible for...
  16. Snavy

    TFS 1.X+ Attackspeed as item attribute

    try printing this one as well basestats2[spellname] assuming it's this part 🤔
  17. Snavy

    RevScripts No walk through

    Yes, you can set actionid in the script and RME on the tiles you want to block walking on. example: moveEvent:aid(14156) RME:
  18. Snavy

    TFS 1.X+ Attackspeed as item attribute

    Something on this line is evaluated to nil item:setAttribute(attrkeys[spellname], fullstats[spellname] + math.abs(math.floor((basestats2[spellname] * spellvalue/100)))) add this before that line to see what values are being used print( 'spellname: ' .. spellname ..'\nspellvalue: '...
  19. Snavy

    Lua Error Console Help

    Try registering them differently. dreamcourts_startup and dreamcourts_time
  20. Snavy

    Lua Snavy & Levi - Free Scripting Service - TFS 1.3

    Preview Code
Back
Top