• 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

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

    #edit Didn't saw your post. I'll try to debug it like you said. Will give more info soon. Going to sleep right now. See you tommorow.
  2. andu

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

    I copied step by step uint32_t Spell::getManaCost, in mana case there's no checking for player. And btw this is not fixing the issue. There must be sth different.
  3. 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:
  4. 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...
  5. andu

    [Quick Showoff] Post your latest maps!

    Bank in city near my Academy of Magic. I bet all players attacked by all kind of magics will notice this interesting portal inside the wall.
  6. 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?
  7. andu

    [10.98] 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...
  8. andu

    Creativity - Post your mapping ideas

    Lava inside mountains is item id: 15544
  9. andu

    Let's save OpenTibia legacy!

    BlackDemon's Editor. Like I said in past post I'll upload it for you. Years ago antiviruses were screaming that file is hot. I scanned it yesterday with virustotal and it's clean! Also compatible NoxSpr editor and otitemeditor. You use these 3 to make anykind of changes to spr, dat, otb in 8.0...
  10. andu

    When edit map gets like this how i can remove this problem

    Always make backup 1. Open new map in RME 2. Change new map's Tibia client version to what is your (In RME -> Map -> Propheries) 3. Import your old map 4. Use cleanup (In RME -> Map -> Cleanup) 5. Save new map into new file. 6. Load your new file in TFS. Make sure your items.xml and items.otb...
  11. andu

    Lua Attempt to index global (a nil value)

    change: if(not isPlayer(target)) then return true end to: if not target:isPlayer() then cid:say("debug: target wasnt a player", 1) -- you can remove this line after you check it's working, but if your char starts spamming this, then bug may be becouse you use it in onKill instead of...
  12. andu

    Lua Attempt to index global (a nil value)

    If you want to rescript it to make it work in 1.x then in notepad hit ctrl+h Find what: p:getStorageValue(cid, Replace with: cid:getStorageValue( Hit Replace All. And then again ctrl+h Find what doCreatureSetStorage(cid, Replace with: cid:setStorageValue( Hit Replace All. And last...
  13. 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 =...
  14. andu

    Lua If under level, put level skills remains

    Best will be onLogin function. It will trigger everytime you die, becouse you have to login after death. Here is script I wrote for you. You just have to finish it with functions setSkillLevel, setMagicLevel and setLevel. You can get code from talkactions/scripts/add_skill.lua or somewhere...
  15. andu

    (suggestion) multi-world in single server instance

    Adding multiple instance system into engine would add new awesome things into game. For example if you enter portal then a new instance is created with hunting spot. You enters a portal and you are in dragon_lair_instance_1, everyone in your party would be able to join this instance_1 too. Also...
  16. andu

    Monster with damage based on owner (for summoner)

    In monster's xml file you can add spells like that. <attack type="instant" name="MY NEW EXORI" interval="2000" chance="100" range="4"/> And here is my simple MY_NEW_EXORI.lua what hits are based on master's lvl and mlv: local combat = createCombatObject() setCombatParam(combat...
  17. andu

    [OtLand Official Mapping Competition] - November Voting Thread

    3,5,11 for me 2 is good too voted for 3
  18. andu

    Lua Unable to load config.lua

    48 line: displayCriticalHitNotify = ttue
  19. andu

    [Quick Showoff] Post your latest maps!

    In real world you can find trapped water in form of lake surrounded by lava and many kinds of different crystals. Based on this inspiration I changed this little cave into passage to a bigger cave with water elementals. When you are playing, finding this cave is a nice, positive surprice. Also...
  20. andu

    [Quick Showoff] Post your latest maps!

    What monsters would you like to see in this crystal cave?
Back
Top