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

  1. S

    [Request] Create or delete a wall when a monster die.

    Ok this script I made for my server is a quest where you got to kill 3 angels and then you got the prize. angelDeath.lua : local pedestalPos = { {x = 304, y = 272, z = 3, stackpos = 1}, -- Warrior Statue {x = 306, y = 272, z = 3, stackpos = 1}, -- Archer Statue {x = 308, y = 272, z = 3...
  2. S

    [Request] Create or delete a wall when a monster die.

    I will make it when I'll come back from job. ~5 hours... Yours, Slayernight.
  3. S

    [npc] Gives action id to items

    Here is my code... I found a way to bypass it with getPlayerSlotItem(). if getPlayerSlotItem(cid, 6).itemid == 0 and getPlayerSlotItem(cid, 5).itemid == 0 then selfSay('Alright, take this key to unlock the chest.', cid) doPlayerAddItem(cid, 2090, 1) local key =...
  4. S

    Paladin help

    Go into Items.xml and search for "spear" Change breakChance="x" to breakChance="0" That's it.
  5. S

    Advanced Mana rune

    manarune.lua: local manaPercent = 0.30 -- It give you 30% of your mana. function onUse(cid, item, fromPosition, itemEx, toPosition) local target = getThingfromPos(toPosition) if target.itemid == 2 and target.uid > 0 then local mana = getPlayerMana(target.uid) local maxmana =...
  6. S

    !buybless

    already = FALSE function onSay(cid, words, param) for i = 1, 5 do if getPlayerBlessing(cid, i) == TRUE then already = TRUE end if already = TRUE then doPlayerSendCancel(cid,'You have already got one or more blessings!') else if...
  7. S

    {request} healing over time spell

    Could you make it so you can cast it one some1 else plx???
  8. S

    [Request] Blackout

    Well I would like a spell that cause all the possible exhaust to the target for 5 seconds and for the caster for 10 seconds. So nobody can do anything (no rune, no healing, no fighting). Here is a script I made, but it don't work very well : local combat = createCombatObject()...
  9. S

    All Items (Buy/Sell) Including 8.22

    Here is mine. Ajust the price as you wish :P <?xml version="1.0" encoding="UTF-8"?> <npc name="Barord weaponsmith" script="data/npc/scripts/default.lua" autowalk="25" floorchange="0" access="3" level="1" maglevel="1"> <health now="150" max="150"/> <look type="147" head="114"...
  10. S

    Problem with NPC and keys

    THIS LINK FOR SOLUTION Enjoy !
  11. S

    Problem with NPC and keys

    I got a problem... I think it's a little one :P local key = doPlayerAddItem(cid, 2090, 1) doSetItemActionId(key, 5006) setPlayerStorageValue(cid, 50006, 1) I got this error : lua:DoSetItemActionId() Item not found. I made like everybody do but it don't work. My key is always key:0
  12. S

    Need Help!

    Well, I did it: pirateboat.lua local topos = {x=133, y=362, z=7, stackpos = STACKPOS_TOP_CREATURE} local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid)...
  13. S

    npc who give key with action id

    Doesn't work and I have the same problem. if msgcontains(msg, 'yes') then selfSay('Alright, take this key to unlock the chest.', cid) doSetItemActionId(doPlayerAddItem(cid, 2090, 1), 5006) --setPlayerStorageValue(cid, 50006, 1) ::: EDIT ::: I found a way to bypass this : if...
  14. S

    NPC don't react to my keywords ...

    Ok, now it works as it should. But, still I got another problem... I think it's a little one :P local key = doPlayerAddItem(cid, 2090, 1) doSetItemActionId(key, 5006) setPlayerStorageValue(cid, 50006, 1) I got this error : lua:DoSetItemActionId() Item not found. I made like...
Back
Top