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

    Get Element atk TFS 1.2

    Hi Steve, I re-write the function and get this error, Lua Script Error: [Action Interface] data/actions/scripts/uparmaselemental.lua:eek:nUse data/actions/scripts/uparmaselemental.lua:53: attempt to compare number with nil stack traceback: [C]: in function '__lt'...
  2. L

    Get Element atk TFS 1.2

    Hi all, Well im try add more damage element with weapons and no work see in bold; (TFS 1.2) i have this action script, function getItemDescriptionsById(id) local it = ItemType(id) return {attack = it.getAttack(), defense = it.getDefense(), armor = it.getArmor(), element =...
  3. L

    TFS 1.2 Outfit/Vocation

    Perfect. work to me now. Thank you.
  4. L

    TFS 1.2 Outfit/Vocation

    Well, i try with new char and get this error "attempt to call method 'getBase' (a nil value)", i I deleted it and work perfect here thanks bro. Like for you.
  5. L

    TFS 1.2 Outfit/Vocation

    Hi Apollos, i try add all steps above as you said. This step "First, set all outfits in oufits.xml to unlocked="no" besides citizen, so the player has an initial outfit. '' is ok, Next i try to configure in creaturescripts.xml <event type="login" name="outfit" script="outfit.lua" /> and at...
  6. L

    TFS 1.2 Outfit/Vocation

    Hi Guys, Someone has some script or knows some way to put outfits for vocations in tfs 1.2 thanks.
  7. L

    Outfit per Vocation tfs 1.2

    Anyone know how add outfit per vocation on tfs 1.2? I think is possible per creaturescripts, but i dont know how.
  8. L

    Double Shot Script

    Well ... this part of the script does not have a problem. It would be in verification if the player is holding the item that is in the table informed. this part; if(isInArray(Crossbows, leftHand) or isInArray(Crossbows, rightHand)) then if(isInArray(Bolts, ammoSlot)) then
  9. L

    Double Shot Script

    anyone can update this script for tfs 1.2? i try but dont work this line "if(isInArray(Crossbows, leftHand) or isInArray(Crossbows, rightHand)) then" Spell - TFS 1.1 Double Shot
  10. L

    Failed to configure event

    is it, thanks Xikini and Stigma. I realized that I could not put 2 conditions (100% res. death and -100% res holy) so I started messing with the script and rolled everything up. Its possible add 2 resist using that script?
  11. L

    Failed to configure event

    alright, i try it; in creaturescript.xml <event type="HealthChange" name="creaturescript" script="creaturescript.lua" /> in login.lua player:registerEvent("HealthChange") the spell is, function onCastSpell(creature, variant, isHotkey) local player = Player(creature)...
  12. L

    Failed to configure event

    anyone can help me? i try add this script but dont work. CreatureEvent - CreatureEvent - [TFS 1.2] Conditions: Resist, Absorb, Reflect, Deflect in creaturescript.xml try <event type="creaturescript" name="creaturescript" script="creaturescript.lua" /> and login.lua try...
  13. L

    Buff Weapons spells

    I would like a buff spell that adds elemental damage to the weapon over a certain period of time. formula (weapon attack + bonus element in 20 seconds). Server is tfs 1.2. Anyone can help?
  14. L

    CreatureEvent [TFS 1.2] Conditions: Resist, Absorb, Reflect, Deflect

    I did not understand how to put this on the server. Can anyone tell step by step please.
  15. L

    Player and Target Direction

    Vulcan, can you unify this code for me?
  16. L

    Player and Target Direction

    TFS 1.2. Thanks for help Sarah. Thanks Vulcan too. Well i have this spell for use on weapon... local combat1 = Combat() combat1:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combat1:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_DRAWBLOOD) combat1:setParameter(COMBAT_PARAM_BLOCKARMOR...
  17. L

    Player and Target Direction

    How do I check if the creature is in the [DIRECTION_SOUTHWEST], [DIRECTION_SOUTHEAST], [DIRECTION_NORTHWEST], [DIRECTION_NORTHEAST] positions of the player (cid)?
  18. L

    Spell with two Target

    Hello, I would like a script that when the player used the spell would go to 2 closer targets. Ex. Strong flame strike would target 2 at the same time. I use base tfs 1.2, anyone know?
  19. L

    item casting spells

    hastebin this is the code. Work perfect using spell... i dont know how put isso on weapon. local primeiroCombat = Combat() primeiroCombat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) primeiroCombat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_EXPLOSIONHIT)...
  20. L

    item casting spells

    i tried do with action but dont work here.
Back
Top