• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. kermaxpl

    Help with charge spell

    Hahahahaha, it was so easy. I'm really stupid, thank you.
  2. kermaxpl

    Help with charge spell

    [11:58:43.042] [Error - Spell Interface] [11:58:43.042] data/spells/scripts/buffy/charge.lua:onCastSpell [11:58:43.042] Description: [11:58:43.042] data/spells/scripts/buffy/charge.lua:11: attempt to compare number with nil [11:58:43.042] stack traceback: [11:58:43.042]...
  3. kermaxpl

    Help with charge spell

    This is my spell. When player says "charge" it should make him unable to move and start regenerating 40 mana per second. When charge is on and player says "charge" again it should make him able to move and stop mana regenerating and this is problem mana is still regenerating. Pls help me local...
  4. kermaxpl

    Stunning Spell

    Ok, i wrote this script on my own and it works(on monsters too), if someone need that: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1) setCombatParam(combat, COMBAT_PARAM_TYPE...
  5. kermaxpl

    Stunning Spell

    Now without error, but still doesn't work.
  6. kermaxpl

    Stunning Spell

    it doesn't work [23:43:08.393] [Error - Spell Interface] [23:43:08.393] In a timer event called from: [23:43:08.393] data/spells/scripts/atak/stun.lua:onCastSpell [23:43:08.393] Description: [23:43:08.394] (luaDoCreatureSetNoMove) Creature not found this is my script: local combat =...
  7. kermaxpl

    Stunning Spell

    I'm looking for spell which can stun my target for 4 sec
  8. kermaxpl

    Problem with script (get distance)

    @Sirion_Mido Thx, everything is ok @ZiomerOs To akurat drobny błąd, ponieważ cały skrypt jest do niczego(nawet po poprawce wywala błąd), za to skrypt autorstwa Sirion_Mido działa doskonale, jedyna uciążliwość to dodanie uid jeśli pól jest to można się nieźle naklikać.
  9. kermaxpl

    Delete Mount/Dismount & Set Outfit options & Compare versions on login

    It is OTClient board not official tibia client
  10. kermaxpl

    Problem with script (get distance)

    yes and i said, that I have to use uid 1003 on more than one item and i have warning "duplicate uniqueId 1003" when server starts, but script works. I only have to correct this getPlayerItemCount(cid, sirion_old) to this getPlayerItemCount(cid, sirion_old) == 1. It is small mistake.
  11. kermaxpl

    Problem with script (get distance)

    I will try this today or tomorrow and i will send reply, but i think it should work. Btw. very clever solution It works but i have to use uid 1003 more than one time and i have a lot of "duplitace uniqueId 1003" when server starts.
  12. kermaxpl

    Problem with script (get distance)

    make message and change item for example from id 1900 to 1901 and it can happen only if your storage id 50000 is 1
  13. kermaxpl

    Problem with script (get distance)

    When u stay in X floor and have Y item and have distance 40 or lower to defined position then you got message.
  14. kermaxpl

    Problem with script (get distance)

    I'm looking for script which can check your distance from defined position if u have some item and send/message or sth if your distance is lower than for example 40.
  15. kermaxpl

    Problem with script (get distance)

    hi guys i have this code: local objekt = {x=5393, y=5163, z=7} function onThink(interval, lastExecution, thinkInterval) pos = getCreaturePosition(cid) punkty = (((pozycja.y-pozycja.x)*(pozycja.y+pozycja.x))+((objekt.y-objekt.x)*(objekt.y+objekt.x))) dist = math.pow(punkty, (1/2.0)) if...
  16. kermaxpl

    Pierwiastek lub potęga 1/2

    dziękuje ci dobry człowieku
  17. kermaxpl

    Pierwiastek lub potęga 1/2

    Da się w jakiś sposób zrobić aby silnik obliczył pierwiastek drugiego stopnia z liczby lub podniósł ją do 1/2 potęgi??
  18. kermaxpl

    Delete Mount/Dismount & Set Outfit options & Compare versions on login

    No no no protocol must be the same because if i will change that i can have problems in game(wrong consts or something like that), in addition numbers of protocols are limited. I think I should do something in src/client/protocolgame.cpp in function ProtocolGame::onConnect() but i dont know...
Back
Top