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

    TFS 1.X+ Looktype Bug's [tfs 1.2]

    can you upload your luascript.cpp? maybe here is limitation straight in function about setOutfit and set outfit condition.
  2. D

    Lua [TFS 1.4] Spell Spell "straight" or "straw"

    create combats for each direction, and in main function check this direction to detect which combat shouldbe executed, the func about getting direction its something like creature:getDirection() if not, check the luascript.cpp
  3. D

    Lua Write a sequence on lever press

    Update @Xikini says that you must have doing something wrong, because code from @Xikini work as default as you mentioned and you need help, so make sure your changes in whole system are correct. to make sure you are using correct script from @Xikini have a look at this post. Lua - Xikini's...
  4. D

    Lua Write a sequence on lever press

    okay, first of all you need to declare which lever is first, second etc, easiest way its iterate from position table from first to the last one, and here you have 2 method's use customAttribute to save which lever its first, second etc or just set them in table based which iterate has id...
  5. D

    TFS 1.X+ Looktype Bug's [tfs 1.2]

    give a try to edit in database looktype to 297 (just to confirm thats server limitation, it can be any character [make sure its logged of due of edits in database], as i know tfs 1.2 returns looktype 65535 as maximum (its 16_t) not 8_t (where maximum its 250) anyway, its for original 1.2...
  6. D

    How to modify/register items Classification on Canary

    i think default item classification and tier its located in asets, use asets editor
  7. D

    Error In create Character with MyAcc

    !ajuda fuck it, let's ignore post from @slaw (The owner MyACC project)
  8. D

    Lua [Canary] NPC with Daily / weekly.

    Of course its possible.
  9. D

    Lua Different Critical effect on vocation id

    you would need to move whole function about critical hit to lua, its already in game.cpp or combat.cpp, using onHealthChange event from lua its the last option that you want to use when you wanna increase / decrease damage value.
  10. D

    Lua Different Critical effect on vocation id

    its not a full working solution code, its more like hint how it should look +/-
  11. D

    problem with item

    change player:removeItem(ITEM_ID, 1) to item:remove(1)
  12. D

    Armor all profession

    hard edit in c++ to ignore this, or just data/movements/movements.xml find item id for example for knight armor and remove the required things like level, vocation.
  13. D

    Problem after adding market/inbox

    xxxxx useless wrong info - can be deleted, sorry.
  14. D

    Problem after adding market/inbox

    try compare container struct
  15. D

    Tower, waves of monsters.

    1. make sure onDeath event executed. 2. dump all your tables and check if its clearing properly the creatures when they are dying
  16. D

    Block MC with same IP

    @Stanos Your code looping all players that are currently online, every fucking single player that loggin in server trigger this loop, and later ppl crying "i have 10 players and my vps cant hold it." @Perun You are 100% right.
  17. D

    Lua Different Critical effect on vocation id

    player.h: uint_32t criticalEffect = 0; void setCriticalEffect(uint32_t value) { criticalEffect = value; } uint32_t getCriticalEffect() { return criticalEffect; } then just register it in lua, make a script where player first time login that will use above function for example...
  18. D

    Block MC with same IP

    thats totally wrong code.
  19. D

    Outfits dont displayed on MyAAC

    full custom supposed to be added manualy no?
  20. D

    TFS 1.X+ attempt to call field 'getResult' (a nil value)

    bellow local q = db.getResult('SELECT name FROM players WHERE name=' .. db.escapeString(name) .. ' LIMIT 1'), nil add: if not q then return false end
Back
Top