• 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

    Spoofing or not?

    Okey based on what you wrote in this topic, such behavior isn't inlegal only. THIS IS A CRIMMINAL In Polish law it's like a broking 15 sections of the criminal code. (Not sure google translator handled it properly). If you don't know how law works the simpliest explaination is: over 25 years...
  2. andu

    Spoofing or not?

    What does spoofing on Open Tibia stands for? Can someone explain?
  3. andu

    Creativity - Post your mapping ideas

    Academy of Magic. Unfinished but already huge like a 50% of Yalahar with all hunting quarters around. 1. 2. 3. 4. 5.
  4. andu

    Lua Check player's resistances with LUA?

    You can read other files via lua. Making a script what will check for items.xml "if player" or ex. demon.xml if target is creature isn't something impossible. Also to reduce resource consumption it may work like a lib so it won't read over and over 1Mb+ file items.xml. It will load important...
  5. andu

    Lua Check player's resistances with LUA?

    There are no things I can't do
  6. 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
  7. andu

    exp stages problem

    LUA faster then XML? Solved it by editing event/scripts/player.lua under gainExperience local function getExpStage(level) if level <= 35 then return 5.0 else local stages = { [36] = 4.9152, [37] = 4.7628, [38] = 4.6128...
  8. 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"/>...
  9. andu

    Action [TFS 1.X] Cursed Chests

    I tested it for a while and: bug: if there is alot of firefields around - some monsters are not spawning. Problably becouse on spawnpos is firefield and in every pos around. After that script instead of spawning 20 mobs, spawns only 19 or less and there is no way to advance forward in waves...
  10. andu

    C++ [LUA] [C++] [XML] item attributes 1.x

    Thank you for respond. About elementDeath, this is atribute what enchantes weapon with death damage. So you deal death dmg with it. Based on master tfs 1.2 items.cpp there is no such attribute. Only these: https://github.com/otland/forgottenserver/blob/master/src/items.cpp#L141-L144 So I'm...
  11. andu

    C++ [LUA] [C++] [XML] item attributes 1.x

    1. [Warning - Items::parseItemNode] Unknown key value: elementDeath [Warning - Items::parseItemNode] Unknown key value: elementLifedrain [Warning - Items::parseItemNode] Unknown key value: elementHoly Worked in 0.3 and 0.4. Doesn't exist in 1.2? Why such downgrade? Based on...
  12. andu

    Lua Conditions in 1.x

    ok fixed
  13. andu

    TFS 1.X+ monster spell

    in script change local range = 1 -- in sqm
  14. andu

    TFS 1.X+ monster spell

    in xml change direction to selftarget="1"
  15. andu

    Lua Conditions in 1.x

    I had multiple spells in 0.4 which they were using conditions with subids. They do not work in 1.x. All of them, in some cases they even debugging client. I need an example 1.x script what will: if you have condition haste with subid 100 and condition regeneration with subid 101 then remove...
  16. andu

    Lua hasCondition tfs 1.x

    function onThink(cid, interval) if cid:isPlayer() == true then local hp, mp = 0, 0 if cid:getCondition(CONDITION_INFIGHT) == true then hp = config.inCombat.healthPercent mp = config.inCombat.manaPercent else ... Script all the time thinks...
  17. andu

    Lua hasCondition tfs 1.x

    hasCondition, addCondition, removeCondition worked very well in 0.3 and 0.4. But I have trouble to make it works in 1.x if cid:getCondition(CONDITION_INFIGHT, CONDITIONID_DEFAULT) == true then this part doesnt works. It cannot find when player is in fight. any tips?
  18. andu

    [Tutorial] How to setup OTServBR-Global (Based on The forgotten server) - Windows

    Followed by these step in VS 2019. Ofc I'm still using compiler 421 and Win10 SDK 10.0.17xxx downloaded via 2019's installer and TFS vsxproj isn't updated to 2019 but using native version. ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== :) To compile it in 2019 you have to...
  19. andu

    Request maps you need here!

    Someone have this? https://otland.net/threads/9-6-new-thais-custom-city.205400/
  20. andu

    Lua getPlayerSkillLevel?

    How about getItemAttack, how it's in 1.0?
Back
Top