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

    Solved Help with corpse (onDeath) TFS 1.0

    function onDeath(player, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified) print(getContainerSize(corpse)) return true end Why does this always returns 0 ?, how i can return corpse from game ? to check size and get itens from corpse ?
  2. E

    Lua TFS 1.0 - doAreaCombatHealth Direction Bug ?

    Please Help me.
  3. E

    Lua TFS 1.0 - doAreaCombatHealth Direction Bug ?

    I Make this in my script local area = createCombatArea{ {1, 1, 1}, {1, 1, 1}, {1, 3, 1} } function onSay(player, words, param) local lvl = player:getLevel() local dmgMax = ((lvl * 5)) local dmgMin = ((dmgMax*0.90)) local position = player:getPosition()...
  4. E

    Solved TFS 1.0 - doAreaCombatHealth Direction Bug ?

    Edit: This Dont respect de "3" on my script local position = player:getPosition() position:getNextPosition(player:getDirection()) doAreaCombatHealth(player.uid, COMBAT_PHYSICALDAMAGE, position, area, -dmgMin, -dmgMax, CONST_ME_BLOCKHIT) local area = createCombatArea{ {1, 1, 1}...
  5. E

    Solved TFS 1.0 - doAreaCombatHealth Direction Bug ?

    Man Really, You Save my life :* s2
  6. E

    Solved TFS 1.0 - doAreaCombatHealth Direction Bug ?

    Hello, I'm trying to make a new spells system by talkactions, but i have one problem. Look, This is my script local area = createCombatArea{ {1, 1, 1}, {1, 3, 1} } function onSay(player, words, param) local lvl = player:getLevel() local dmgMax = ((lvl * 5)) local dmgMin...
  7. E

    Lua TFS 1.0 onChangeHealth(cid, attacker, damage)

    yes im know, but If i heal my creature this have a bug and dont send a true health.
  8. E

    Lua TFS 1.0 onChangeHealth(cid, attacker, damage)

    I made this change but nothing has changed besides the name, I need to know how to identify when my summon being attacked or healed
  9. E

    Lua TFS 1.0 onChangeHealth(cid, attacker, damage)

    Thats work, but in the client dont return the true creature health. Its have a "delay". Im try to make it print("\nCreature: ", creature, "\n", "Attacker: ", attacker, "\n", "Primaray Damage: ", primaryDamage, "\n", "Primary Type: ", primaryType, "\n", "Secondary Damage: ", secondaryDamage...
  10. E

    Lua TFS 1.0 onChangeHealth(cid, attacker, damage)

    function onChangeHealth(cid, attacker, damage) Creature(cid):addHealth(-damage) if ( Creature(cid):getMaster() ) then local sid = Player(Creature(cid):getMaster()) sid.sendExtendedOpcode(sid, 26, Creature(cid):getHealth() ) end end I make this for send health of...
  11. E

    Lua Function moveCreatureTo(cid,pos[,mindist[,maxdist]])

    It's dont works with summons, function onUse(cid, item, fromPosition, itemEx, toPosition) moveCreatureTo(getCreatureSummons(cid)[1], toPosition, 1, 1) return true end My Summon only walk 1 sqm, and isnot a correct sqm.
  12. E

    Lua TFS 1.0 itemAttribute

    Why thats dont work in TFS 1.0 doItemSetAttribute(item, "name", "Fire Devil") How i can make it work ? Anyone can help me ?
  13. E

    Windows Error on Start Server

    Please Help me with this fk erro.
  14. E

    Lua TFS 1.0 Modal Window

    Dont work, no error, and nothing... <event type="modalwindow" name="ModalWindow" script="modal.lua"/> function onModalWindow(cid, modalWindowId, buttonId, choiceId) if modalWindowId == 1 then print("You've selected the choice #" .. choiceId) end return true end...
  15. E

    Lua TFS 1.0 Modal Window

    Hello, I'm trying to use the modal window function... CreatureScripts function onModalWindow(cid, modalWindowId, buttonId, choiceId) if modalWindowId == 1 then print("You've selected the choice #" .. choiceId) end end <event type="modalwindow" name="ModalWindow"...
  16. E

    Lua TFS 1.0, GetItenAttribute Error

    Really ?, Fuu.. How i can returns corpseType now ?: <attribute key="corpseType" value="normal" />
  17. E

    Lua TFS 1.0, GetItenAttribute Error

    I wanted to return the attribute set by me, with the getAttribute function however it does not work and only returns "nil" function onUse(cid, item, itemEx, fromPosition, toPosition) Item(item.uid):setAttribute("Test", "123465") print( Item(item.uid):getAttribute("Test")) end how can...
  18. E

    Mult-Outfit System ??

    Why not make a new C++ code to Mult Outfit system ? With this is possible to make Set Outfits and Wings system, Moviments on Attack and more... Exemple: doPlayerSetHelmetOutfit(cid, Outfit) This make a new outfit on top the normal outfit, Feels like a mount system.[/code][/CENTER]
  19. E

    Windows Error on Start Server

    What is wrong ? i Already compiled the TFS 1.0 without errors but now i have it --' [ServicePort::open] Eror: bind: An attempt was made to access a socket in a way forbidden by its access permissions Bump Bump
Back
Top