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

    TFS 0.X Remove all items from depot

    Is anybody knows how to delete all items from a player for a specific depot?
  2. fyalhed

    Help to use slotPosition

    Just made in your base: local itemslot = toPosition.y if (itemslot >= CONST_SLOT_FIRST) and (itemslot <= CONST_SLOT_LAST) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, "You can not upgrade your equipment! It can broken!") return true end
  3. fyalhed

    Help to use slotPosition

    I couldn't done without u, thanks!
  4. fyalhed

    Help to use slotPosition

    <action itemid="8306" event="script" value="upgrade.lua"/> function onUse(cid, item, fromPosition, itemEx, toPosition) if isCreature(itemEx.uid) then return doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) end local obj = UpgradeHandler:new(itemEx) if(obj ==...
  5. fyalhed

    Help to use slotPosition

    upgradesystem.lua (-- cant upgrade an item from set, anti dumb) --PERFECT UPGRADE SYSTEM UpgradeHandler = { nameLv = { [1] = "[R]", [2] = "[G]", [3] = "[B]", }, completeNameLv = { [1] = "red", [2] = "green", [3] = "blue", }...
  6. fyalhed

    Help to use slotPosition

    its priting the player position 1014 1017 7
  7. fyalhed

    Help to use slotPosition

    local itemslot = getThingPosition(self.item.uid) print(itemslot) dont print anything
  8. fyalhed

    Help to use slotPosition

    How? I tried: print(getThingFromPos(self.item)) return [23:16:49.648] [Error - Action Interface] [23:16:49.648] data/actions/scripts/upgrade.lua:onUse [23:16:49.648] Description: [23:16:49.648] (luaGetThingFromPos) Tile not found [23:16:59.364] [Error - Action Interface] [23:16:59.364]...
  9. fyalhed

    Help to use slotPosition

    Do u know a way to detect if item is equiped?
  10. fyalhed

    Help to use slotPosition

    Its printing 568 on plate armor equipeds and 568 on plate armor in backpack
  11. fyalhed

    Help to use slotPosition

    There is no slotPosition i think so I tried print_r on this script: print_r(self.item) prints: [vocationString] => [showAttributes] => false [minRequiredLevel] => 0 [wieldInfo] => 0 [writeOnceItemId] => 0 [movable] => true [level] => 0 [hangable] => false [runeMagicLevel]...
  12. fyalhed

    Help to use slotPosition

    Idk what to do now
  13. fyalhed

    Help to use slotPosition

    yes CONST_SLOT_ARMOR https://github.com/Fir3element/3777/blob/aef29d0ac94140c5d095cb1f55a34035e42746b3/data/lib/000-constant.lua#L141 but that print prints nothing i don't understand
  14. fyalhed

    Help to use slotPosition

    What are u mean? To print it? print(self.item.armor) print(getItemInfo(self.item.itemid)) it don't print anything only 10 from plate armor armor
  15. fyalhed

    Help to use slotPosition

    every other code i search about slotPosition looks just like mine... what i'm doing wrong?????
  16. fyalhed

    Help to use slotPosition

    I tried print(self.item.armor) local itemslot = getItemInfo(self.item.itemid).slotPosition print(itemslot) if (itemslot >= CONST_SLOT_FIRST) and (itemslot <= CONST_SLOT_LAST) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, "You can not upgrade your...
  17. fyalhed

    Help to use slotPosition

    armor is working but slot not... what do i doing wrong? console 10 [2:1:22.375] [Error - Action Interface] [2:1:22.375] data/actions/scripts/upgrade.lua:onUse [2:1:22.375] Description: [2:1:22.376] data/lib/upgradesystem.lua:111: attempt to index a boolean value [2:1:22.376] stack...
  18. fyalhed

    TFS 0.X Remove all items from depot

    bump
  19. fyalhed

    TFS 0.X Remove all items from depot

    is anybody know how it works?
  20. fyalhed

    TFS 0.X Poison arrow poisoning 0.5~2.0 * skill

    IT WORKS! TY
Back
Top