• 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

    Need key value list for setAttr function

    so basically I can set, attack, extraatk, def, extradef, armor and what more? I would really like to know what I can edit to make things easier
  2. Paulix

    Need key value list for setAttr function

    Where can I find key values for the function doItemSetAttribute(uid, key, value). I'm using tfs 0.4.3, did some tests with maxhealthpercent, manaShield, suppresshaste but no success. Can someone tell me where to find it on libs, send me a list or link me to a guide. I couldn't find anything on...
  3. Paulix

    Average hits per second (Counting hits)

    looks like my server dont have this function
  4. Paulix

    Average hits per second (Counting hits)

    here is the code I made based on what Xikini said function onUseWeapon(cid, var) local avg = 0.000 local attime = os.time() local oltime = getCreatureStorage(cid, 50033) local hits = getCreatureStorage(cid, 50032) local blind = getCreatureStorage(cid, 50005) local chance =...
  5. Paulix

    Average hits per second (Counting hits)

    I had to add the red parts cause count doesnt exist on code, but it still returning some kind of error on this line: counting.attackCount = counting.attackCount + 1 -- increase attack count since it's not time to show the average yet attempt to perform arithmetic on field 'attackCount' (a nil...
  6. Paulix

    Average hits per second (Counting hits)

    yeah, but how can I count exactly 15 seconds? since I cant check if player attacked on beggining or end of a second
  7. Paulix

    Average hits per second (Counting hits)

    I'm trying to create a weapon to count how many attacks per second the player can deal using it, but since os.time() only return seconds, I dont know exactly what to do, can someone help me? Idk the tfs version, but tibia version is 8.6, but im not new in proggraming, just a rude idea would help...
  8. Paulix

    How do I make an item "countable"?

    edit your items.dat and items.otb and toggle on the flag "stackable" on the item you want
  9. Paulix

    [Lua] How do I get the answer that I gave to the NPC?

    why dont you just make a script for this npc and thread like that if msg == "creature_name" then here is a example of a bless npc I made a couple weeks ago http://kl1p.com/newbless
  10. Paulix

    [Tibia.dat/spr] How to add custom effects?

    did you tested with /z or tried to set a spell to use the new effect number? is possible that /z "talkaction" is limited to a certain number to not crash your client you would need to test it on a spell/weapon or edit talkactions/sources to grant you the access to effects beyond the default limit
  11. Paulix

    Windows Skills get very slow at low levels.

    to take a note, default values for knight sword is 1.1 and for knight ml is 3.0 basically you need this value is how much exp you need from one level to another, meaning that 3.0 you need 3 times more exp than the previous level
  12. Paulix

    increaseMagicPercent don't work

    the value 25 represents 25% of his ml since 100 is like 100%, to increase in 25% you need to use 125 as value
  13. Paulix

    Lua Npc bug

    i have the exact same error on tfs 0.4 it happens when players talk to npc, open trade window and then run away without closing/saying bye here is my thread: https://otland.net/threads/npc-error.241118/ and here is npchandler.lua http://pastebin.ca/3387126
  14. Paulix

    Advanced Tibia client editing - how to?

    there is a client called OTClient that is open source and everything can be edited
  15. Paulix

    NPC error

    [3/3/2016 18:35:2] [Error - NpcScript Interface] [3/3/2016 18:35:2] (Unknown script file) [3/3/2016 18:35:2] Description: [3/3/2016 18:35:2] attempt to call a nil value [3/3/2016 18:35:2] stack traceback: [3/3/2016 18:35:2] [C]: in function 'closeShopWindow' [3/3/2016 18:35:2]...
  16. Paulix

    spell with onTargetTile

    hello, recently im working on this old spell of my server local acombat = createCombatObject() local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat...
  17. Paulix

    Need Command Script

    is your god player_id 5 or 6?
  18. Paulix

    custom condition param values?

    omg hahaha i'll give a try at this, but im not sure if i'll use it cause its kinda hard to use what you cant understand thank you anyway
  19. Paulix

    custom condition param values?

    no idea what it is :P
  20. Paulix

    custom condition param values?

    i would have to change storage values on exana pox spell and antidote rune to make it viable, also i think i'll have some problem if player dies cause the storage will not be back to normal
Back
Top