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

    Kill monster of room when leave tp

    removed
  2. milbradt

    ModernAac - doubts..

    $ots = POT::getInstance(); $ots->connect(POT::DB_MYSQL, connection()); $a = $ots->createObject('Guild'); $alogo = $a->getCustomField('id'); if(!file_exists('../../public/guild_logos/' . $alogo)) { $alogo = $alogo; { else $alogo = 'default.gif'; } It's correct?
  3. milbradt

    Lua getPlayersInArea 100%

    jeeerk.. haha Thanks man! =)
  4. milbradt

    Lua getPlayersInArea 100%

    That is, it does not work anyway. print(players) or setPlayerStorageValue(players, storage, value) =z
  5. milbradt

    Lua getPlayersInArea 100%

    SOLVED function getPlayersInArea(fromPos, toPos)local players ={} for _, pid in ipairs(getPlayersOnline())do if isInRange(getPlayerPosition(pid), fromPos, toPos)then table.insert(players, pid) end end return players end It is not working...
  6. milbradt

    Lua combat Value

    Hello!!! Example using script: if getPlayerStorageValue(cid, 5151) == 2 then comboMin = -220 comboMax = -225 else comboMin = -55 comboMax = -88 end local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) setCombatFormula(combat1...
  7. milbradt

    Migrate / Database

    I have a server and 3 years online. There are points vip, it is complicated to reset. =X
  8. milbradt

    Migrate / Database

    up
  9. milbradt

    Solved Top Guild Effect

    Hummm.. got it Thanks!
  10. milbradt

    Solved Top Guild Effect

    WibbenZ.. An example of how to copy another function? Long time want to know how to store something in a function. =d
  11. milbradt

    Migrate / Database

    Is there any way to migrate the database(0.4 to 1.1) ?
  12. milbradt

    C++ Or lua / Delete X itens in House

    Hmmm.... good idea! =) Thanks!!!
  13. milbradt

    C++ Or lua / Delete X itens in House

    Thanks @WibbenZ. I managed to do this by iomapserialize.cpp the houses were being saved in binary.
  14. milbradt

    C++ Or lua / Delete X itens in House

    Topic: C++ Or lua / Delete X itens in House doubt remedied. I could do what I wanted by iomapserialize.cpp Thanks all.
  15. milbradt

    C++ Or lua / Delete X itens in House

    Thanks for your help. not have this option in my config.lua If anyone still know how I can do.. If it is difficult and time consuming to create such a function, I may be paying for it.
  16. milbradt

    C++ Or lua / Delete X itens in House

    there is some function or script to delete X items that are inside a house?
  17. milbradt

    CheckPos.Creature

    local here = {x=115,y=189,z=7} local creature = getTopCreature(here).uid if not isMonster(creature) then doCreateMonster("Wolf", here) end how do I create a monster, if the other is not in the position? Ps: To not show error. error script: (luaDoCreateMonster) Cannot create monster...
  18. milbradt

    os.time()

    Thanks man!
  19. milbradt

    os.time()

    Hello! I do not know how the os.time () How to know the right time to add the desired time? Ex: local 2Hours = 2 * 60 * 1000 local 15Minutes = 15 * 1000 doCreatureSetStorage(cid, storage, (os.time() + 2Hours)) doCreatureSetStorage(cid, storage, (os.time() + 15Minutes)) Am I doing right?
  20. milbradt

    Programmer Fix crash! Pay 500$

    Close... I found a programmer.
Back
Top