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

    First Cusom Outfit, (frankenspriting) + Handgun=Berreta. "Give it a rating from 1-10.

    I really liked the sprites, the only thing I think would be better is the doll’s left arm. (in my perception it looks cutted) Btw, both sprites are awesome.
  2. aqubjukr

    Reward script edit

    Did you try to use this? If yes, any errors / informations on console?
  3. aqubjukr

    Reward script edit

    Try use math.random, like: function onDeath(creature, corpse, killer, mostDamage, unjustified, mostDamage_unjustified) local myEvent = 25335 -- event points storage local percent = creature:getMaxHealth() * 0.02 for k, v in pairs(monsterSystem) do if v.name:lower() ==...
  4. aqubjukr

    Does not add item to player TFS 1.3

    The script is fine, but won't be missing the reward, if a player has promotion?
  5. aqubjukr

    Lua put time on lever

    Just use storages to block access, like: (25000 = Storage Value) Storage set after using lever: setPlayerStorageValue(cid, 25000, os.time() + 20 * 60 * 60) Line to use the lever again: if getPlayerStorageValue(cid, 25000) < os.time() then
  6. aqubjukr

    make items unmoveable on lua for tfs 1.3?

    You've enabled the tag in events.xml? Like: <event class="Player" method="onMoveItem" enabled="1" />
  7. aqubjukr

    make items unmoveable on lua for tfs 1.3?

    Just for your knowledge, if I remove the item: getId () == xxxx, all items in the area will be unmoveable ? I didn't know that shape. 1598996656
  8. aqubjukr

    make items unmoveable on lua for tfs 1.3?

    Sorry, i didn't see that you want in lua.
  9. aqubjukr

    make items unmoveable on lua for tfs 1.3?

    Set this tag on items.xml <attribute key="moveable" value="0" />
  10. aqubjukr

    My Npc doesnt add items

    Change item1[2] to item1[1]. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
  11. aqubjukr

    TFS 1.X+ tfs 1.3

    Everything you want to do on your server works, but it's a little job. And to increase the damage, you will have to modify all spells that use the magic level as a formula.
  12. aqubjukr

    TFS 1.X+ tfs 1.3

    I don't like to use percentage in items.xml (I only use weapons as in the global), but I believe it is normal (Multiplying the current maglevel points by 1.2x), and the skill increase will be normal. Another thing, I can't say if this can cause any error or something, depending on the level.
  13. aqubjukr

    TFS 1.X+ tfs 1.3

    Try use: <attribute key="magicpointspercent" value="120"/> 100 = current magic points 20 = percentage to be increased
  14. aqubjukr

    possible to add Tibia coins via a command

    function onSay(player, words, param) local split = param:split(",") local target = split[1] and Player(split[1]) if not target then return player:sendCancelMessage("This player does not exist.") end local givecoins = tonumber(split[2]) if type(givecoins) ~=...
  15. aqubjukr

    Lua How to make a new currency

    No you don't need to change the coins. To make it easier, just change the number of the storage and that will work. 52400 → (YOUR STORAGE VALUE) function onSay(player, words, param) local split = param:split(",") local target = split[1] and Player(split[1]) if not target then...
  16. aqubjukr

    Lua How to make a new currency

    Look this script, i think it could you for you. local test = TalkAction("/test") function test.onSay(player, words, param) local split = param:split(",") local target = split[1] and Player(split[1]) if not target then return player:sendCancelMessage("This player does not...
  17. aqubjukr

    Lua How to make a new currency

    I just used the post above as base. You'll need to add the "coin storage" and function in lib to work this function.
  18. aqubjukr

    Lua Loot channel only for premium players

    You need to add in first line of your data/chatchannels/script.lua
  19. aqubjukr

    Lua How to make a new currency

    This script use storage as "coin". And you can adapt this script to work as a npc trader: Ex: Changing if getPlayerItemCount(cid, 21400) >= 20 then, for something like: player: getEventPoints () local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler)...
  20. aqubjukr

    Lua Loot channel only for premium players

    Now that i saw it, your comment was missing an "end" to close the "if", but i believe it would work too.
Back
Top