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

    TFS 0.X How to check which item (corpse) is no-moveable?

    this is wrong answer. second corpse (after first is decayed) is non-moveable. following hte third one is moveable, check it
  2. waqmaz

    TFS 0.X How to check which item (corpse) is no-moveable?

    okay, thanks. and do you know if it is possible to remove 10 second waiting time to move the corpse? I already changed non-moveable corpse to moveable, but the next one which appears is non-moveable again. I need to remove this 10 second to wait.
  3. waqmaz

    TFS 0.X How to check which item (corpse) is no-moveable?

    After 3 days and 5 hours of searching for that, I totally give up. Corpses of my monsters are non-moveable. I want to change them all as moveable by default. How can I do it or where can I find it? I use source 0.3.6 Thank you. /edit looks like it's client side. checked objectbuilder...
  4. waqmaz

    Solved Can't move corpses

    Thank you for sharing with us your script, but this is not what I need. The solution you gave us, I already did to my server. The problem is that I am starting to believe that 10 first seconds of unmoveable corpse is client side... For the hell, can not find it in the server ot there are mixed...
  5. waqmaz

    Solved Can't move corpses

    I am sorry, but your solution doesn't work. You can move only first corpse (2013), but if it is decayed, then you can not move the next one (2014). Look for the example of rat: This is the id of main corpse, which should be set in monsters/rat.xml: <item id="5964" article="a" name="dead rat">...
  6. waqmaz

    Solved Can't move corpses

    hey how did you fix the problem? why didnt you post the solution?
  7. waqmaz

    TFS 0.X Compilation of TFS 0.3.6 using 64 bit Windows 10

    Is it possible to compile TFS 0.3.6 using 64 bit Windows 10? Is it better to compile using microsoft visual c++ or dev-c++? And why? Where can I find all the required libraries to compile TFS 0.3.6 under windows 10?
  8. waqmaz

    Compiling Can't find project for Cryingdamson 0.3.6 V8.2

    thank you, but the problem is that MSVS doesn't see this filem when I try to open project
  9. waqmaz

    Solved Gate of expertise High Exp

    if getPlayerExperience(cid) >= 150000 then // ur code end
  10. waqmaz

    Compiling Can't find project for Cryingdamson 0.3.6 V8.2

    Hi, I downloaded Cryingdamson 0.3.6 V8.2 source version and I want to compile it, using MSVS 10 Express, but MSVS can't find project in dev-cpp folder. How can I get a project? I use this tutorial [Compiling]MSVC - Compiling TFS under Windows - EASY WAY! Imgur: The most awesome images on the...
  11. waqmaz

    [Archived] "[Quick Showoff] Post your latest maps"

    Just a sample of Asgaard OTS fragger battle. It's still under construction.
  12. waqmaz

    Lua [TFS 0.3.6] What is the best way to check if player stand 1 square to you?

    So sorry, it is in data/lib/032-position.lua. I haven't noticed that before, thank, but R. Tavares is the one who has just really helped me. Do you maybe know how to check the execution time job ? I want to print seconds which were needed to execute these functions.
  13. waqmaz

    Lua [TFS 0.3.6] What is the best way to check if player stand 1 square to you?

    These 2 versions are the same, which is the fastest (I wonder): 1. local myPos = getCreaturePosition(cid) local targetPos = getCreaturePosition(target) if myPos.x == targetPos.x+1 or myPos.x == targetPos.x-1 or myPos.y == targetPos.y+1 or...
  14. waqmaz

    Lua [TFS 0.3.6] What is the best way to check if player stand 1 square to you?

    No, I own target ID. I've edited my post, look on example. So I need to do: if getDistanceBetween(getCreaturePosition(cid), getCreaturePosition(target)) == 1 then ??? cool, it works, thank, men
  15. waqmaz

    Lua [TFS 0.3.6] What is the best way to check if player stand 1 square to you?

    What is the best way to check if player stand next to you? It doesn't need to be head to head, just one square to you. I need it, because I've done a new spell in lua and that spell works in every range, and it is for a knight, so it should be in 0 range. There are some functions...
  16. waqmaz

    Auto regeneration

    I haven't really got you. Parameters are global.
  17. waqmaz

    Auto regeneration

    Promoted vocations are numbers 5,6,7 and 8. it means that vocation 1 with promotion 1 is vocation 5 in xml, vocation 2 with promotion 1 is vocation in xml6, vocation 3 vith promotion 1 is vocation in xml 7 and vocation 4 with promotion 1 is vocation in xml 8. Database stores vocations always...
  18. waqmaz

    Lua How to store a function inside a variable for future purpose? It returns nil. :(

    Men, I've lost my mind again... It keeps saying: Why? slotLeft = getPlayerSlotItem(cid, CONST_SLOT_LEFT) if msgcontains(msg, 'white') then attackBefore = getItemAttribute(slotLeft.uid, 'attack') if attackBefore then print('attackBefore')...
  19. waqmaz

    Lua How to store a function inside a variable for future purpose? It returns nil. :(

    How to store a function inside a variable for future purpose? It returns nil. :( attackBefore = getItemAttribute(item.uid, 'attack') attackAfter = 1 doItemSetAttribute(item.uid, 'attack', attackAfter) print('Attack changed from '..attackBefore..' to '..attackAfter) I gives:
  20. waqmaz

    Auto regeneration

    I am wondering elseif is faster than a for loop I've added that you can't regenerate while fighting
Back
Top