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

    Uber Attack speed!! And Quick healing

    requires source edit. first you must make a function like "setExtraAttacSkpeed" and subtract it on "getAttackSpeed". Then, if you want it to be less than around 1 second per attack, you must make the event that checks for next attack faster, because it dosent check fast enough to make super fast...
  2. Tufte

    {Solved} Attacking Area

    local area = { {x=-1, y=-1}, {x=0,y=-1}, {x=1, y=-1}, {x=-1, y=0},--[[YOU ARE HERE]]{x=1, y=0}, {x=-1, y=1}, {x=0, y=1}, {x=1, y=1}, } function onUse(cid, item, position, itemEx, toPosition) local PPOS = getPlayerPosition(cid) local c = 0 for i=1, #area do local tmp =...
  3. Tufte

    Lua onStep setGlobalStorageValue

    limos how did you get that exhaustion function? :D me and colandus wrote that like 3 years ago
  4. Tufte

    OpenTibia Remere's Map Editor 2.2 - 10.31

    oh sorry i thought dominique made the post, well atleast in the last rme download for 10.31 extensions didnt work for me
  5. Tufte

    OpenTibia Remere's Map Editor 2.2 - 10.31

    will extensions work? :D because in your last release all my extensions where located in others, in other words they didnt work :/
  6. Tufte

    {Solved} Attacking Area

    so I assumed you wanted to do something with all 8 positions around you, if not you can edit the area and for loop according to how you want it. local area = { {x=-1, y=-1}, {x=0,y=-1}, {x=1, y=-1}, {x=-1, y=0},--[[YOU ARE HERE]]{x=1, y=0}, {x=-1, y=1}, {x=0, y=1}, {x=1, y=1}, } function...
  7. Tufte

    {Solved} Attacking Area

    i dont really understand your area algorithm, what are you trying to do here? all 8 pos around yourself?
  8. Tufte

    {Solved} Attacking Area

    what version of tfs are you using. and why do you do a bunch of looping to set players into tables, and then loop through the players one more time to deal the damage? cant you just not put them in tables and do your combat there instead.
  9. Tufte

    {Solved} Attacking Area

    did you make this script, or someone else? is this supposed to work as is?
  10. Tufte

    {Solved} Attacking Area

    local tmp = getTopCreature({x = x, y = y, z = z}).uid if(tmp) > 0 then table.insert(players, tmp) end
  11. Tufte

    {Solved} Attacking Area

    probably, but its not necessary as getTopCreature(pos).uid returns 0 if there is no creature
  12. Tufte

    {Solved} Attacking Area

    there is no check to see if this getTopCreature({x = x, y = y, z = z}).uid is actually a creature. you need to check if getTopCreature({x = x, y = y, z = z}).uid > 0 before you add it in table. i think you are adding a bunch of zeros in your table, i could be wrong though hard when im not trying...
  13. Tufte

    {Solved} Attacking Area

    post all errors
  14. Tufte

    {Solved} Attacking Area

    Rname targets {} to players {}
  15. Tufte

    Lua [TFS 1.0] Is it possible to create a floor above borders?

    I have this script that makes a floor/tile when you use it, which is removed some seconds later. If you use this item when you stand on positions with borders, it looks bad. Is it possible to create a tile above borders?
  16. Tufte

    Why are summons using onThink to obey commands/follow instead of movement/onattack from master?

    nope, ive done it! :D there was another onthink for creatures (not players) to update goToFollow(). I removed it for summons and put it in movements, so now, the summons respond lightning fast! I've also moved the attack command from onthink directly to setAttackedCreature and onAttacking. my...
  17. Tufte

    [TFS 1.0] If you attack a monster right after it spawns, it won't die when you kill it

    my sources are probably > 17 days old, thanks it will most likely fix my issue
  18. Tufte

    [TFS 1.0] If you attack a monster right after it spawns, it won't die when you kill it

    how did you try to reproduce it? did you go on a gm, /m xxx and kill it asap?
  19. Tufte

    Why are summons using onThink to obey commands/follow instead of movement/onattack from master?

    well i did it, but it seems like the main problem is the follow function, because even though im updating the new pos to the summons immidietly, it still uses 0.5seconds to actually start following. Idk why it is like this, because when a player follows a creature there is no delay.
  20. Tufte

    [TFS 1.0] If you attack a monster right after it spawns, it won't die when you kill it

    I guess this is a bug report for tfs 1.0 but i dont know where to report it. If you start attacking a creep right after it spawns, there is a very big chance it wont die when the hp goes to 0. The monster will just linger with no hp bar or name.
Back
Top