• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Paulix

    TFS 1.X+ Convert Flag value to enum from getSlotPosition()

    Isn't there a way to convert flags to int? it would be much easier than having to compile again
  2. Paulix

    TFS 1.X+ Convert Flag value to enum from getSlotPosition()

    I'm using nekiro downgrade from 1.5, dont have those functions
  3. Paulix

    TFS 1.X+ Convert Flag value to enum from getSlotPosition()

    Hello, I'm trying to check if an item can be use on slots 1, 4, 7, 8, 12 (Head, Armor, Legs, Feet or Hands) Enums on src looks like this... enum slots_t : uint8_t { CONST_SLOT_WHEREEVER = 0, CONST_SLOT_HEAD = 1, CONST_SLOT_NECKLACE = 2, CONST_SLOT_BACKPACK = 3...
  4. Paulix

    TFS 1.X+ Creature challenging player

    bump
  5. Paulix

    TFS 1.X+ Spells caster for porcent of life. (Boss)

    the idea is to get half hp by diving it by 2, but it was getting the actual health, not max try this one -- FIRST SPELL TO CAST -- local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)...
  6. Paulix

    TFS 1.X+ Spells caster for porcent of life. (Boss)

    the "onCastSpell" function can be as simple as this... function onCastSpell(creature, variant) if creature:getHealth() <= math.floor(creature:getHealth() / 2) then return combat2:execute(creature, variant) else return combat:execute(creature, variant) end end
  7. Paulix

    TFS 1.X+ Creature challenging player

    bump
  8. Paulix

    Lua If Empty Slot then do (something)

    alright let me explain your "problem" so you can keep your own script... by using local quiver = creature:getItemById(13260) you're getting any item (not only equiped one) to add your arrow you should get the equiped quiver using creature:getSlotItem(CONST_SLOT_AMMO) and then compare the id...
  9. Paulix

    Magic level dont work

    if you changed your vocations maglevel value, the characters need to die in order to fix to the new value
  10. Paulix

    Lua If Empty Slot then do (something)

    I quickly edited your script to make it work like you want, I didn't test it, so tell me if you find any problems... you can edit lines 11 and 19 to make whatever you want local quivers = { [13260] = {amount=15}, [13262] = {amount=20}, [13259] = {amount=30} } function...
  11. Paulix

    TFS 1.X+ Creature challenging player

    I'm currently using TFS 1.5 downgraded to 8.6, I'm trying to create a creature that pulls the player target to make it attack itself. I created a simple spell that changes the target using setTarget, and it works, but the "red square" that indicates who the player is attacking isn't updating...
  12. Paulix

    TFS 1.X+ nekiro tfs 1.5 - exchange the item on the floor for the item in the hand

    I'm also interested in this, looks like you can already swap items if they're inside your backpack, it will probably need to edit sources, it might be something related to cylinders, but I've no idea how to fix
  13. Paulix

    TFS 1.5 8.6 downgrade randomly crashing

    my distro is pretty close to the github one, I started to edit a few weeks ago, and just made some core adjustments and added a few items atm, no events besides the one that comes with the server. Could it be that server is losing connection to the database somehow cause of windows? maybe...
  14. Paulix

    TFS 1.5 8.6 downgrade randomly crashing

    got the same error... 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\ots\TFS-1.5-Downgrades-8.60\theforgottenserver-x64.exe'. Symbols loaded. 'theforgottenserver-x64.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. 'theforgottenserver-x64.exe' (Win32): Loaded...
  15. Paulix

    TFS 1.5 8.6 downgrade randomly crashing

    I'm hosting it on windows 10 64bits, pretty good machine with plenty of resources available, my server crashes 0-3 times a day without errors on console... the server saves before closing which means that isnt a critical failure. I tried to use visual studio to check whats happening, but didn't...
  16. Paulix

    TFS 1.X+ TFS 1.5 Nekiro, talkactions

    set your account type to 6 on database, this server uses a system with player groups and account types to manage permissions and accesses
  17. Paulix

    TFS 1.X+ Inconsistent conditions, doesn't apply properly

    I recently migrated from 0.4 to 1.5 (Nekiro downgrade), and I'm having some problems trying to make spells and weapons that apply damage conditions. Tried the following methods: combat:addCondition(condition) Creature:addDamageCondition(target, type, list, damage, period, rounds) also tried to...
  18. Paulix

    Feature True dual wielding for TFS 1.x

    I manage to compile without errors, but my weapon hit isn't alternating
  19. Paulix

    TFS 1.X+ combat:execute with targets from getSpectators

    Solved, here is the solution combat:execute(cid, Variant(alt_targets[i].uid))
Back
Top