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

    C++ hadCondition dont read when condition have subid

    I added new condition which is called WALKLOCK I want to make it stop moving so i added inside game.cpp inside ReturnValue Game::internalMoveCreature if (creature->hasCondition(CONDITION_WALKLOCK)) { return RETURNVALUE_NOTPOSSIBLE; } And its working when i dont put subid on it but...
  2. P

    Lua spell problem with position/direction while using addevent

    I already know the solution demi said but i think it should be fixed as its pretty big bug in my opinion inside src engine Also the code with the solution is a little unpleasant to watch
  3. P

    Lua spell problem with position/direction while using addevent

    So im guessing its src related problem if yes could u post it in the tfs repo cause when i try i get an error on github
  4. P

    Lua spell problem with position/direction while using addevent

    I changed it a little cause errors but almost yes just wanted to cast the area2 3 times with dmg which even if there is not the bug is happening also local area1 = { {0, 1, 0}, {0, 1, 0}, {0, 3, 0} } local area2 = { {1, 1, 1}, {1, 1, 1}, {1, 1, 1}, {0, 0, 0}, {0...
  5. P

    Lua spell problem with position/direction while using addevent

    now it acts like this dont read the direction of the creature https://i.gyazo.com/725109665f9cc8ba4a1b7c69a5bf0580.mp4
  6. P

    Lua spell problem with position/direction while using addevent

    Hello whenever i cast a spell the area where dmg and effects are apply TFS 1.3 Gif: https://i.gyazo.com/a00e5c14d2e24f0c8a4c5d30674c695a.mp4 There is the code: local area1 = { {0, 1, 0}, {0, 1, 0}, {0, 3, 0} } local area2 = { {1, 1, 1}, {1, 1, 1}, {1, 1, 1}, {0, 0...
  7. P

    Lua Player turning towards target direction

    Thank u very much for the help but in ur solution there are still same problem like on the second screen but i got great news i figured it out so i got question could anybody review te code that i made (im pretty proud of that one :D) local function turnTowardsEnemy(creature, targetPos)...
  8. P

    Scripter Wings System with bonus attributes and OTClient module

    Something fishy is happening 🤔
  9. P

    Lua Player turning towards target direction

    i did ur idea and its working partially good but there are spots that just should turn player in better direction thats how i placed the checks but when me and my target will be in this situation the caster is turning WEST instead of NORTH just like on the screen the code i used local...
  10. P

    Lua Player turning towards target direction

    Ye thats what i am doing all the time and i always end up with a squere check i just cant figure out the diagonal check from 1 pos to another
  11. P

    Lua Player turning towards target direction

    Can somebody help me, i most likely would be able to write it my self but i just cant figure out the logic begind the positions my brain just steaming for 2 hours straight and nothing have worked so far If anybody can change exori vis to work like that: - On cast caster turning towards its...
  12. P

    Lua [TFS 1.3] Free Scripting Service 📝

    Can u modify exori vis but every time this spell will be casted the creature turns towards monster ? :D edit: or player ;p
  13. P

    problem with variable and position

    Ok i get it thank you very much for the answer ! <3
  14. P

    problem with variable and position

    local function getTargetPosition(creature) local targetPos = creature:getTarget():getPosition() print (targetPos.y) local targetNorthPos = targetPos targetNorthPos.y = targetNorthPos.y - 1 print (targetPos.y) local targetSouthPos = targetPos targetSouthPos.y =...
  15. P

    OTClient otui question

    omg i love you
  16. P

    OTClient otui question

    Hello, recently i started playing with otui and creating some custom ui but its difficult if i dont know every option that is available inside of it, so my question is where i can find all of this like anchor.left, margin.left, image-source, phantom, etc. Thank you in advance.
  17. P

    [Tool] Intellisense for tfs lua

    @Azakelis maybe this can speed up the process dont know if u have it already and if its even gonna be helpful but there it is https://snippet-generator.app/
  18. P

    Vs code qol

    Today i decided to change from notepad into vs code and i need some help from u mostly what are nice quality of life setting there and how to add autocompletion with tfs and otc functions etc. Is anybody here that can help me out with this one
  19. P

    Problem with drawing effects under creatures

    Thank you now its working like a charm
Back
Top