• 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!

Recent content by ligus

  1. L

    Is it possible to prevent put items on any tile?

    Unfortunately I don't use TFS 1.0 :( Does anyone have any idea how it can be solved in TFS 0.3.7 [0.4]?
  2. L

    Is it possible to prevent put items on any tile?

    It does not work :/ I can put items on teleport
  3. L

    Is it possible to prevent put items on any tile?

    Any other way to solve it?
  4. L

    Is it possible to prevent put items on any tile?

    Hello, I want to prevent put items on teleport, is it possible? I have this Item Editor: Does anyone have any idea what should be selected?
  5. L

    Lua Error "attempt to compare string with number"

    A lot of errors in other script... [Error - CreatureScript Interface] data/creaturescripts/scripts/dire.lua:onDirection Description: data/creaturescripts/scripts/dire.lua:27: attempt to compare string with number stack traceback: data/creaturescripts/scripts/dire.lua:27: in function...
  6. L

    Lua Error "attempt to compare string with number"

    Nope, I didn't changed. Nope, only with some characters
  7. L

    Lua Error "attempt to compare string with number"

    Isn't possible to easy fix error above? :P
  8. L

    Lua Error "attempt to compare string with number"

    Hmm in error 8 line is bolded so its: doCreatureSetStorage(cid, KILLSSTORAGE_BASE + id, 0) I don't understand why it wants compare string with number o.O Btw I'm using this system: http://otland.net/threads/grizzly-adams-killing-in-the-name-of-quest-all-tasks-more-real-tibia.159150/
  9. L

    Lua Error "attempt to compare string with number"

    Hello, I have this creaturescript from Killing In The Name Of Quest: function onKill(cid, target, lastHit) local started = getPlayerStartedTasks(cid) if isPlayer(target) or isSummon(target) then return true end if started and #started > 0 then for _, id in ipairs(started) do...
  10. L

    Is it possible to reduce magic level or skills?

    Trying to do it: local function reducemlvl(cid) db.executeQuery("UPDATE `players` SET `maglevel` = 20 WHERE `id` = " .. getPlayerGUID(cid)) return TRUE end function onLogout(cid) addEvent(reducemlvl, 1, cid) return true end There is error: Player not found when requesting...
  11. L

    Is it possible to reduce magic level or skills?

    Hmm, it does not work for me:/ I have in creaturescripts.xml: <event type="death" name="reduceDeath" script="reduceDeath.lua"/> <event type="logout" name="reduceLog" script="reduceLog.lua"/> login.lua: registerCreatureEvent(cid, "reduceDeath") registerCreatureEvent(cid, "reduceLog") and...
  12. L

    Is it possible to reduce magic level or skills?

    What query? :)
  13. L

    Is it possible to reduce magic level or skills?

    Umm.. I want to make something like this: player starts with 20 magic level and when he die then his mlvl returns to 20. Is it possible to not save mlvl to database? In this way there will be always 20 mlvl :)
Back
Top