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

    UPDATE TO 10.97 TFS

    What is the method by which we can search for new/missing bytes?
  2. imkingran

    GDB Log - Help

    Could someone help me figure out what the problem is causing the crash with this GDB log? Distro: TFS 1.1 bt: bt full:
  3. imkingran

    [TFS 1.2] Rune Match event

    Good Job! That looks like a fun one. :D
  4. imkingran

    Request maps you need here!

    I'd like to request a full map of The Otherworld, or a link to a nice TibiaCast recording if anyone has found it already. Thanks!
  5. imkingran

    Internal BUG or DDoS Attack?

    Where are you hosting it? The OVH servers in North America were having some very bad problems with lags/connection issues. Last I heard it was still going on, if you are hosting from OVH in North America then that could be the issue.
  6. imkingran

    Lua [lua/sql query] getDataString

    In your original script I changed this line: if guild:getDataString("guild") ~= "" then To: if guild:getID() ~= -1 and guild:getDataString("guild") ~= "" then The part I added was a check to see if the query returned any results: guild:getID() ~= -1 The error in my first post was that I wrote...
  7. imkingran

    Lua [lua/sql query] getDataString

    Try this:
  8. imkingran

    Lua [lua/sql query] getDataString

    Try changing your movement file to this: function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) if isPlayer(cid) then local id = getThingfromPos({x=1445,y=1273,z=7,stackpos=0}).actionid - 50000 local guild = db.getResult("SELECT `guild` FROM `castle_wars` WHERE...
  9. imkingran

    Solved Question: Ghost command for TFS 1.2 - admins invisible to staff

    In luascript.cpp, in the function int LuaScriptInterface::luaPlayerSetGhostMode(lua_State* L) : Change: for (Creature* spectator : list) { Player* tmpPlayer = spectator->getPlayer(); if (tmpPlayer != player && !tmpPlayer->isAccessPlayer()) { if (enabled) {...
  10. imkingran

    Solved Question: Ghost command for TFS 1.2 - admins invisible to staff

    Change: if (creature->isInGhostMode() && !group->access) { return false; } To: if (creature->isInGhostMode() && (creature->getPlayer()->group->id > group->id)) { return false; }
  11. imkingran

    Solved Question: Ghost command for TFS 1.2 - admins invisible to staff

    TFS 1.X series differs from 0.X series in the ghost mode feature. In TFS 1.x anyone with access="1" can see players in Ghostmode: https://github.com/otland/forgottenserver/blob/dc7e792ef83bd16959d548702721cd69e3799966/src/player.cpp#L805 You can edit that line to determine who can see who by...
  12. imkingran

    SIMPLE ALL IN ONE: From nothing to a fully working dedicated server on Ubuntu

    The Ubuntu version is: Ubuntu Server 15.10 "Wily Werewolf" (NEW) How should I check to see if I have systemd? I tried checking by entering systemd into the command prompt: root@vps299288:~# systemd Startup finished in 23ms.
  13. imkingran

    SIMPLE ALL IN ONE: From nothing to a fully working dedicated server on Ubuntu

    When I try the command it shows: otsmanager@ns3032724:~$ coredumpctl coredumpctl: command not found I tried to look on how to install it but to no avail. Every site just keeps showing me how to use it but never install it. :(
  14. imkingran

    SIMPLE ALL IN ONE: From nothing to a fully working dedicated server on Ubuntu

    Hey Don, I was reading into it and I noticed the folder: /var/lib/systemd/coredump, was empty. Is there a place where it's already configured for the core dumps to be deposited in this system or is that something that we need to configure?
  15. imkingran

    Solved [TFS 1.2] Conversion of talkaction

    local aurastr = 25950 -- storage of aura local estr = 25951 -- storage for exhaust local porcentagem = 40 -- chance to heal in every turn of the aura, in percentage local quantheal = 20 -- percentage of the maximum hp each healing will heal . (In the case, will cure 10% of maximum hp each cure)...
  16. imkingran

    Change player outfit on use (action) TFS 1.2

    local outfit = player:getOutfit() outfit.lookType = 7 player:setOutfit(outfit)
  17. imkingran

    [sql query] RESET

    You should post what TFS version you are using because the database of 0.x and 1.x are different. If it doesn't work then post the error message that it gave you.
  18. imkingran

    [TFS 1.2] Looking for a way to scale pots

    function onUse(player, item, fromPosition, target, toPosition, isHotkey) if not target:isPlayer() then return false end local MIN,MAX = target:getMaxHealth() / 12, target:getMaxHealth() / 6 if not doTargetCombatHealth(0, target.uid, COMBAT_HEALING, MIN, MAX, CONST_ME_MAGIC_BLUE) then...
  19. imkingran

    Full HP/MANA potion (1 charge)

    function onUse(player, item, fromPosition, target, toPosition, isHotkey) local healthToAdd = player:getMaxHealth() - player:getHealth() local manaToAdd = player:getMaxMana() - player:getMana() -- prevent the player from accidentally using the item or double clicking if...
  20. imkingran

    [SQL] SQL command to all shop points to all players on server

    UPDATE `accounts` SET `premium_points` = 0;
Back
Top