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

    Lua How to prevent put the same item on EQ?

    Hello, I am trying to prevent put the same item as character has already weared on this slot -> when player tries to put item there. function onEquip(cid, item, slot) local itemWeared = getPlayerSlotItem(cid, 1).itemid if (itemWeared ~= item.itemid) then return...
  2. O

    Lua Exhaust on wearing item

    bump
  3. O

    Lua Exhaust on wearing item

    bump...
  4. O

    Lua Exhaust on wearing item

    Ok, I have: local storage = 23006 local exhausttime = 5 function onEquip(cid, item, slot) if (exhaustion.check(cid, storage)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You are exhausted, please wait [onEquip].") return false else local itemx...
  5. O

    Lua Exhaust on wearing item

    Hmm, I used this code and the result is: when I put item in right place then nothing happens, then I try again and I am exhausted, hmm thats weird So i made breakpoints local storage = 23006 local exausttime = 5 function onEquip(cid, item, slot) if not(exhaustion.check(cid, storage)) then...
  6. O

    Lua Exhaust on wearing item

    bump...
  7. O

    Lua Exhaust on wearing item

    Sounds great but how to do it? :P
  8. O

    Lua Exhaust on wearing item

    bump
  9. O

    Lua Exhaust on wearing item

    Hello, is there any script that allow putting on yourself (wearing) item for example one time per 2 seconds? Thanks in advance
  10. O

    [SQL] How can I hide players with 8 level from Highoscres?

    Hello, is it possible to hide players with 8 level from Highoscres? I am asking because there are weird SQL queries... classes/highoscres.php public function loadSkill() { $this->setClass('Highscore'); $this->addOrder(new SQL_Order(new SQL_Field('value'...
  11. O

    Lua if item is removed then create new one...

    So: function onAddItem(moveitem, tileitem, position, cid) doRemoveItem(moveitem.uid) doPlayerSendCancel(cid, "You may not throw items here.") if(doPlayerAddItemEx(cid, doCreateItemEx(moveitem.itemid, moveitem.type)) == RETURNVALUE_NOERROR) then return false...
  12. O

    Lua if item is removed then create new one...

    Hello, I want to prevent put items on teleport and I have this script: function onAddItem(moveitem, tileitem, position, cid) doRemoveItem(moveitem.uid) doPlayerSendCancel(cid, "You may not throw items here.") -- Sends cancel message if(doPlayerAddItemEx(cid...
  13. O

    Level needed to write on channel and weird magic wall timer

    So I should edit one line in sources - change int to float, right? Where and which variable should be edited? if getPlayerLevel(cid) < 10 then do not allow to open chat... Any idea how can it be done?
  14. O

    Level needed to write on channel and weird magic wall timer

    Hmm.. so whats the way to solve any problem?
  15. O

    Level needed to write on channel and weird magic wall timer

    Why? It didn't solve my problem :x Anyone? :(
Back
Top