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

    Lua Get position item used actionid

    what? doorpos? i dont understand this script
  2. M

    Lua Get position item used actionid

    I tried... Nothing... local open_doorn = 1226 -- id north open door local open_doore = 1224 -- id east open door function onStepIn(cid, item, position, fromPosition) if(item.uid == 1225) then -- north / south doTransformItem(item.uid, open_doorn - 1) elseif(item.uid == 1223) then -- east /...
  3. M

    Lua Get position item used actionid

    Because can be 2 if(item.uid == 1225) then -- north / south closed_door = 1226 elseif(item.uid == 1223) then -- east / west closed_door = 1224 end
  4. M

    Lua Get position item used actionid

    Tyy Why door not open and close? <action actionid="7426" script="porta_postman.lua" /> --local storage = 55565 local open_door function onUse(cid, item, frompos, item2, toPosition) --if(getPlayerStorageValue(cid, storage)) ~= -1 then doTeleportThing(cid, toPosition) --else --...
  5. M

    Lua Get position item used actionid

    Someone help me to get door position to set player there To change this 1,2,3 to door position local storage = 55565 local open_door function onUse(cid, item, frompos, item2, toPosition) if(getPlayerStorageValue(cid, storage)) ~= -1 then if(item.uid == 1225) then -- north / south...
  6. M

    Parcel trap 8.6 - 0.4

    Exactly if someone have a 8.6 server using this elevation trap system(stacked parcels,boxes,crates is blocking movement) Give me IP now :cool:
  7. M

    Lua Function percent

    Was that, i needed a random function! TY!
  8. M

    Lua Function percent

    Someone could help me.. I need a percent function to make this function onUse(cid, item, fromPosition, itemEx, toPosition) doRemoveItem(item.uid) light magic missile runes,2287,50% intense healing rune,2265,30% heavy magic missile runes,2311,10% great fireball runes,2304,5%...
  9. M

    Lua bow giging magic level

    ty so much! solved
  10. M

    Lua bow giging magic level

    [19:47:54.789] [Warning - MoveEvent::configureMoveEvent] Unknown slot type "bow" [19:47:54.789] [Warning - MoveEvent::configureMoveEvent] Unknown slot type "bow" <movevent type="Equip" itemid="8856" slot="bow" event="function" value="onEquipItem"> <vocation id="1"/> <vocation...
  11. M

    Lua bow giging magic level

    Its not giving magic level when equip (and i want only mages can equip) What i can change in movements.xml or weapons.xml?
  12. M

    Lua bow giging magic level

    What next step i need to do to when mages equip this bow, get magic level On 0.4 <item id="8856" article="a" name="mage bow"> <attribute key="weight" value="1500" /> <attribute key="slotType" value="two-handed" /> <attribute key="weaponType" value="distance" /> <attribute...
  13. M

    What im doing worng? Variable lists

    Ty so much
  14. M

    What im doing worng? Variable lists

    function onSay(cid, words, param) local outfits = { ["pirate"]={40000},{50000}, ["assassin"]={40001},{50001}, ["beggar"]={40002},{50002}, ["shaman"]={40003},{50003}, ["norsewoman"]={40004},{50004}, ["norseman"]={40004},{50004}, ["nightmare"]={40005},{50005}...
  15. M

    Lua Town City not work

    I thought the problem was in my script, cause i edit it And im not a scripter :D Ty and sorry!
  16. M

    Lua Create IF Z=?

    THANK YOU!!
  17. M

    Lua Create IF Z=?

    Not work on 0.4 [7:43:51.144] [Error - NpcScript Interface] [7:43:51.144] data/npc/scripts/spellseller.lua:onCreatureSay [7:43:51.144] Description: [7:43:51.144] data/npc/scripts/spellseller.lua:114: attempt to call global 'Creature' (a nil value) [7:43:51.144] stack traceback: [7:43:51.144]...
  18. M

    Lua Town City not work

    I checked on RME and carlin is okey :S
  19. M

    Lua Create IF Z=?

    How to create if PosZ,cid == 7 func... ???
  20. M

    Lua Town City not work

    Why this script not working? /town cityname 04:03 Town carlin does not exists or has invalid temple position. function onSay(cid, words, param, channel) if(param == '') then local str = "" for i, town in ipairs(getTownList()) do str = str .. town.name .. "\n" end...
Back
Top