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

    Lua how to get player by id

    https://pastebin.com/wrnD8jHH
  2. kubernik

    TFS 0.3.6 'isWater' (a nil value)

    isWater(getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid) and water To water and isWater(getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid) and add isWater func
  3. kubernik

    OTClient Show Manabar to All

    LocalPlayerPtr player = g_game.getLocalPlayer();
  4. kubernik

    How to make table from 1 to 10

    No it is not the same. Just add for yourself higher skill than you declared in table, but in your script this will work correct. so nvm. but if you wanna script like in topic then: local monstersConfig = { -- Should be organized by ascending skillLevel [{1, 10} ] = 'Orc', [{11, 20}] =...
  5. kubernik

    How to make table from 1 to 10

    With this change, this script should work better. playerSkillLevel >= _monsterConfig.skillLevel
  6. kubernik

    Lua Task system TFS 1.2 count party

    Better result will be with change this maxTotal = maxTotal 0 = 0 Xd
  7. kubernik

    TFS 1.X+ Help me Optymalized my Transform System

    Improvement with crash possibility and fuk up function, from script with table loaded once, you created function creating all the time the same table, this is fuk optimize and logic not improvement. Xd Btw.. Don't send userdata in addEvent. Better solution is just add addEvent in transform...
  8. kubernik

    Lua Killboss - add storage.

    This script is correct on my eye.. so if you tell me that this not working then you don't have request storage value or you don't have register event to player. Ps. remove lower()
  9. kubernik

    Lua Killboss - add storage.

    Then increase maybe this amount onkill. Add else and do somethink like this: setStorage(cid, monster.storage, getStorage(cid, monster.storage)+1) Or set this storage to 999 in another script.
  10. kubernik

    Lua Killboss - add storage.

    Default storage is -1 not 999.
  11. kubernik

    Lua local print nil value

    Define min and max before condition. Ex. local min, max = 0 Then in condition overwrite this var without local: min = max = https://www.lua.org/pil/4.2.html
  12. kubernik

    Points for all attackers

    What the... Xd try to use attackerPlayer instead of player. And use creature instead of cid.. you dont have cid declared in function. You don't have to create userdate "Creature(target)" because tfx 1.x return userdate to function. Try to think what you write in script.
  13. kubernik

    RevScripts anti mc

    You dont have defined cid.
  14. kubernik

    [TFS 1.3] [Globalevent] Random boss in room

    I suggest: bossIndex = math.random(#configBosses)
  15. kubernik

    Lua Script for tfs 1.3

    local Ruby = { rare = { chance = {1, 25}, items = { {2160, 1}, {2111, 2} } }, epic = { chance = {1, 50}, items = { {2160, 1}, {2111, 2} } }, lege = { chance = {1, 50}...
  16. kubernik

    Programmer Dll tibia 8.54[done]

    Lul, If something seems stupid, but someone wants to pay for it, what's the problem? Btw, Done.
  17. kubernik

    Programmer Dll tibia 8.54[done]

    reverse engineering. Hook the necessary places where parseAttack occurs and send same information with addional byte. I don't have source, but base is here(whatever): https://github.com/SaiyansKing/Tibia-Extended-Client-Library
  18. kubernik

    Programmer Dll tibia 8.54[done]

    I look for someone who can make little change with parseAttack in client: - just add new byte 0x00 when attacked is player or monster.
  19. kubernik

    CreatureEvent TopLevel Effect

    @lulek1337 local config = { tempo = 10, --tempo em segundos mensagem = { texto ="[TOP]", -- não use mais de 9 caracteres efeito = TEXTCOLOR_LIGHTBLUE -- efeito para a função doSendAnimatedText }, efeito = 30 -- efeito da função doSendMagicEffect } function...
  20. kubernik

    Lua do not allow the same ip for the boss (MC)

    local checkMc = {} for i = 1, #config.playerPositions do playerTile = Tile(config.playerPositions[i]):getTopCreature() local getIp = playerTile:getIp() if checkMc[getIp] == true then return false -- here is someone with mc end checkMc[getIp] = true end Write on phone.. so.. xd
Back
Top