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

    Historia - Tibia 6.4/7.72/8.6 Announcement

    Really nice ! I'm working on such custom things but on newer server :). Can't wait for more updates :).
  2. M

    Lua Critical Damage

    Hello i wanna make some critical damage passive spell. To do that i need to get first what damage player will deal on next attack and then add to it like 3%,6% of this damage value and then character attacks normally but with that critical add value. It should look like : 1. Script checks that...
  3. M

    Solved Burning arrow spell

    It works ! Thank you sooooo much :D.
  4. M

    Solved Burning arrow spell

    Okay i wrote script but it does not work properly (as always) ;d. Here is it: local skill_level = getPlayerStorageValue(cid, 9002) local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat...
  5. M

    Solved Burning arrow spell

    Okay i have in LUA_FUNCTIONS something like this: setConditionParam(condition, key, value) But where is a list of possible conditions for this function ? And I am checking other spells, scripts etc to get my own, but when you're beginner and wanna make something more advanced you can get...
  6. M

    Solved Burning arrow spell

    Thank you ! I love you guys for your support and help :). Maybe there is some site or tutorial with all commands/functions/paramaters like this ? setConditionParam(condition, CONDITION_PARAM_DELAYED, 1),addDamageCondition with explanations, or at least list of all possible functions and...
  7. M

    Solved Burning arrow spell

    Hello It's me again ;). I wanna make spell that will shoot some projectile into enemy and make him burn for some time and some damage, like walk into fire field but without firefield. Like I'm attacking an Orc, I'm casting "Burning Arrow!" - some animation appears and Orc start to burn 10 damage...
  8. M

    Lua Shoot range

    Yes it works !! I changed item.shootRange to "shootrange" and it started to work ! Thank you very much ! I don't have words to describe how grateful I am for your help :)
  9. M

    Lua Shoot range

    Bump!
  10. M

    Lua Shoot range

    Hello i made this script for custom passive spell that make player who have it to add shootrange to bow: function onEquip(cid, item, slot, uid) local skill_level = getPlayerStorageValue(cid, 9000) local original_item_range = getItemInfo(item.itemid).shootRange...
  11. M

    Abyssal Knowledge a new full custom RPG server

    Wow ! I really like your project ! I read your earlier post and it seems to be most advanced class system i ever seen on Ots. I'm really curious how you will make it. I'm looking forward for next updates :).
  12. M

    Solved onLook function

    Ok thank you ! It worked with local shootrange = getItemAttribute(item.uid, shootrange) Im very thankful for your help and support, without you I couldn't go so fast forward with scripting :).
  13. M

    Solved onLook function

    Ok i had to register it in Login.lua script - registerCreatureEvent(cid, "test") But now when I try to look on that bow i got an error in server console - script look like this: function onLook(cid, item, position, distance) if(item.itemid == 2456) then local shootrange =...
  14. M

    Solved onLook function

    Where i have to register it ? I just registered it in actions.xml <action itemid="2456" event="script" value="custom/test.lua"/>
  15. M

    Solved onLook function

    Hello It's again me ! I have question about onLook function in tfs. I wrote such script function onLook(cid, item, position, distance) if(item.itemid == 2456) then local shootrange = getItemAttribute(item.uid, shootRange) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Bow...
  16. M

    Lua Calling variable from other script

    OK i made it work !! Omg I'm so happy ! But i still have doubts how to make some player fully invisible - like GM can enter ghost mode in tfs - let other players enter it by using some spell. I can make my own access like some character class have his own access for example access = 7?
  17. M

    Lua Calling variable from other script

    Ok i got how to do it ! I have another question - I wanna make spell that assasin class become completly invisible - like GM. There is function /ghost for gm to make him invisible, there is a way to write script that will use it somehow ?
  18. M

    Lua Calling variable from other script

    Ok my script looks now like this: function onEquip(cid, item, slot, uid) local skill_level = getPlayerStorageValue(cid, 9000) local original_item_range = getItemShootRange(item.itemid) setPlayerStorageValue(cid,9001,original_item_range) if item.itemid == 2456 then if skill_level == 1 then...
  19. M

    Lua Calling variable from other script

    I did it not in movement folder i put that script in action folder. Okay so if i put it in movement folder and register it in movements.xml what slot i have to write ? I only see ring, feet etc. I dont see any slot like weapon or right hand or left hand. <movevent type="DeEquip" itemid="8904"...
  20. M

    Lua Calling variable from other script

    I have another question - can I use function onEquip(cid, item, slot) and function onDeEquip(cid, item, slot) inside action scripts ? I mean i wanna make action script for a bow when someone equip it it will change player storage value to 1 and when he deequip it that storage value will change...
Back
Top