• 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. Ramon Bernardo

    NPC Storage checker NPC "Removedemon"

    A simple way is: player:getStorageValue(storage_id) And that's it, I didn't understand what you wanted to do.
  2. Ramon Bernardo

    otland lagging?

    I don't have any lagg here, Maybe route problem?
  3. Ramon Bernardo

    TFS 1.2 How do you change monster behaviour

    In red it's probably what's on your TFS. The 9 means the range monster can see. Change to value you want or sync with the client viewport.
  4. Ramon Bernardo

    How to select X value from database?

    Do not do this. This will overflow the dispatcher thread with querys. Use at least asyncQuery. @edit This will not be updated if the db updates. Make a global var and an event to check the time and thus update. There are better ways to do this, take it as a draft. local boostExp, boostLoot...
  5. Ramon Bernardo

    TFS 1.2 How do you change monster behaviour

    Para visão de monstro + visão de cliente, veja aqui
  6. Ramon Bernardo

    globalevents problem

    Try this @edit function onThink(creature, interval) local boostExperience = boostCreature[1].exp local boostLoot = boostCreature[1].loot if not boostExperience or not boostLoot then return true end local config = { { position = Position(1007, 994...
  7. Ramon Bernardo

    globalevents problem

    Code? TFS?
  8. Ramon Bernardo

    Lua [Server 0.4] Spell Aura System Version 2.0

    The problem is the slash in the header: <instant name="Aura" words="aura" lvl="50" mana="100" prem="0" blockwalls="1" needlearn="0" event="script" value="aura_spell.lua"/> <vocation id="1"/> <vocation id="2"/> <vocation id="3"/> <vocation id="4"/> <vocation id="5"/>...
  9. Ramon Bernardo

    Lua [Server 0.4] Spell Aura System Version 2.0

    Paste your spells.xml
  10. Ramon Bernardo

    Lua [Server 0.4] Spell Aura System Version 2.0

    I idented code/changed some variables, reading became easier local config = { storage = 200001, -- STORAGE DE CONTROLE duration = 30, -- O tempo de duração da aura delay = 100, -- O delay, em ms, quanto menor, mais rápida a aura será. type = "all", -- O tipo de aura...
  11. Ramon Bernardo

    TFS 1.4| 10.98 | RME Bug Quests for Chest not working?

    use uniqueid="2000" ;)
  12. Ramon Bernardo

    TFS 1.4 Potions.lua display value

    search #include "script.h" add #include <fmt/format.h>
  13. Ramon Bernardo

    TFS 1.4 Potions.lua display value

    game.cpp search if (realManaChange > 0 && !targetPlayer->isInGhostMode()) { below targetPlayer->sendTextMessage(...) add addAnimatedText(fmt::format("+{:d}", realManaChange), targetPlayer->getPosition(), TEXTCOLOR_DARKPURPLE); @EDIT below from this code, add if (realManaChange > 0 &&...
  14. Ramon Bernardo

    Lua TFS 0.4 8.60 Effect when using 3 items Weapons :: Non-Stop Effect in Player! when equipping in HANDS

    Try this movements.xml <movevent type="Equip" itemid="ITEM_ID" slot="left-hand" event="function" value="script_name.lua"/> movements-scripts function onEquip(cid, item, slot, boolean) doSendMagicEffect(getPlayerPosition(cid), EFFECT_ID) return true end SLOT_NAME & EFFECT_ID
  15. Ramon Bernardo

    Have problem with player.lua and login.lua interfering with eachother.

    Use master schema.sql Is your MyAAC configured for TFS 1.4?
  16. Ramon Bernardo

    Have problem with player.lua and login.lua interfering with eachother.

    Is it a server in production? if yes, restart your database and use schema.sql
  17. Ramon Bernardo

    Have problem with player.lua and login.lua interfering with eachother.

    premium_...at column exist in accounts? Why are you using TFS 1.3?
Back
Top