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

    Linux TFS Moving 1.0 to 1.2

    Hi fellows, this time had to come sooner or later, i have to upgrade my OT from tfs 1.0 to 1.2. When i tried to simply copy my datapack to tfs 1.2 OT, it just printed thousands or errors. Is there any tutorial ? Maybe you could simply write it quickly how to convert completely OT to 1.2 from...
  2. raf

    Compiling Flags for TFS 1.0

    Alright, then i think i have my answer. Thanks :)
  3. raf

    Compiling Flags for TFS 1.0

    How come ? When i type that command it says that i have to compile my tfs with ENABLE_SERVER_DIAGNOSTIC flag.
  4. raf

    Compiling Flags for TFS 1.0

    Could anyone post link / list of flags that you can use to compile tfs 1.0 ? and how to compile it with custom flags. For example, i cannot use command /serverdiag because i have no flag while compiling. Also i believe it could fix bug report system if there is a flag for that.
  5. raf

    Linux Report & Rule Violations

    Kay then, i guess i have to just work harder on upgrading my ot! Thank's anyway.
  6. raf

    Lua MAKING A NEW POTION

    This one is for TFS 1.0 - you can try it, or change some functions if neccesary. local config = { -- strong health potion [7588] = {health = {250, 350}, vocations = {3, 4}, text = 'paladins and knights', level = 50, emptyId = 7634}, -- strong mana potion [7589] = {mana = {115...
  7. raf

    Linux Report & Rule Violations

    Very nice, and i would love to upgrade my server to 1.2, but i have alot of stuff to convert - so it wont happend in near future ;s And how come it used to work on previous versions of tfs? both report and rule violations ? lol
  8. raf

    Type The Name Above Without Looking At The Keyboard

    Ceejzor lol simple af
  9. raf

    Linux Report & Rule Violations

    I've searched the forum, but it seems that i won't find any good fix for my problem. How can i turn on / fix report (by ctrl + z) and rule violations (banning and stuff). I am using TFS 1.0 (i know, i'm working on moving to tfs 1.2 but it will take time), report system says that im not...
  10. raf

    Lua onEquip keep doing effect (hearts)

    bump this is what i've got so far, but not working ;s function onEquip(cid, item, slot) local exhaustionStoragesweetheart = 48231 local exhaustionDelay = 3 if exhaustion.check(cid, exhaustionStoragesweetheart) then return true end if slot.itemid == item then...
  11. raf

    GetMonsters

    does it still work ? cause i tried to take my monsters.xml and export it, but the progress bar is stuck on 0
  12. raf

    RME creatures from OT -> to RME

    Does anyone got exporter/converter for creatures (with looktypes would be awesome) from OT to RME (10.79) ?
  13. raf

    Lua onEquip keep doing effect (hearts)

    It will be fine, i just don't know in what format does exhaustion saves, is it seconds or something else. Below is function for that. exhaustion = { check = function (cid, storage) return getPlayerStorageValue(cid, storage) >= os.time(t) end, get =...
  14. raf

    Lua onEquip keep doing effect (hearts)

    Yup, that's a good start, but i see there's a "exhaustion" which doesn't exist in tfs 1.0 i believe :eek: (or i might be wrong). --edit or no, i've found there is an function named exhaustion, i think i might do it now :), if not im gonna call for help then ;p
  15. raf

    Lua onEquip keep doing effect (hearts)

    I wan't to recreate Sweetheart Ring as in real tibia. Could anyone make / or just simply point me the way to create script for that ? I know it seems easy, but i'm kind of confused.
  16. raf

    Compiling Onlinetime format

    Could someone please tell me in what format is onlinetime saved ? Seconds ? Milliseconds? Timestamp or... ?
  17. raf

    [PHP] Need help in converting unix time into days, minutes and seconds.

    that worked as i expected, but i have no idea why, my characters page is blank when i put it like this $onlinetime = new DateTime(); $onlinetime->setTimestamp(38668931); $diff = $onlinetime->diff(new DateTime()); $bgcolor = (($number_of_rows++ % 2 == 1) ? $config['site']['darkborder'] ...
  18. raf

    [PHP] Need help in converting unix time into days, minutes and seconds.

    Maybe i didn't say it as it should sound. Here's an example of what i want to achieve: https://shadowcores.twifysoft.net/character.php?name=Fatima+Skyland row with "Total online time"
  19. raf

    [PHP] Need help in converting unix time into days, minutes and seconds.

    and the thing is - im using gesior which is rly fucked up inside - the code is messy and i can't load a page with that piece of code from SO.
  20. raf

    [PHP] Need help in converting unix time into days, minutes and seconds.

    i guess it would work just fine, but it's not accurate - it says that every month has 30 days.
Back
Top