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

    1 kill counting as 3 kills

    Login.lua, test again ! function onLogin(cid) local events = { "RemoveBlesses", --Register the kill/die event "Give_Bag_After_Death", --Register the Give_Bag_After_Death "lootMessage", --Register loot message "Dragons" } -- Register events for i = 1...
  2. flaviiojr

    TFS 1.X+ golden prison key doesnt dissapear if used in ground

    local config = { centerPos = Position(548, 1705, 12), rangeX = 10, rangeY = 10, playerPositions = { Position(633, 1724, 12), Position(634, 1724, 12), Position(635, 1724, 12), Position(636, 1724, 12), Position(637, 1724, 12) }...
  3. flaviiojr

    TFS 1.X+ golden prison key doesnt dissapear if used in ground

    oh great ! every day we learn more and more !
  4. flaviiojr

    TFS 1.X+ golden prison key doesnt dissapear if used in ground

    oh yeah, I agree, I know how that function works, I put it that way, because there was no notion of the proportion of the boss's room, but it's easy to be corrected. And thank you for your note! I edit my post
  5. flaviiojr

    TFS 1.X+ golden prison key doesnt dissapear if used in ground

    Not tested ! local config = { centerPos = Position(548, 1705, 12), rangeX = 10, rangeY = 10, playerPositions = { Position(633, 1724, 12), Position(634, 1724, 12), Position(635, 1724, 12), Position(636, 1724, 12) Position(637, 1724, 12)...
  6. flaviiojr

    leave house/sell house

    then good luck :)
  7. flaviiojr

    leave house/sell house

    Do it !
  8. flaviiojr

    [movements] Equip item change outfit. tfs 1.3

    <movevent event="Equip" itemid="26481" script="script.lua" /> <movevent event="DeEquip" itemid="26481" script="script.lua" />
  9. flaviiojr

    [movements] Equip item change outfit. tfs 1.3

    <movevent event="Equip" itemid="2500" level="50" premium="1" maglv="15" script="script.lua" /> <movevent event="DeEquip" itemid="2500" script="amazon.lua" />
  10. flaviiojr

    [movements] Equip item change outfit. tfs 1.3

    local outfits = { [50] = 88, [60] = 100, } function onEquip(player, item, slot) local outfit = outfits[player:getOutfit()] if outfit then player:setOutfit(outfit) end return true end function onDeEquip(player, item, slot) if...
  11. flaviiojr

    C++ Subtype Unknown

    in fact, you do not need all this code to solve just a little problem ... I solved this problem, and I did not expect anyone to comment here again ...
  12. flaviiojr

    TFS 1.X+ Remove items frompos topos

    local config = { items = {2624, 2625, 2631,2637}, centerCheckerBoardPosition = Position(1028, 1078, 15), playerPositions = { --Position(1027, 1071, 15), Position(1029, 1071, 15) }, newPositions = { --Position(1027, 1079, 15), Position(1028...
  13. flaviiojr

    TFS 1.X+ Remove items frompos topos

    Add this function in lib/miscellaneous/functions.lua function iterateArea(func, from, to) for z = from.z, to.z do for y = from.y, to.y do for x = from.x, to.x do func(Position(x, y, z)) end end end end
  14. flaviiojr

    TFS 1.X+ Remove items frompos topos

    iterateArea(function(position) local tile = Tile(position) if not tile then return end local items = tile:getItems() if items then for i = 1, #items do local item = items[i] item:remove()...
  15. flaviiojr

    TFS 1.X+ How to disable tutorial?

    Post your login.php, please
  16. flaviiojr

    TFS 1.X+ Chest system possible to add backpack with items?

    Optimize to TFS 1.3
  17. flaviiojr

    Solved Anyone may help me to fix this

    function getReportByGuid(guid) local shop = db.getResult("SELECT * FROM `report` WHERE `id` = ".. guid ..";") return shop:getDataString("report") end function doPlayerAddReport(cid, report) db.executeQuery("INSERT INTO `report` (`id`, `report`, `level`) VALUES (" ...
  18. flaviiojr

    TFS 1.X+ Chest system possible to add backpack with items?

    local config = { [28735] = { backpackId = 1988, rewards = { {id = 2398, amount = 1}, {id = 2160, amount = 50} }, storage = 28735 } } function onUse(player, item, fromPosition, target, toPosition, isHotkey) local cont =...
  19. flaviiojr

    Lua Movements script with Event

    Not tested ! local runningEvents = {} local function gainHpAndMana(cid) local player = Player(cid) if not player then return end player:addMana(100) player:addHealth(150) runningEvents[1] = addEvent(gainHpAndMana, 2000, player:getId()) return true end...
Back
Top