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

    Solved How to connect ingame store balance to webpage points balance.

    Any ideas? Solved. function Player.getCoinsBalance(self) resultId = db.storeQuery("SELECT `premium_points` FROM `accounts` WHERE `id` = " .. self:getAccountId()) if not resultId then return 0 end return result.getDataInt(resultId, "premium_points") end function...
  2. Majster12

    Otloader.

    @xinn
  3. Majster12

    Solved Weird problem. "shielding +3%"

    s << getSkillName(i) << ' ' << std::showpos << it.abilities->skills << std::noshowpos << '%'; Solved.
  4. Majster12

    Solved Weird problem. "shielding +3%"

    You see an ornate chestplate (Arm:16, shielding +3%, protection physical +8%). It can only be wielded properly by knights of level 200 or higher. It weighs 156.00 oz. Item ID: 15406. Position: 32346, 32219, 7 <item id="15406" article="an" name="ornate chestplate"> <attribute key="weight"...
  5. Majster12

    Solved RETURNVALUE_YOUARENOTTHEOWNER

    Thanks!! Solved.
  6. Majster12

    Solved RETURNVALUE_YOUARENOTTHEOWNER

    https://github.com/otland/forgottenserver/pull/1641 Actions.cpp uint32_t corpseOwner = container->getCorpseOwner(); if (container->isRewardCorpse()) { //only players who participated in the fight can open the corpse if...
  7. Majster12

    Solved Ring of Ending Argument #3 is unsafe

    Ty guys but i think this is a better solution. local storage = 480658 local storage2 = 480663 local messages = { {m = "The ring feels quite heavy now. Nothing else happens.", e = CONST_ME_MAGIC_GREEN}, {m = "The ring feels even heavier. You feel slightly stronger, however.", e =...
  8. Majster12

    Solved Ring of Ending Argument #3 is unsafe

    Want to add no logout function, when player wear unstable ring of ending(id=22543), because when player logs out while script is running i have a lot of errors in console. Simple by adding new storage "storage2" and checks when player have this storage can't log out. Storage also should decay...
  9. Majster12

    Solved Need Little Help with enchanting. Moonlight Crystals / Werewolf Amulet / Werewolf Helmet

    Thanks!! If you have some time maybe can you help me with https://otland.net/threads/ring-of-ending-argument-3-is-unsafe.245571/#post-2389194
  10. Majster12

    What is spell id?

    Credits: https://otland.net/threads/spellid-and-there-images.168847/
  11. Majster12

    Solved Ring of Ending Argument #3 is unsafe

    Tried with something like that but no effects. local storage = 450654 local storage2 = 450655 local player = getPlayerPosition(pid) local messages = { {m = "The ring feels quite heavy now. Nothing else happens.", e = CONST_ME_MAGIC_GREEN}, {m = "The ring feels even heavier. You feel...
  12. Majster12

    Solved Need Little Help with enchanting. Moonlight Crystals / Werewolf Amulet / Werewolf Helmet

    Really nice solution. But i have this error: Btw i added 2x"," line 6 and 10.
  13. Majster12

    Solved Need Little Help with enchanting. Moonlight Crystals / Werewolf Amulet / Werewolf Helmet

    Tried to solve this by myself but without results. If paladin or royal paladin use moonlight crystals on werewolf helmet he should receive enchanted werewolf helmet (paladin), but he always receive enchanted werewolf helmet (mage/druid). local enchantableItems = {24716, 24718} local...
  14. Majster12

    Solved Ring of Ending Argument #3 is unsafe

    It's possible to add "no logout" to script?
  15. Majster12

    Solved Ring of Ending Argument #3 is unsafe

    Done, thank you very much. local storage = 450650 local messages = { {m = "The ring feels quite heavy now. Nothing else happens.", e = CONST_ME_MAGIC_GREEN}, {m = "The ring feels even heavier. You feel slightly stronger, however.", e = CONST_ME_MAGIC_GREEN}, {m = "You feel...
  16. Majster12

    Solved Ring of Ending Argument #3 is unsafe

    I changed doRemoveItem(getPlayerSlotItem(cid, CONST_SLOT_RING).uid, 1) to doPlayerRemoveItem(cid, 22543, 1) How to add this text? After successful try? "You read: This eternal ring was forged in the pain of <player> and hardened by his/her endurance."
Back
Top