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

    Forum's profile edit

    How to edit this part of profile?
  2. andu

    What OTB, SPR, DAT editor for 10.98?

    Found ItemEditor 0.4 with sources. But looks like it's for OTB files only. What Spr and Dat editors do you guys use for 10.98?
  3. andu

    Quick fix, 1 minute

    Have to learn how does self thing works in TFS 1.x+ and have to use a local function for this. Future, I'll move it to libs so no workarounds. local function addTreasureLoot() self:addItem(2195, 1) return true end function onSay(player, words, param) local chest =...
  4. andu

    IMPORTANT! All Notepad++ users!

    I clicked ctrl + s in Notepad++ and my pc instantly froze for 10min or more, probably permanently. After restarting system my lua file is: 20 hours of work went to the void. Checked multiple forums about solution. There's no solution. What I learned and what you all guys should do right now...
  5. andu

    Box + water = floating box [Lua or C++]

    Now it works like that: if you move NORMAL_BOX into water then it disappears (it drowns). But I want to make it work like that: If you move NORMAL_BOX into water then it transforms to FLOATING_BOX. And viceversa, if you move FLOATING_BOX from water to beach or any walking ground then it...
  6. andu

    Lua Find item with action id on map

    Somewhere, randomly on a map my script spawned an item with random actionid between 1000 and 2000 Do we have in TFS 1.2 function what will let me find that item's coordinates with lua script? Example, player click on Treasure Map and description appears: "Treasure coordinates are: x, y, z"...
  7. andu

    C++ Condition poison, fire don't trigger infight

    How to make conditions like poison fire etc do not trigger infight condition? Example: you have fire condition and no infight condition at once so you can logout w/o any problems. (Changing pz lock timer in config.lua to 1second isn't a solution I'm looking for.)
  8. andu

    C++ need a lua function player:mount() player:dismount()

    tfs 1.2 player:mount() player:isMounted() Someone can handle this? Code should also force to update new movement speed after dismounting etc. I tried to do myself dismount. It works, tell me if it's okey: int LuaScriptInterface::luaPlayerDismount(lua_State* L) { // player:dismount()...
  9. andu

    Question about GitHub

    I forked forgottenserver from otland/forgottenserver (https://github.com/otland/forgottenserver) and I'm using GitHub Desktop to upload changes to the server. But there is a problem. When I choose my fork's repository "olrios / forgottenserver" and I commit and fetch something then all of that...
  10. andu

    How about that? OTS or WOW?

    How is your Open Tibia Folder? It's already more then World of Warcraft folder. And I didn't count over 12GB of maps
  11. andu

    Lua how to get table with conditions?

    I need to make a spells what is doing increased dmg for each fire conditions target have on himself player A have four fire conditions with different subids each. (1,2,3, and subid 4) How to check in lua how many fireconditions he have? getCondition works well, but it require subids, but what...
  12. andu

    C++ needs little help with

    I don't know C++ but I'm sure I'm able to learn it and then handle the hardest things in the future. First I need your tips, that's my first try with C++. I changed a part of code to make spells able to cost both mana and manapercent. Example: spell cost equal to 20mana +5% of maxmana After it...
  13. andu

    C++ health and healthpercent in spell's cost, please check code

    Edit: I did this, compiled it and seem to works without any issues. Please check it for potential problems. https://github.com/otland/forgottenserver/pull/2734/files#diff-72726bca5c006a50f5f53f0a15423cea Old post:
  14. andu

    MoveEvent RME-Lazy-Teleport-System by andu

    Edit: version 1.1, updated files in attachement RME-Lazy-Teleport-System by andu (for TFS 1.0+) Creating and configuring teleports is now easier! Normal Teleports, Quest teleports, Level Teleports and Quick Teleports and all in one 2kb LUA file! Lua with XML code is in zip attachement...
  15. andu

    Lua get spell info by spell's name

    For example we have Light spell, how to get how much it requires mana to cast via lua without doing loop and searching all spells by spell.name like it's in spellbook.lua? Do we have in 1.2 lua function like getSpellInfoByName?
  16. andu

    Island of Elements by andu /with my RME-Lazy-Teleport-System

    Island of Elements by andu with demo undergrounds by andu with two boats from free to use maps Map saved in 10.98 Can be imported to other versions with RME (file -> import). Map from my Youtube - Speedup Mapping video: Teleporters are using my RME-Lazy-Teleport-System which you...
  17. andu

    Lua [or C++] how to change color of drown damage?

    Okey found it. Const.h 328th line: enum TextColor_t : uint8_t { TEXTCOLOR_BLUE = 5, TEXTCOLOR_LIGHTGREEN = 30, TEXTCOLOR_LIGHTBLUE = 58, TEXTCOLOR_MAYABLUE = 95, TEXTCOLOR_DARKRED = 108, TEXTCOLOR_LIGHTGREY = 129, TEXTCOLOR_SKYBLUE = 143, TEXTCOLOR_PURPLE =...
  18. andu

    teleportTo pos have nil value [teleport summons to owner]

    summonpos have nil value but when you try to say summonpos.x it says 0 i added comments inside the script what are explaining the issue local summons = getCreatureSummons(cid) -- script spamms errors only when you have a summon for i = 1, #summons do local sid =...
  19. andu

    Lua Check player's resistances with LUA?

    Lua or C++ TFS 1.2 How to check creature's elemental resistances via lua? Ex. playerhave stone skin equipped, how to check how much death resi he have? etc
  20. andu

    exp stages problem

    Once player reaches level 36 he no longer gets any exp. Where's the problem? Worked well in 0.3 and 0.4 but doesn't work in 1.2 at all. <stages> <config enabled="1" /> <stage minlevel="1" maxlevel="35" multiplier="5"/> <stage minlevel="36" maxlevel="36" multiplier="4.9152"/>...
Back
Top