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

    Exp/Kill/Drop Tracker Module [OTCV8] [TFS 1.4.2]

    Try this, I specified only to be the ID for the usual loot bag since I want to avoid not listing other containers that may be dropped. for i = corpse:getSize() - 1, 0, -1 do local item = corpse:getItem(i) if itemId == 1987 then for _, innerItem in...
  2. AokiSama

    [USA] [Custom / 6.x] [Slaynville]

    WTF? 🤣🤣🤣 This is how servers were ran back in 2008 when people were 12 years old hosting them shits off their home PC's
  3. AokiSama

    Feature [TFS 1.3] Monster Levels

    I posted the solution here: C++ - Monster Level&skull Crash tfs 1.5 860 (https://otland.net/threads/monster-level-skull-crash-tfs-1-5-860.289015/#post-2752958)
  4. AokiSama

    C++ Monster Level&skull Crash tfs 1.5 860

    Looking at your addExperience function it seems like for some reason you don't have the following lines after calculating the bonus from monster levels. g_events->eventPlayerOnGainExperience(this, source, exp, rawExp); if (exp == 0) { return; } I believe you may have...
  5. AokiSama

    C++ Monster Level&skull Crash tfs 1.5 860

    It's probably what I mentioned on my edit on my last post, try replacing with the last edit on my post marked as the solution.
  6. AokiSama

    C++ Monster Level&skull Crash tfs 1.5 860

    You should probably post your whole void Player::addExperience(Creature* source, uint64_t exp, bool sendText/* = false*/) function, also not sure if you had a different multiplier instead of 0.08, could be many things. I modified my post, maybe it could be that since we were using "level" to...
  7. AokiSama

    C++ Trade Bug Tfs 1.5 860

    What do you mean? You have to click on files changed at the top and see what change was made, unless you're saying you hadn't found that PR, here you can see the changes made. https://github.com/otland/forgottenserver/pull/3750/files
  8. AokiSama

    C++ Trade Bug Tfs 1.5 860

    You probably need this PR: fix disappearing backpack during trade by Zbizu · Pull Request #3750 · otland/forgottenserver (https://github.com/otland/forgottenserver/pull/3750)
  9. AokiSama

    [TFS 1.3] Small Autoloot

    Looks like you probably didn't add this change: A new way to manage player storages
  10. AokiSama

    C++ Monster Level&skull Crash tfs 1.5 860

    Yeah should be simple to remove that warning. If you can see in your function you have uint64_t rawExp = exp I would search for rawExp in source and see if its referenced anywhere else, but it's basically saying that you're not using it so simply removing that line should fix the warning.
  11. AokiSama

    OTClient Items ID OTC, TFS 1.5

    In your init.lua you could put in the following line: g_things.loadOtb('data/things/items.otb') Then instead of using ex: item:getId() you would use item:getServerId()
  12. AokiSama

    Cap Bug - OTCv8 7.72 Protocol

    You could use ctrl+t in otclient and see if there's any errors coming up.
  13. AokiSama

    color+itens

    Hey! Wondering if you ever got anywhere with this? I'm barely starting to work on modules for OTC myself so I'm still lacking in that area so any help would be appreciated.
  14. AokiSama

    Table 'ot_2022.znote_accounts' doesn't exist

    When installing znote, you need to make sure to run the .sql file (schema) which will insert the tables needed by the website onto your database, so you would use whatever program you use to manage your mysql database, phpmyadmin, mysql workbench, etc. Select the database you're using, and...
  15. AokiSama

    C++ Monster Level&skull Crash tfs 1.5 860

    Weird, code looks alright, maybe the problem is in the addition to player.cpp. Change const Monster* monster = source->getMonster(); if (monster && monster->getLevel() > 0) { exp += (exp * 0.08) * monster->getLevel(); } To: if (source != nullptr) { const Monster*...
  16. AokiSama

    TFS 1.X+ tfs 1.5 nekiro 8.6

    Search for the string in your server files, for example look for: Your last visit in Once you find that it will be something like: player:sendTextMessage(MESSAGE_LOGIN, string.format("Your last visit in " You need to change the MESSAGE_LOGIN to something that is available for your protocol...
  17. AokiSama

    Lua GlobalStorage dont save

    Try doing setGlobalStorageValue and getGlobalStorageValue instead, I'm guessing you're using Canary and those functions should have been available but if not try using these two but without Game. Basically just search and replace setGlobalStoragewith setGlobalStorageValue and getGlobalStorage...
  18. AokiSama

    Lua GlobalStorage dont save

    Don't use Game. just type setGlobalStorageValue or getGlobalStorageValue, I think it may also work like this: using setGlobalStorage and getGlobalStorage local chains = { West = { [1] = {itemid = 23656, position = Position(33401, 32419, 14)}, [2] = {itemid = 23655...
  19. AokiSama

    Lua GlobalStorage dont save

    That's still wrong bro, what you're doing is: Game.setStorageValue(GlobalStorage.FerumbrasAscendant.Habitats.AllHabitats, storageValue + 1) Do you see how this has nothing to do with getGlobalStorageValue or setGlobalStorageValue functions? You're never using them. Like I mentioned in a...
  20. AokiSama

    Lua GlobalStorage dont save

    You're still doing the same thing on this script. This function is doing nothing for you because you're never using setGlobalStorageValue or getGlobalStorageValue. Unless you sent the old script by mistake? This looks like you haven't changed the functions at all.
Back
Top