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

    Solved Some block in function

    if getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid > 0 then else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You need to have boots on you.") only way I can think of atm
  2. H

    Lua Need help with script error.

    function onUse(cid, item, frompos, item2, topos) if getPlayerAccess(cid) > 4 then doCleanTile(topos) else doPlayerSendTextMessage(cid,22,"Only characters with the access of GMs or above may use this rune.") end return true end if you only want it to work like "/r all" this will work..
  3. H

    Pickhole problem!

    show items.xml for these items : 351, 352, 353, 354
  4. H

    Skills

    Set config skill rates to 0.. I think that should work atleast, never tried it. Could also make a creature script that would fix the skills to 50 onlogin..
  5. H

    Lua Level Doors

    -- level doors based on actionId -- to make door for level x create door on map and set its actionid to x+1000 read the script? =)
  6. H

    Levels

    use onstatschange.. creaturescript. don't need to change anything in the console then.. just tp the player to start if he doesn't have enough hp.. and set hp to full again
  7. H

    lever script

    local gate1pos = {x=32864, y=32556, z=11, stackpos=1} local gate2pos = {x=32865, y=32556, z=11, stackpos=1} local lever1pos = {x=32862, y=32557, z=11, stackpos=1} local lever2pos = {x=32862, y=32555, z=11, stackpos=1} function onUse(cid, item, frompos, item2, topos) local gate1 =...
  8. H

    teleporting lever

    You said check for item.. not remove/take item.. But this will work local config = { itemId = xxx, --change to whatever place = {x = 100, y = 100, z = 7 } --change to a position... } function onUse(cid, item, fromPosition, itemEx, toPosition) if doPlayerRemoveItem(cid...
  9. H

    teleporting lever

    local config = { itemId = xxx, place = {x = 100, y = 100, z = 7 } } function onUse(cid, item, fromPosition, itemEx, toPosition) local item = getPlayerItemById(cid, true, config.itemId) if item ~= 0 then doTeleportThing(cid, config.place) else doCreatureSay(...
  10. H

    Lua Lever script not working [rep++]

    function createWallent() doCreateItem(1547, wall_pos1) doCreateItem(1547, wall_pos2) doSendMagicEffect(wall_pos1, 10) doSendMagicEffect(wall_pos2, 10) doTransformItem(item.uid, 1945) doTransformItem(switch1.uid, 1945) doTransformItem(switch2.uid, 1945)...
  11. H

    Lua Very simple action script not working

    function onUse(cid, item, fromPosition, itemEx, toPosition) if getCreatureStorage(cid, 57388) < 0 then if doPlayerRemoveItem(cid, 6500, 500) then doCreatureSetStorage(cid, 57388, 1) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) doCreatureSay(cid, "You have sacrificed 500...
  12. H

    equipment in items.xml and movements.xml

    Bump, please anyone, someone must have encountered this problem before?
  13. H

    equipment in items.xml and movements.xml

    I'm trying to make an item that will be modified in game if it gets the actionid, but when I change the line in movements.xml to <movevent type="Equip" itemid="7897" function="onEquipItem" slot="armor" level="50" script="addhp.lua"/ > <movevent type="DeEquip" itemid="7897"...
  14. H

    [Sweden] NoWay's Server l Idretsvegen.mine.nu l 8.6 l PvP-E l

    I hope you all enjoy this server, I've played it for about one year now and I really like it and it is not like any other server out there.. Also the owner and I try to add as many new things as possible. I'm not the owner eather but I do help with a lot of things to make the server special...
Back
Top