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

    Lua Cant figure how to teleport players when they kill creature

    Maybe just use spectator function if tfs 1.2 has it: local spec = Game.getSpectators(creature:getPosition(), false, false, 20, 20, 20, 20) if spec ~= nil then for _, s in pairs(spec) do if isPlayer(s) then // other checks...
  2. kamilcioo

    Lua Cant figure how to teleport players when they kill creature

    add in config: local config = { ['monstername'] = {needValue = 1, setValue = 2, minimumDamagePercent = 0.06, reward = { addExperience = 50, addItem = {{id = 1560, count = 1}} }, tpPosition = Position(1000, 1000, 7)...
  3. kamilcioo

    [12.4] Solteria - RPG server - discussion thread

    Bump. Fixed spells on stairs. You will not get "Not possible" again when you use wave type spells on stairs now. Rosha:
  4. kamilcioo

    TFS 1.2 Kill monster get 1 soul

    Try with 200 then instead of player:getMaxSoul()
  5. kamilcioo

    TFS 1.2 Kill monster get 1 soul

    if monster is target then if player has less than his max soul points then add player 1 soul point end end Why are you checking if target Has name? @Lopaskurwa function onKill(player, target) if target:isPlayer() or target:getMaster() then return true end...
  6. kamilcioo

    TFS 1.2 Kill monster get 1 soul

    Register onKill event and add player a soul point upon kill below max vocation soul points.
  7. kamilcioo

    [12.4] Solteria - RPG server - discussion thread

    Bump. The alpha is over and the server is in closed-beta state. Map got a huge upgrade since my last post: Many different quests has been added to questlog (some of them): All houses have max count now. Moreover you can buy and move beds as you want: Moreover the critical hit system has...
  8. kamilcioo

    [Poland] [12.4][Soltera] - [Alpha-Tests]

    Alpha is coming to the end in few days. Next phase will be a normal beta. Preview of moveable beds in the gif
  9. kamilcioo

    Lua Possible to edit /m & /i talkaction to this?

    It's doable.
  10. kamilcioo

    TFS 0.X how to define X many skills/lvls loss when player death

    Keep in mind that your current script will never reach elseif skull. Make it if.
  11. kamilcioo

    Thanatos - Discussion Thread

    They do not produce warnings, at least in the newest tfs. They exists for a reason, If you for example want to make 10 width storage tile you set the same action id to all of them instead of putting different one to each of them.
  12. kamilcioo

    Thanatos - Discussion Thread

    Duplicate aid is not na error tho
  13. kamilcioo

    Lua Possible to edit /m & /i talkaction to this?

    Game.createMonster(monsterName, position[, extended = false[, force = false]]) Description: Creates a monster. Parameters: monsterName - Name of the monster to be created position - Where do we place it? extended - Extend the range? (optional, default: false)...
  14. kamilcioo

    Lua Possible to edit /m & /i talkaction to this?

    Ofc IT wont spawn. You have to add false, true to create monster to force it since you cant create monsters on players. Btw for position i would use getClosestPosition() of player
  15. kamilcioo

    OTServBR-Global 12x console error

    From the repo.
  16. kamilcioo

    TFS 1.2 onAdvance doesnt send full message

    No.... I wrote an example. Its easy to adapt.
  17. kamilcioo

    TFS 1.2 onAdvance doesnt send full message

    Local maxLength = number of max chars you can print Local length = get length of text here Local spaces = "" For i = 1, maxLength - length do Spaces = spaces + " " End SendAnimatedText(spaces .. textYouWant) And do the same with second text, just with textYouWant .. spaces
  18. kamilcioo

    TFS 1.2 onAdvance doesnt send full message

    Make something like [Skill_club] = { texts = {"text1", "text2"}} ... And then make loop which will add spaces to start of first world depending on text length. Then second loop which will do the same but adding spaces to the end od the second word. Then print first on player pos and second on...
  19. kamilcioo

    OTServBR-Global 12x console error

    You should have IT in the migrations folder
  20. kamilcioo

    TFS 1.2 onAdvance doesnt send full message

    Not better to add spaces to texts do IT doesnt contain gaps? Like " attack" "test ". I dont think there is a tutorial for that. Sometimes its better to make easy solutions in few minutes instead of spending days trying to do IT in different way.
Back
Top