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

    Lua Npc spell seller

    remove (cid) from parameters.vocation... if(isPremium(cid) or not(parameters.premium)) then if(getPlayerLearnedInstantSpell(cid, parameters.spellName)) then npcHandler:say('You already know this spell.', cid) elseif(getPlayerLevel(cid) < parameters.level)...
  2. Karofel

    Lua Optimize code - Action

    Thanks, I will update post when I did more in script.
  3. Karofel

    Lua Npc spell seller

    in modules.lua 107 to 119 change: if(isPremium(cid) or not(parameters.premium)) then if(getPlayerLearnedInstantSpell(cid, parameters.spellName)) then npcHandler:say('You already know this spell.', cid) elseif(getPlayerLevel(cid) < parameters.level)...
  4. Karofel

    Lua Optimize code - Action

    Hello, I wrote that script and now want to extend it, but i need to create so much tables etc for that. So there is someone who have idea how to optimize that? local chance1 = 1 local chance2 = 5 local chancerare = 20 local itemstodestroy = {25522, 2494, 25523} local mats = {5887, 5888} local...
  5. Karofel

    NPC [TFS 1.1] Monster Tasks

    Hi, I had a little problem with script, looks like npc dont read player msg when task name have more than one word. Exemple: player say - dragon lords, npc what? Anyone have any idea?
  6. Karofel

    Lua Spell Problem

    I want spell what get u more attack speed per 1 sec (much more attack speed), or spell what will shot creature where magic effect will be the same as used arrows or throwable weapon, and when u dont use any weapon then spell dont work. And LEGO is funny idea :D @ Nevermind, problem solved...
  7. Karofel

    Lua Spell Problem

    Yep, but it doesn't matter when i delete CID there is no resoult
  8. Karofel

    Lua Spell Problem

    If i reduce onSpellCast to this: function onCastSpell(player, var) addEvent(doDoubleShot(player, var),800) addEvent(doDoubleShot(player, var),600) addEvent(doDoubleShot(player, var),400) addEvent(doDoubleShot(player, var),200) addEvent(doDoubleShot(player, var),0) return true Thats work same as...
  9. Karofel

    Lua Spell Problem

    Hello, i have a small problem there: local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD) combat:setParameter(COMBAT_PARAM_BLOCKARMOR, 1) combat:setParameter(COMBAT_PARAM_BLOCKSHIELD, 1) local Crossbows = {2455, 5803, 8849, 8850, 8851, 8852, 8853, 18453, 16111...
  10. Karofel

    AAC Problem with Znote AAC homepay.

    Hey, lines 282 to 301 There is little changes, mby someone can do that better :p but that working now I paste code for someone with the same problem, Cya :) <?php require_once 'engine/init.php'; protect_page(); include 'layout/overall/header.php'; #################### CONFIG...
Back
Top