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

    Lua [Spell] Polymorph Rune

    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_POFF) local outfit = createConditionObject(CONDITION_OUTFIT) setConditionParam(outfit, CONDITION_PARAM_TICKS, 20000) local animals = { 276, -- cat 111, -- chicken 32, -- dog 212, --...
  2. Mkalo

    Solved skull by attack summon

    You are asking for support on source changes and you didn't even specify the source you're using or linked them, how is anyone supposed to help you? #5. Post the server you are using, knowing the server beforehand will help people support you faster in case the server you are using doesn't have...
  3. Mkalo

    Wrap/Imbuement and Prey System

    If by "Wrap System" you mean wrapping furniture you can check this PR: https://github.com/otland/forgottenserver/pull/2033
  4. Mkalo

    Solved skull by attack summon

    Please read https://otland.net/threads/need-help-ask-it-properly-and-correctly.18402/ before posting.
  5. Mkalo

    Lua addEvent erro

    Try changing this https://github.com/otland/forgottenserver/blob/master/config.lua#L91 To false and you will see that it will crash. Both those config options should be set to false when releasing your server for production.
  6. Mkalo

    Boss Rewards

    You don't have this system installed in your source. You can get it from here: https://github.com/otland/forgottenserver/pull/1641 or find a source that have it already like OTX https://github.com/mattyx14/otxserver/tree/otxserv3.
  7. Mkalo

    Solved C++ Help script

    Under this line add this: int64_t lastCoinTransfer = 0; Under this line add this: bool canTransferCoins(int32_t delay) { if ((OTSYS_TIME() - lastCoinTransfer) < delay) { return false; } lastCoinTransfer = OTSYS_TIME(); return true; } Then add this check inside...
  8. Mkalo

    Windows How do you edit player skills (axe,sword fighting etc..) in phpmyadmin

    `skill_fist`, `skill_fist_tries`, `skill_club`, `skill_club_tries`, `skill_sword`, `skill_sword_tries`, `skill_axe`, `skill_axe_tries`, `skill_dist`, `skill_dist_tries`, `skill_shielding`, `skill_shielding_tries`, `skill_fishing`, `skill_fishing_tries`
  9. Mkalo

    Solved C++ or LUA Check if player is wearing 2 weapons, if so INCREASE MONSTER DAMAGE

    attacker is most likely nullptr in this situation, so in that if where you have && attacker->getMonster() Add this before: && attacker && attacker->getMonster()
  10. Mkalo

    Solved C++ Help script

    Place that above everything: static std::vector<std::string> samples {"Druid Sample", "Sorcerer Sample"}; if (std::find_if(samples.begin(), samples.end(), [&](const std::string& s) { return strcasecmp(s.c_str(), recipient.c_str()) == 0; }) != samples.end()) { return; }
  11. Mkalo

    Oracle script only requires level help

    if msgcontains(msg, "rhyves") then npcHandler:say("IN RHYVES!", cid) npcHandler:releaseFocus(cid) player:teleportTo(Position(159, 387, 6)) player:getPosition():sendMagicEffect(CONST_ME_TELEPORT) else
  12. Mkalo

    what to learn for ot server?

    The only reason to compile is if you're going to make changes in the C++ source code, building an otserver without compiling or having its source may cause you problems in the future if you some time decide to make a change in the C++ source code but you wont have it and finding a compatible...
  13. Mkalo

    what to learn for ot server?

    Common guys, be realistic, most of the common servers wont need C++ or even compiling. Knowing Lua and how to use it in TFS is enough to make decent servers. After that you can start learning C++ as you encounter situations that are impossible to solve without source edits.
  14. Mkalo

    The Forgontten Server

    Maybe https://github.com/mattyx14/otxserver/
  15. Mkalo

    How can I use isSummon in C++?

    use attackedCreature->getMaster and check if the master is player and check the storage of this player (the master). (You really should do that in lua w/e maybe create a new event for that purpose of searching targets.).
  16. Mkalo

    Compiling [TFS 1.x] Rapid Attack Speed Corrupted

    Can you try my commit and do exactly those changes: https://github.com/otland/forgottenserver/pull/2109#issuecomment-274256451 I never said to remove OTSYS_TIME() and your code doesn't look like mine.
  17. Mkalo

    Feature Reward Chest & Boss Reward [TFS 1.2]

    It was moved to header file, so isntead of adding bool rewardChest; To monsters.h You add: bool rewardChest = false;
  18. Mkalo

    Compile error lockfree.h

    https://github.com/otland/forgottenserver/commit/0d5945451b2765f8fc5367d530ff2dd4828d2f8f https://github.com/otland/forgottenserver/commit/18d9824df6988d55164ec52854f386a14870f49f
  19. Mkalo

    Creature that disappears and reappears.

    My function was made to easily enable people to do custom behaviours like the one you want. You just have to code it, mine was just an example.
  20. Mkalo

    useless discussion waste of time

    Why would anyone make a different system of the same thing that already is done just for you?
Back
Top