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

Search results

  1. R

    TFS 1.X+ Strange House Bug

    Hi guys, how can this be fixed?
  2. R

    TFS 1.X+ Help, protocolstatus.cpp

    As Znote commented in another thread. Here's the solution. In your file protocolstatus.cpp. Change this uint32_t real = 0; std::map<uint32_t, uint32_t> listIP; for (const auto& it : g_game.getPlayers()) { if (it.second->getIdleTime() < 960000 && it.second->getIP() != 0) { auto ip =...
  3. R

    TFS 1.X+ ban script error tfs 1.2

    I don't know which engine you use, but there are engines that check in onLogin if the player is banned and if so, won't let them log in. Usually the check if the player is banned takes place in the protocolgame.cpp file. Search your project for "isAccountBanned" or something similar and check...
  4. R

    Gesior acc install problem xampp

    @Fiester Any news?
  5. R

    TFS 1.X+ ban script error tfs 1.2

    Hello, check in the onLogin event if there is anything related to checking if the player has a ban so as not to allow them to enter the game. You can also do a select in the "account_bans" table to see if the player's accounts have actually been banned. That is, if the ban information was...
  6. R

    Gesior acc install problem xampp

    Hello, your error this is in script configlua.php in line 57, check if have it's " -- " in your file. This comment in php script with //
  7. R

    C++ Party shared experience issue

    Hello friends. Problem solved so far. The solution was to reformulate the exp boost script I had on the server. This was what was affecting the shared experience.
  8. R

    OTClient status.php (Player Online)

    Ooh, sorry man! An oversight. Thanks 😃[/CODE]
  9. R

    C++ Party shared experience issue

    I discovered that to use the onDeath event I would have to put a script in each monster's .xml file calling my boost event. To me, that doesn't seem like an alternative. I don't know how much process this could cost me.
  10. R

    Lua Pokedash Pota Party System

    Hello, please look this Party shared experience issue. It's possible has response
  11. R

    C++ Party shared experience issue

    My server is based in this repository And there's the onDeath event, which I tried to use yesterday, but I couldn't due to lack of time
  12. R

    C++ Party shared experience issue

    Hello @pips, yesterday I carried out some tests to try to better understand what was happening and the main reason for giving extra experience to the player even if he doesn't have a boost activated and the creature:addExperience function is activated. However, I wasn't able to make much...
  13. R

    AAC Return to Mercado Pago PIX

    Whats the real problem?
  14. R

    OTClient status.php (Player Online)

    Hello my brother! Try this, it's work fine for me! <?php $online_otservlist = 0; try { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://otarchive.com/server/6452daeb8fe898282d5263a7"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // Return data inplace of echoing on...
  15. R

    C++ Party shared experience issue

    Got to the facts! When creature:addExperience() is ACTIVATED in boostexp.lua script. When both players attacked the monster and killed. Exp is shared correctly. Look image below When this is only member killed the monster. When creature:addExperience() is DESACTIVATED in boostexp.lua...
  16. R

    C++ Party shared experience issue

    But why is it that when this creature:addExperience is deactivated, the experience is divided equally for both players?
  17. R

    C++ Party shared experience issue

    Heelo guy! I found where addExperience is called. There is a lua file in the monsters' onKill event. It refers to an exp boost script for players, when they use a potion that doubles the experience gained for a few minutes. Anyway, I'll provide the function below. To explain, I disabled...
  18. R

    C++ Party shared experience issue

    Both 200 This is only leader kills the monster alone. Check, i print exp throughout the process until Player::addExperience. void Party::shareExperience(uint64_t experience) { uint64_t shareExperience = experience; shareExperience = (experience*1.0); uint64_t...
  19. R

    C++ Party shared experience issue

    I made this adjustment. Note, this is only when leader kills the monster alone. This is only member kills the monster alone. Note that my memberList only contains party members. The leader is not included. Now with this debug, I'll go to the end, to find out what experience is being put to...
  20. R

    C++ Party shared experience issue

    Hello, In creature.cpp fily, have a function void Creature::onGainExperience(uint64_t gainExp, Creature* target) { if (gainExp == 0 || !master) { return; } gainExp /= 2; master->onGainExperience(gainExp, target); g_game.addAnimatedText(position...
Back
Top