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

    You cannot attack your guild tfs 1.2 by celehore

    Put before all the code: #include "guild.h" I guess u need to edit your source combat.cpp ReturnValue Combat::canDoCombat(Creature* attacker, Creature* target) { // ... if (target->getPlayer()) { if (isProtected(attacker, target->getPlayer())) { return...
  2. GamerGoiano

    Datapack for TFS 1.5 8.60

    @Error 502 Thx Do you know any datapack updated to TFS 1.5 8.60 from Nekiro?
  3. GamerGoiano

    Datapack for TFS 1.5 8.60

    There is a datapack for TFS 1.5 8.60 by Nekiro? With correct XML ? I am making some modifications in the source + some scripts Just for learning and improving my skills Where I can find a good Object builder that works for 8.60 without Adobe Air / Flash Player? Any suggestions for Item Editor...
  4. GamerGoiano

    TFS 1.X+ Get position light level

    We can use some functions (see the links below) to detect lights from torch, players, ambience (firefield example), etc The start: function onSay(player, words, param) local command = string.lower(param) if command == "checktile" then local x, y, z = tonumber(words[2]), tonumber(words[3])...
  5. GamerGoiano

    TFS 1.X+ Change the currency used for buying and selling items on the market

    https://otland.net/threads/new-currency.261987/ You need to modify the source to add new currency in market -- Some random stuff from TFS 1.4 source for Market if (offer.type == MARKETACTION_BUY) { player->bankBalance += offer.price * offer.amount...
  6. GamerGoiano

    TFS 1.X+ Spell Damage Direction Issue

    And now? local beamNorth = createCombatArea({ {0, 0, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 0, 0} }) local beamEast = createCombatArea({ {0, 0, 0, 0, 0}, {0, 1, 1, 1, 0}, {0, 0, 0, 0, 0} }) local beamSouth = createCombatArea({ {0, 0, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 0, 0} }) local...
  7. GamerGoiano

    Linux What distro is currently best for running a client-based tibia 8.6

    You can compile TFS 1.4 in Linux https://github.com/otland/forgottenserver/wiki/Compiling
  8. GamerGoiano

    TFS 1.X+ Spell Damage Direction Issue

    @GraveWalker Try it now local beamNorth = createCombatArea({ {0, 0, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 0, 0} }) local beamEast = createCombatArea({ {0, 0, 0, 0, 0}, {0, 1, 1, 1, 0}, {0, 0, 0, 0, 0} }) local beamSouth = createCombatArea({ {0, 0, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0...
  9. GamerGoiano

    TFS 1.X+ How to show animated text when removing an object from a corpse

    When move a item from ground, sendanimatedtext?
  10. GamerGoiano

    RevScripts Rank Reset

    Replace this $values = $SQL->query('SELECT name, level, value FROM players, player_storage WHERE group_id < 3 AND players.id = player_storage.player_id AND player_storage.key = ".$storage_number." ORDER BY CAST(value AS DECIMAL) DESC LIMIT 5'); By This: $values = $SQL->query('SELECT...
  11. GamerGoiano

    attackSpeed enabled = HIGH CPU USAGE

    void Player::doAttacking(uint32_t) { static SchedulerTask* task = nullptr; // Only create once uint32_t currentTime = OTSYS_TIME(); uint32_t attackDelay = getAttackSpeed(); bool classicSpeed = g_config.getBoolean(ConfigManager::CLASSIC_ATTACK_SPEED); if (lastAttack == 0 || (currentTime -...
  12. GamerGoiano

    TFS 1.X+ How to show animated text when removing an object from a corpse

    What do you want in your script for TFS 1.2 ? I guess u are using DashPota @Mateus Robeerto
  13. GamerGoiano

    Ot server for me and my friends

    To create an server for tibia you need: Apache + MYSQL (Website + Database) I recommend XAMPP Server (You can use the default tfs 1.4 10.98) https://github.com/otland/forgottenserver/tree/1.4 Client (Use Otclient its easy) https://github.com/edubart/otclient You need to download the...
  14. GamerGoiano

    Purse/StoreInbox items not working with Hotkey

    Yes you have the function in your TFS... I am just showing to you and saying: Otclient doesn't recognize items inside the purse(storeitems) because the server doesn't send information to the client, and even if it did, the client would need to be modified to receive and read the information.
  15. GamerGoiano

    C++ [src] Angles of the block missiles

    You can see in your source: isTileClear blockprojectile return !tile->hasProperty(CONST_PROP_BLOCKPROJECTILE); isSightClear checkSightLine blockprojectile This code is the default from tfs 1.4:
  16. GamerGoiano

    RevScripts Rank Reset

    Modify the code to this: $values = $SQL->query('SELECT players.name, players.level, player_storage.value FROM players JOIN player_storage ON players.id = player_storage.player_id WHERE player_storage.key =...
  17. GamerGoiano

    TFS 1.X+ Spell Damage Direction Issue

    local function createBeamArea(direction) local area = nil if direction == DIRECTION_NORTH then area = createCombatArea({ {0, 0, 0}, {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, {0, 0, 0} }) elseif direction == DIRECTION_EAST then area = createCombatArea({...
  18. GamerGoiano

    Purse/StoreInbox items not working with Hotkey

    https://github.com/otland/forgottenserver/commit/1f1c490fe8b7ef9d80d14ad72710b7b46b4141fd#diff-cf2f58ea33a10af6dd682696f8de84f99dd3bf923c00fb0cd38ff4894e7cd538 Need add function in server source to send information about items in "storeinbox" to Otclient Need update functions of hotkeys in...
  19. GamerGoiano

    attackSpeed enabled = HIGH CPU USAGE

    class SchedulerTask { public: void setInterval(uint32_t interval) { this->interval = interval; } uint32_t getInterval() const { return interval; } // Other member functions and data members here... private: uint32_t interval; // Other data members...
  20. GamerGoiano

    attackSpeed enabled = HIGH CPU USAGE

    Try it too: void Player::doAttacking(uint32_t) { if (hasCondition(CONDITION_PACIFIED)) { return; } static uint32_t attackSpeed = getAttackSpeed(); static SchedulerTask* task = createSchedulerTask(std::max<uint32_t>(SCHEDULER_MINTICKS, getNextActionTime()), std::bind(&Game::checkCreatureAttack...
Back
Top