• 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

    Impossible to load map after remere's map edit

    Debug the server on part where it loads the map. Maybe its just an useless check that can be ignored. Otherwise there may be need to add some changes into map load method.
  2. pasiak12

    vocation clientid="3"

    Seems like dmg/def etc multipliers. I think they just work in simple way, if for example specific vocation melee attacks and it has formula meleeDamage="2.0" , it would hit 2x times stronger. Please notice that its not default tfs feature, so you need to check sources/data for their...
  3. pasiak12

    strange holes

    I havent done anything like that yet. My thoughts: Do some function that we will endless loop, like (pseudocode) TransformToSpikes If player on -> deal dmg Wait 2 sec TransformtoNOspikes Wait 2 sec Repeat The problem is, we need to initialize the scripts for every item of that type on the...
  4. pasiak12

    strange holes

    check cid for isPlayer()
  5. pasiak12

    strange holes

    You need to find the 'hidden trap' tile id of that thing and then do some onStep function that would deal damage to the user and transform it to hidden one. Thats the way I would do that.
  6. pasiak12

    Problem with walkback movement script

    If you want to fix some error, you firstly need to find the error. Put some prints before every return like print("return 1") return true and then watch the server console after steeping on chest[/code]
  7. pasiak12

    Lua Return number of rows from select in lua

    User Static_ told you the solution with storeQuery function. Your new script is using the same. His post should be marked as answer.
  8. pasiak12

    Problem with walkback movement script

    You can put simple prints just after every return and you will see where the function stucks
  9. pasiak12

    support with weapon

    Create request thread for that function. Unfortunately I don't have much time now, but I will look there from time to time and we'll see.
  10. pasiak12

    How to fix missing dmg from distance weapons

    cool, but how We would be able to help you when you can't even tell what server youre working on? "8.0" tell us nothing
  11. pasiak12

    How to fix missing dmg from distance weapons

    give us your tfs version or provide sources
  12. pasiak12

    support with weapon

    Seems like its possible to do, but will require full access to sources, since writing test methods on forum and waiting for response will be extremely inefficient work. I would start in doAttacking method where Item* tool = getWeapon(); const Weapon* weapon = g_weapons->getWeapon(tool); it...
  13. pasiak12

    support with weapon

    there are many open tibia servers and everyone has its own player.cpp file Provide us the exact version youre working on, then we would be able to help you
  14. pasiak12

    tfs 1.2+ by ninja for client 8.6 (compile error)

    try with boost 1.60 While I work with tfs 1.2 8.60 client It compiles well with that version.
  15. pasiak12

    C++ Skull near monster if isSagaMonster()

    the function cant do an action on empty object (nullptr) After it checks if its sagamonster, firstly it checks if creature object exists and then check if its monster. It those are true, then it proceeds to do an action I suppose your code somehow works on large group of things, and it went on...
  16. pasiak12

    Is there any fast way to find item in "Noxitu"

    A yeah. You need another item editor, that supports otb files. There should be any on ots tools subforum
  17. pasiak12

    C++ Skull near monster if isSagaMonster()

    try if(creature && creature->getMonster() && creature->getMonster()->isSagaMonster()){ msg->put<char>(SKULL_YELLOW); }else{ msg->put<char>(player->getSkullType(creature)); }
  18. pasiak12

    My friend's can't join

    Default tibia client use 7171 port for login and 7172 port for joining the game. If you have only first one set/unlocked it results in being able only to see character list and connection error after login try. change gamePort = 7171 to gamePort = 7172 also make sure you have unlocked...
  19. pasiak12

    Is there any fast way to find item in "Noxitu"

    If you want to add NEW items, you need to generate new items.otb. Usually dat editor should do that for you. Then you can see correct item id in dat editor. Sprite ids are only used by dat file inside.
  20. pasiak12

    Is there any fast way to find item in "Noxitu"

    So if you finally found that item in dat file you should be able to replace the graphic. Seems like it's object builder error. You cna try to use noxitu sprite editor and just swap the graphics manually.
Back
Top