• 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

    TFS 1.X+ How to make a server open to some characters?

    Maybe you have not registered your new onLogin? Use the old one (Default path: data/creaturescripts/scripts/login.lua) and add it there. Also you need to refer to some player id. You should get the player cid in function argument. Then you should call the methods from that cid and finally...
  2. pasiak12

    TFS 1.X+ How to make a server open to some characters?

    For fast working product just do it in already existing OnLogin Lua func. If you want to keep it for long time consider creating the system in engine source (C++) and add xml/lua player name list to read.
  3. pasiak12

    How to execute script every Xsec if item is equipped

    onThink() function (creaturescripts as far I remember), check every sec (or another amount) for certain item (snake id) in player
  4. pasiak12

    Wand with color damage

    afair in the default tfs you can define the dmg color only by setting its type (fire, ice itp). The thing you want needs to be done somehow in sources
  5. pasiak12

    Programmer SysAdmin / DevOps / Software Development services

    After some partnership I can recommend Ziker works without any doubts :) Always solid and secure. Good luck!
  6. pasiak12

    TFS 1.X+ Debugging on VS TFS

    try putting config file in proper location. The default should be right into vc14 folder
  7. pasiak12

    C++ [YUROTS] EDIT SOURCE 7.6 to 7.72

    Isn't it better to use most actual tfs and run Yurots map on it? I think thats the people miss from that server, not the bugs, crashes and lack of features
  8. pasiak12

    Creating a 7.21 OT Server

    why not lower version?
  9. pasiak12

    How to increase strength of summons

    It should be able to done the same way Increase summon def: If target is summon then lower the dmg Increase summon atk: If attacker is summon, increase the dmg
  10. pasiak12

    How to increase strength of summons

    What about increase/decrease dmg in onChangeHealth func? (If monster and summon and master is player~) Can be done both through lua or cpp edit
  11. pasiak12

    [Poland] Swadiaot - Custom RPG 8.0

    To the moon!
  12. pasiak12

    C++ Damage absorb

    Try putting ur function before damage = std::min(target->getHealth(), damage); Then you will operate on raw dmg
  13. pasiak12

    C++ Damage absorb

    Yea, because I did not modify nothing there, just added my debug thougths Where have you placed that function? The dmg modifiers should be placed in some 'onChangeHealth' method in game.cpp. There you will have raw 50~ dmg, no matter how much hp player has left.
  14. pasiak12

    C++ Damage absorb

    Debug your code or just put simple printfs to check the values inside when you make test hits. Seems like it should work: //STATE: // PLAYER HP: 10 // DMG: 50 // 10% reduced dmg { double...
  15. pasiak12

    Summon that explode

    check distance between summon and target, kill itself if <=1 + ondeath script with explosion @edit hmm, can be done in 1 script, just put explosion before/after killing it
  16. pasiak12

    C++ Weapon works as shield

    You should run it and decide if it satisfy you or not :) What version are you running? Can you provide original func or better just mark your changes what you did there (in that func/the differences)? The function purpose you just pointed is getting player defense value (calculate based on...
  17. pasiak12

    Expanding Tibia client through DLL

    That host link is dead for years. Do you maybe have those files and can you upload them by any chance?
  18. pasiak12

    Lua Can you make this script shorter?

    a yeah sry my bad If it need to be random the solution I see is: draw the numbers as long theyre diffrent than {0,0}. For small amount of possible values, the table is better solution.
  19. pasiak12

    Lua Can you make this script shorter?

    maybe smth like: for i=-1,1 do for j=-1,1 do if i~=0 and j~=0 then //do ur content end end end
  20. pasiak12

    Monster maker ?

    You can edit monsters attack values in theirs xml file. For example dragon file in tfs forgottenserver/dragon.xml at master · otland/forgottenserver · GitHub the attacks part <attacks> <attack name="melee" interval="2000" min="0" max="-120" /> <attack name="fire" interval="2000"...
Back
Top