• 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!

Recent content by Makin

  1. Makin

    C++ Auto loot problem with saving

    yes
  2. Makin

    C++ Auto loot problem with saving

    bump
  3. Makin

    C++ Auto loot problem with saving

    Hello, as I wrote in the subject, I have a problem with saving items to the databas. I use code Feature - Auto Loot [TFS 1.3] (https://otland.net/threads/auto-loot-tfs-1-3.255791/) I changed the code to work under tfs 1.2 everything works fine except save ps. I don't know c ++
  4. Makin

    OTClient useThing:getServerId() shows id 0

    I had to add. And now it's working properly otclient/init.lua g_things.loadOtb('data/things/800/items.otb')
  5. Makin

    OTClient useThing:getServerId() shows id 0

    Hello, I have a problem with adding options to Otclient. I use TFS 1.2 menu:addOption(tr('Add Loot'), function() g_game.talk('!add ' .. useThing:getServerId()) end) useThing: getServerId () shows me ID 0. And I don't know if it's the server's fault or otlcient
  6. Makin

    OTClient anty kick script

    Hello, can someone tell me why this script does not loop antykick = {} local dance = 1000 local dance1 = 4000 function antykick.anty() local oldDir = g_game.getLocalPlayer():getDirection() direction = oldDir + 1 if direction > 3 then direction = 0 end...
  7. Makin

    TFS 1.X+ system ping

    Hello i have problem with ping on server when i use otclient. I use tfs 1.2 ninjalulz/forgottenserver (https://github.com/ninjalulz/forgottenserver/tree/8.0) I've already added pingback etc. When he logs in to the character gets a message in the terminal "ERROR: got an invalid ping from server"...
  8. Makin

    C++ allowFightBack

    I can't edit the first post, I would ask you to add what I wrote to this post My problem is that: is player 'a' and player 'b' player a attacks player b and player a gets a white skull player b attacks the a player who has nailed a white skull on players b and player b after attacking the...
  9. Makin

    C++ allowFightBack

    F5
  10. Makin

    C++ config exp per player

    add configmanager.cpp floating[EXP_ENFO_PLAYER] = getGlobalFloat(L, "expenfo", 0.75); under int32_t ConfigManager::getNumber(integer_config_t _what) const { if (_what >= LAST_INTEGER_CONFIG) { std::cout << "[Warning - ConfigManager::getNumber] Accessing invalid index: " << _what...
  11. Makin

    C++ allowFightBack

    Hello, as you can see in the video, my problem player.cpp void Player::onAttackedCreature(Creature* target) { Creature::onAttackedCreature(target); if (target->getZone() == ZONE_PVP) { return; } if (target == this) { addInFightTicks(); return; }...
  12. Makin

    C++ config exp per player

    thanks for the help. I had to change the code a little, but it works fine
  13. Makin

    C++ config exp per player

    f5
  14. Makin

    C++ config exp per player

    player.cpp uint64_t Player::getGainedExperience(Creature* attacker) const { if (g_config.getBoolean(ConfigManager::EXPERIENCE_FROM_PLAYERS)) { Player* attackerPlayer = attacker->getPlayer(); if (attackerPlayer && attackerPlayer != this && skillLoss &&...
  15. Makin

    C++ config exp per player

    hi, how can I make 0.75 work in config and not 1. I use tfs 1.2. I don't know much about c ++ it works expenfo = 1 it doesn't work anymore expenfo = 0.75 I know my English is poor
Back
Top