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

    adding new animation to server

    Hello ,i got problem with adding new animation to server. i follow THIS tutorial and add it to "effect",and compilate spr in currect location. i add it in source tools.cpp and const.h CONST_ME_SLASH = 176, I need to do something more? when add it to spell effect it does not show up ;/ 1.3 TFS...
  2. Nowix93

    Scripter Two little spells

    Low eng alert. Hi, I am searching for someone who can create for me two little spells. First one is more in OTC I would like that spell to penetrated monster or stop on first target. A spell is simply launching the arrow, mouse click(with a second confirmation press) , something like THIS. And...
  3. Nowix93

    getPosition in area

    TFS:1.3 Hello Everyone I would like if possible that someone help me with part of spell. i want to create something to compare tabel from Game.getSpectators() to combat area. I wrote somthing like this below i tried getPositions() too but effect the same consol attempt to call method...
  4. Nowix93

    New project - questions about programming C++ & Lua

    up another day next attempts but effect the same function stuns(p) local playerPos = p.player:getPosition() local getTargets = Game.getSpectators(playerPos, false, false, 1, 1, 1, 1) for _,target in pairs(getTargets) do if not target:isNpc() then...
  5. Nowix93

    Spell [TFS 1.X] Shove

    thx everyone now work fine, thanks for help that rly nice spell I learn many think from it :)
  6. Nowix93

    Spell [TFS 1.X] Shove

    @oen432 what you mean update where there is function getnextposito, what i need to do im just begginer at this moment ;/
  7. Nowix93

    Spell [TFS 1.X] Shove

    @oen432 i dont know what have you change but now i can cast spell near monster but push doesnt work
  8. Nowix93

    Spell [TFS 1.X] Shove

    yes i have it ;/ i coped lib folder again today but nothing changes ;/
  9. Nowix93

    Spell [TFS 1.X] Shove

    thats the point that I dont change anything so its weird
  10. Nowix93

    Spell [TFS 1.X] Shove

    hello its me again i dont focus on this spell before but now i whant check something and i found (just print it) problem in consol table: 0x20bf2cf0 getTargets table: 0x2beccc88 playerPos 5 playerDir table: 0x30cd0a68 targetPos nil nextPos Lua Script Error: [Spell...
  11. Nowix93

    New project - questions about programming C++ & Lua

    what I have to do to make this fragment work? Can someone help me with it i tried everything but i dont to how to do it ;/ -- if Player then /2 function stuns(p) for y, _ in ipairs(area) do p.combat[y]:addCondition(stun) if p.player:isPlayer() then...
  12. Nowix93

    New project - questions about programming C++ & Lua

    Hello everyone today i have two questions about ~my spell 1) i have problem with hit position in area, when set like this {0, 1, 0} {0, 2, 0} {0, 0, 0} so i want hit something in front of me but it's look like that i dont know why ;x ofc i can just use 3 in here but it doesnt solve my...
  13. Nowix93

    New project - questions about programming C++ & Lua

    solved at this moment project stil open ofc :)
  14. Nowix93

    New project - questions about programming C++ & Lua

    i understand some of my mistake and try a lot other option but nothing work. i finish today with this part, it's probably closest think what i want in consol attempt to index global 'creature' (a nil value) so someone can tell me how i can get it? i try many think and what you can see in...
  15. Nowix93

    New project - questions about programming C++ & Lua

    someone know how to set up this direction? i try many options like local cDir = { [DIRECTION_NORTH] = area0, [DIRECTION_EAST] = area1, [DIRECTION_SOUTH] = area2, [DIRECTION_WEST] = area3 } creature:getPosition():combat():setArea(cDir[creature:getDirection()]) in consol...
  16. Nowix93

    New project - questions about programming C++ & Lua

    @Delusion thx i read a little about bitwise shift but its to early for me to know how to use it. so to the second question i want this little wave(animation and dmg) be in the front from player, i mean when im turn north dmg is from above player \/ this is first version before i try use more...
  17. Nowix93

    New project - questions about programming C++ & Lua

    [TFS 1.3] Hello OTpeople, I start my ot projekt and i will have probably a lot of questions. Ofc i will use before ask "search" but when it doesnt help i will ask in this topic :) i learning form 2 month c++ for this and now i start with lua too, i know its nothing but step by step so i start...
  18. Nowix93

    Spell [TFS 1.X] Shove

    Maybe someone have idea why is it like that, i tried it on clear TSF 1.3 but errer stil the same ;/
  19. Nowix93

    Spell [TFS 1.X] Shove

    still the same error ;/
  20. Nowix93

    Spell [TFS 1.X] Shove

    i add it after local nextPos = Position(targetPos):getNextPosition(playerDir, 1) -- Tile to push to i dont have this parametrs, in consol still only the same error ;/ i look the same but i have now error in line with print(Tile(nextPos):hasProperty(CONST_PROP_BLOCKSOLID))
Back
Top