• 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. gudan garam

    Player Loot Rate

    My bad, in Monsters::getLootRandom change from: g_config.getDouble(ConfigManager::SPECIAL_RATE_LOOT) to: g_config.getDouble(ConfigManager::RATE_LOOT) The IOLoginData::loadPlayer should be player->setSpecialLootRate(result->getDataInt("special_rate_loot")); instead of...
  2. gudan garam

    Player Loot Rate

    Yeye, I can do that. I'm busy right now but I can do it in 3~4 hours. Edit-- hey @supergt i've edited my original post, check it out.
  3. gudan garam

    Player Loot Rate

    Since I have not worked with older tfs versions for a while, I don't have the tools set up to compile and test it, so I'd assume you will get compile errors, if you do, let me know. As you can see, I'm not very good at styiling my posts, so take care when following the steps to minimize the...
  4. gudan garam

    TFS 1.3 Stoped Working

    Could show me this method in your tfs? void Game::addCreatureCheck(Creature* creature)
  5. gudan garam

    custom items.otb

    otland/forgottenserver From line 287 to 295 there are version checks being made, I think you are fine commenting just the last one though, on line 292. But, if the problem you are having is a crash and not one of thoose errors on the lines I showed you, than that wouldn't be engouh I think...
  6. gudan garam

    TFS 1.X+ [crash] Segmentation fault - Item::isRemoved

    This makes no sense, atleast I don't think.
  7. gudan garam

    C++ Crash Bug

    Maybe see what is in 0x633113073600, since that is what the player was looking at. Also 0x6330ed672100 so you can find which player was it.
  8. gudan garam

    Items.otb version

    For me the easiest way to do it is to print theese values: otland/forgottenserver Thats the way I did when I needed it. It will print once you open the server. Also, if it says you have the wrong client version, then maybe you have the wrong dat and spr signatures in your xml, have you checked...
  9. gudan garam

    Annoying things you hear often in your daily basis at work.

    one of our clients didn't understand the email we sent him, i need you to call him and explain the documents layout he has to upload (for the third time in a week). *call him, explain every single bit* *document comes in with wrong layout*
  10. gudan garam

    Lua This free inventory check script won't work.

    Which tfs version are you running? I think getContainerCapByID expects you to pass the items id, depending on the tfs version you are running the BP variable could be userdata or whatever it was in the earlier versions. Maybe try getContainerCapByID(BP.itemid) or...
  11. gudan garam

    Existem BR's?

    tamo ae
  12. gudan garam

    Auto save

    This is pure gold.
  13. gudan garam

    [TFS 1.3 / C++] How i can send Player informations to CharacterList ?

    This is where you are going to retrieve the info when the characterlist gets sent from the server: edubart/otclient This is where you are going to send the characterlist info to the client: otland/forgottenserver Now that you have sent and received the info you need, I'd imagine you would have...
  14. gudan garam

    TFS 0.X Grizzly Adams (Killing in the name of)

    Have you registered the creaturescripts in your creaturescripts.xml?
  15. gudan garam

    C++ using getStorageValue in source code

    Hey, I know you've already solved your problem, I just wanted to tell you that it would probably be a better idea if, instead of a storage, you created a boolean attribute on the player and set that to true or false. I'm telling you tbis because storages are better used (or even designed) when...
  16. gudan garam

    0.2.8 mystic spirit; error attempt to call global 'position' a nil value

    It would be nice if you could post the complete stack trace message so we could see which line is giving us the error.
  17. gudan garam

    TFS 1.X+ quests.xml |STATE|

    The thing is, the player has -1 as the value of the storage used, so the task would only start counting after the second monster. He just needs to set the storage used to count monsters kills to 0 when the player starts the task, and the startvalue to 1.
  18. gudan garam

    Gesior 2012 TFS 1.2

    if(isset($config['site']['quests']) && is_array($config['site']['quests']) && count($config['site']['quests']) > 0) $id = $player->getCustomField("id"); $number_of_quests = 0; $main_content .= '<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%><TR...
  19. gudan garam

    TFS 1.X+ quests.xml |STATE|

    It would be easier for you to set the storage (19008 in this case) to 0 when the player requests the task to the NPC, and change the startvalue to 1. It is counting when its 0 because the startvalue is 0 and when the player kills the first monster, he probably had that storagevalue set to -1...
  20. gudan garam

    Solved How to remove "your questlog has been updated"?

    The function that sends the player this message receives a bool parameter called isLogin. You could change it to something like omitMessage and get a wider use of it. This is what I mean: Change the function LuaScriptInterface::luaPlayerSetStorageValue from: int...
Back
Top