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

    Lua Death Percent Loss

    in player.cpp find the death method void Player::death(Creature* _lastHitCreature) Then the level loss is declared in the middle~ of the function //Level loss uint64_t expLoss = static_cast<uint64_t>(experience * deathLossPercent); where the deathLossPercent is taken...
  2. pasiak12

    Lua {name}{level} killed {name}{level}

    player.cpp void Player::addUnjustifiedDead(const Player* attacked) { if (hasFlag(PlayerFlag_NotGainInFight) || attacked == this || g_game.getWorldType() == WORLD_TYPE_PVP_ENFORCED) { return; } sendTextMessage(MESSAGE_EVENT_ADVANCE, "Warning! The murder of " +...
  3. pasiak12

    Help, when i change my outfit in my god char it crashes

    the crash when you try to change outfit as god //nvm I am mistaking you for OP while yours avatars(non-avatars) are the same
  4. pasiak12

    Help, when i change my outfit in my god char it crashes

    Does it crash the server or just client?
  5. pasiak12

    Help, when i change my outfit in my god char it crashes

    Should be in 'Sex' column
  6. pasiak12

    Map

    Does first screen is from map editor and the second from game? So the items are different in editor and the game. You need to use the same otbm files. To allow tfs 1.2 load nonstandard otbm file you can edit the sources iomap.cpp Delete those ifs if (headerVersion > 2) {...
  7. pasiak12

    Compiling Error while compiling in linux

    Have you installed all the required tools and libs? sudo apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev Also the portuguesse language in terminal isn't helping (especially when I am not even able...
  8. pasiak12

    Compiling [TFS 1.2] condition to abosrb damage

    Can you explain, what exactly you want to do? A condition that makes player wearing an item with absorb percent weaker? (The absorb thing from item works worse, so players receives more dmg yes?) there's if stament for every item containg any 'absorb dmg' value if...
  9. pasiak12

    Compiling Compiling on Ubuntu 15.04 (Won't compile, but no errors show)

    Seems like it is executing another cmake file (an empty cmake file). Are you sure the path is correct? It's a bit hard for me to help you, just by suggesting the solutions and checking the output. Im not expert here, would need to at least have an access to your server and check every...
  10. pasiak12

    Compiling Compiling on Ubuntu 15.04 (Won't compile, but no errors show)

    cmake file is same is mine. Im not best at linux, but I'll try to help here. There should be printed some more results than only Configuring/Generating done (For example boost version etc) lets try check if program reads whole file Use this CMakeLists.txt cmake_minimum_required(VERSION 2.8)...
  11. pasiak12

    Compiling Compiling on Ubuntu 15.04 (Won't compile, but no errors show)

    Hmm.. it's weird. Are you sure you have downloaded the correct tfs repo? git clone https://github.com/otland/forgottenserver.git It should put all the files into build directory but it doesn' in your case -- Build files have been written to: /home/X/forgottenserver Also there are should be...
  12. pasiak12

    Compiling Compiling on Ubuntu 15.04 (Won't compile, but no errors show)

    Have you installed all the required tools? sudo apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev What was the output? Also, what was the forgottenserver directory content after executing the...
  13. pasiak12

    Compiling Compiling on Ubuntu 15.04 (Won't compile, but no errors show)

    follow the tutorial go into build dir cd build if you are in build directory your path should be like X@localhost:~/forgottenserver/build then try cmake .. make
  14. pasiak12

    Kicks players when cast spells

    Does it kick player even with exhaust turned on?
  15. pasiak12

    Monster Defense Statue

    create new looktype, and make new immobile monster (like spit nettle)
  16. pasiak12

    Linux [TFS 0.4] Failed connecting to database...

    theres tfs 1.2 for 8.6 tibia https://github.com/ninjalulz/forgottenserver/tree/8.6
  17. pasiak12

    Warmode Frags error

    tibia, tfs version? I can try to debug that, but I'm gonna need the sources.
  18. pasiak12

    Changing xp necessary to level up

    So thats the default formula ((50ULL * lv * lv * lv) - (150ULL * lv * lv) + (400ULL * lv)) / 3ULL The cleaner form is : next_level_exp = ((currentLVL^3 * 50) - (currentLevel^2 * 150) + (currentLevel * 400)) / 3 for example exp needed to reach 2 lvl =( (1^3 * 50) - (1^2 * 150) + (1 * 400) )...
  19. pasiak12

    Lua Npc set player name in item

    I had done some work with items, and from my experience I can tell you that you can't really change nothing in single item (Unique items could only have different count) because they are made constants. The ability to set a new unique variable in item (an additional text for example) requires...
  20. pasiak12

    Groups with Forced Outift.

    It's definied in sources protocolgame.cpp if (player->isAccessPlayer()) { static const std::string gamemasterOutfitName = "Gamemaster"; protocolOutfits.emplace_back( &gamemasterOutfitName, 75, 0 ); }
Back
Top