• 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!

Search results

  1. Infernum

    [TFS 1.3] Item Abilities via Lua V2

    Utilizes revscripts and custom attributes unlike my last one, way less source code involved. Somewhat tested. https://github.com/otland/forgottenserver/compare/master...infernumx:item-abilities-updated Functions: item:setAbility(key, value) item:getAbility(key) item:getAbilities()...
  2. Infernum

    TFS 1.X+ check if someone is in the room

    Try this. function areaHasPlayer(center, radiusX, radiusY) return #Game.getSpectators(center, false, true, radiusX, radiusX, radiusY, radiusY) > 0 end local roomCenter = Position(907, 693, 9) local radius = {6, 8} local destination = Position(908, 696, 9) function onStepIn(creature...
  3. Infernum

    [Suggestion] Lua-Generated Item Descriptions

    Finally got around to finishing this (I believe), I encourage people to test this out using my script provided in the PR to make sure this all works properly. https://github.com/otland/forgottenserver/pull/3071
  4. Infernum

    Streaming for boredom

  5. Infernum

    C++ where to start learn C++?

    Never actually made a post myself, most questions have already been asked and answered (especially since we're talking about beginner/intermediate stuff while learning) if you know how to properly Google things.
  6. Infernum

    C++ where to start learn C++?

    I'm by no means a master at C++, but I know my way around enough to make shit in TFS. I read learncpp.com and applied that knowledge and started making small things in TFS, like new attributes or new Lua functions. Whenever I encountered something I didn't know, stackoverflow was there to save...
  7. Infernum

    New: What song are you listening to thread

    poggers
  8. Infernum

    TFS 1.2 (i think) 10.98 server, [Error - mysql_real_query] \ Thread stack overrun:, wont allow me to delete characters

    Each question should be in a separate thread if it's not related to the original topic.
  9. Infernum

    From Windows 10 to OTS development machine for dummies

    Use Git Bash.
  10. Infernum

    Team Putting a team together

    Update your Discord link in your signature.
  11. Infernum

    Storytime: Noob stories and horrible things you've done

    I first started playing Tibia when I was 5. My brothers got me into it and taught me how to play. One day I was in Carlin and decided to head to the north gate to go kill some Amazons up north, and like 3 of one of my brother's friends killed me knowing I was his brother and took all my shit...
  12. Infernum

    TFS 1.X+ Tfs 1.3 Have some function to check how many and how are players outfits?

    https://otland.net/threads/find-outfit-storage-ids-addons.253696/#post-2461369
  13. Infernum

    TFS 1.X+ What`s the best way to reorgazine a table?

    local function customInsert(t, val) t[#t+1] = val table.sort(t, function(a, b) return a > b end) t[5] = nil end Example: local t = {65, 2, 568, 20} customInsert(t, 70) for k, v in ipairs(t) do print(k, v) end Result: 1 568 2 70 3 65 4 20 The value 2 leaves once...
  14. Infernum

    Suggestion Can we please enable post edits (remove edit expiry) in the Advertisement forum only?

    1. report asking for bbcode 2. edit bbcode and use preview feature to make sure its what you want 3. pastebin.com the bbcode and report main post with new bbcode 4. ??? 5. profit to be fair i get the point but there are risks because u can just change random shit like lets say changing your ip...
  15. Infernum

    Do you want to make money during quarantine?

    I'll gladly take that sublime key off your hands.
  16. Infernum

    TFS 1.X+ Is possible get NPC Pos?

    There's no reference to the NPC in the script by default, that's why getNpcCid() is used in the first place.
  17. Infernum

    TFS 1.X+ Is possible get NPC Pos?

    It's getNpcCid() int NpcScriptInterface::luaGetNpcCid(lua_State* L) { //getNpcCid() Npc* npc = getScriptEnv()->getNpc(); if (npc) { lua_pushnumber(L, npc->getID()); } else { lua_pushnil(L); } return 1; }
  18. Infernum

    When will TFS 1.4 be released?

    Why should 1.3 release be called 1.3 at this point when it's been so long in development? When people say 1.3 nowadays you have absolutely no fucking clue which point in the development cycle they compiled 1.3 at, you have no idea what's been fixed or implemented. At least making it 1.4 as...
  19. Infernum

    When will TFS 1.4 be released?

    1.4 is the release version of 1.3
  20. Infernum

    HOW I MAKE .EXE

    Goodbye then!
Back
Top