• 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

    Lua for not Work...

    CONFIG = { [1272] = {x = 82, y = 173, z = 7}, [1111] = {x = 82, y = 175, z = 7}, [1111] = {x = 82, y = 174, z = 7}, [1111] = {x = 82, y = 172, z = 7}, } for itemid, offset in pairs(CONFIG) do local item = getTileItemById(offset, itemid) if item.uid > 0 then doRemoveItem(item.uid)...
  2. milbradt

    addEvent interval ignored

    Up! I tried to use it, but do not count the time. function addEvent(func, time, ...) local clock = os.clock local time = time/1000 + clock() while true do if time - clock() <= 0 then func(...) break end end end an error in the function?
  3. milbradt

    Change addEvent (invertal) paying €

    I took a look at the code, but it's all normal.. o_O It may be some conflict with the dispatcher? maybe.. idk =\
  4. milbradt

    Change addEvent (invertal) paying €

    Ahhh... no no.. error in example =P for test = 100, 1000, 100 do addEvent(doCreatureSay, test, cid, "hello",19) end
  5. milbradt

    Change addEvent (invertal) paying €

    AddEvent was supposed to be at each 100ms, but it's coming at each 500ms instead
  6. milbradt

    Change addEvent (invertal) paying €

    Yea, my addEvent does not repeat in less than 500ms. =\ ex: for test = 100, 1000, 100 do addEvent(doCreatureSay, i, cid, "hello",19) end will repeat only 0, 500, 1000. Understand?
  7. milbradt

    Change addEvent (invertal) paying €

    i want CHANGE INTERVAL(addevent) from 500ms to 100ms. ps: if you know how to do in a addEvent by lua, no problem.
  8. milbradt

    Change addEvent (invertal) paying €

    And it addevent 0.5 (500) every second... I want to change addEvent's interval from 500ms to 100ms. Paid in euro or dollar. Interested put a comment here or private.
  9. milbradt

    addEvent interval ignored

    I just gave an example the invertal returns only 500ms in 500ms, not less. :(
  10. milbradt

    addEvent interval ignored

    for i = 100, 500, 100 do addEvent(doCreatureSay(cid, "hello",19), i) end And it addevent 0.5 (500) every second. where can I change the time addEvent? creaturescript onThink has to change in: creature.h #define EVENT_CREATURE_THINK_INTERVAL 500 however I do not know which changes...
  11. milbradt

    Solved script return true and false...

    Hummmmm Perfect! Thanks for tuto! :D
  12. milbradt

    Solved script return true and false...

    if have an ORC in a summon.. then the script will summon just the troll.
  13. milbradt

    Solved script return true and false...

    Aaaa Okay.. '-' You know a way to do this? local summons = getCreatureSummons(cid) local monsterOrc = "Orc" local monsterTroll = "Troll" local allMonster = {monsterOrc, monsterTroll} if #getCreatureSummons(cid) == 0 then for _, all in pairs(allMonster) do local mysummon =...
  14. milbradt

    Solved script return true and false...

    local summons = getCreatureSummons(cid) local monster = "Orc" for k = 1, #summons do if getCreatureName(summons[k]):lower() == monster:lower() then doCreatureSay(cid,"true",19) else doCreatureSay(cid,"false",19) end end By that returning the two when I have...
  15. milbradt

    logs nohup.out / error script login.lua

    local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid...
  16. milbradt

    logs nohup.out / error script login.lua

    The server don't the crash. But this error is too large, causing a lag time that happens. How to fix this error? [Error - CreatureScript Interface] data/creaturescripts/scripts/login.lua:onLogin Description: (luaDoPlayerSetLossPercent) Player not found [Error - CreatureScript Interface]...
  17. milbradt

    ModernAac - doubts..

    located: var/www/tibia/public/guild_logos/default.gif if I use.. if(file_exists('../../public/guild_logos/' . $logo . '.gif')) $logo = 'default.gif'; work.. =S
  18. milbradt

    ModernAac - doubts..

    not work. =\ Guilds that have the GIF image load. The guild are default does not load the image. $logo = $logo; = working $logo = 'default.gif'; = don't work ;\
  19. milbradt

    ModernAac - doubts..

    Yes.. exist. This also working, however not returning >ELSE<. =\ ex, parts code: <?PHP require("config.php"); $ots = POT::getInstance(); $ots->connect(POT::DB_MYSQL, connection()); $SQL = $ots->getDBHandle(); echo " $counting = 0; foreach($SQL->query('SELECT * FROM `guild_wars` WHERE `status`...
  20. milbradt

    Kill monster of room when leave tp

    Okay, srry.
Back
Top