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

    Lua Looking for any trap script

    Nop didnt worked, same error
  2. Tbol

    Lua Looking for any trap script

    Lua Script Error: [Event Interface] data/events/scripts/creature.lua:Creature@onTargetCombat data/events/scripts/creature.lua:32: attempt to index local 'self' (a nil value) stack traceback: [C]: in function '__index' data/events/scripts/creature.lua:32: in function...
  3. Tbol

    Lua Looking for any trap script

    exactly what you shared in image of original tibia would work perfectly fine. Aswell though about idea of missle that loops up and down but probably not doable that easily
  4. Tbol

    Lua Looking for any trap script

    Yea stuff like that would do perfectly aswell
  5. Tbol

    Lua Looking for any trap script

    Hello does anyone would like to share any simple trap skills that kills instantly if they step on it, for example i got in mind something like this Basically a effect or missle or any object that goes up and down if you touch it you die, so basically you have to cross it without touching it
  6. Tbol

    Question about OTCV8 Client (Modules removal)

    great release
  7. Tbol

    Lua Different Critical effect on vocation id

    I think i better gonna use vocation check and sending effect trough source, but with my code for some reason its not sending any effect only the text void Player::sendCritical(const Creature* target) const { uint32_t effectId = 10; // Default magic effect switch (getVocationId()) {...
  8. Tbol

    Lua Different Critical effect on vocation id

    Something is not adding up with the code you sent. Doesnt it need to be registered on hit like im doing with my code on functions \/ int32_t WeaponMelee::getElementDamage(const Player* player, const Creature* target, const Item* item) const int32_t WeaponMelee::getWeaponDamage(const Player*...
  9. Tbol

    Lua Different Critical effect on vocation id

    I tried using 'case' like you said but for some reason it didnt work. And another annoying factor doing it trough source is hella annoying to adjust it later on if i want to change the effect or something it would require entire src recompile again
  10. Tbol

    Lua Different Critical effect on vocation id

    The sendcritical is being sent like this, and it suppose to send it for everyone because alll of them have to see it, so it suppose to be like this bool Weapon::useFist(Player* player, Creature* target) { if (!Position::areInRange<1, 1>(player->getPosition(), target->getPosition())) {...
  11. Tbol

    Lua Different Critical effect on vocation id

    Still looking for it
  12. Tbol

    Lua Different Critical effect on vocation id

    So in player.cpp im using a void Player::sendCritical(const Creature* target) const { if (target) { g_game.addMagicEffect(target->getPosition(), 10); } g_game.addAnimatedText("Critical", getPosition(), TEXTCOLOR_RED); } would it be possible to achieve different critical...
  13. Tbol

    TFS 1.X+ How to Attach an Effect to a Moving Target in Code

    It has strange beheviour which if target moves it calls the effect multiple time on his moved tiles
  14. Tbol

    TFS 1.X+ How to Attach an Effect to a Moving Target in Code

    Is it possible like calculating a changed position or something? in that spell?
  15. Tbol

    TFS 1.X+ How to Attach an Effect to a Moving Target in Code

    I have a question: this code applies an effect (+/-) only when sendDistanceEffect reaches the target, and it applies the effect to the target. However, there's an issue—if the target changes position, such as moving one tile away, the effect is displayed at the original position instead of on...
  16. Tbol

    TFS 1.2 setCreatureMetatable Crash

    The problem is that i dont know how it happens or when it happens or if its old or now crash, probably old one but wasnt triggered for a while
  17. Tbol

    TFS 1.2 setCreatureMetatable Crash

    Shit there is quite a lot of addevent scripts to find which one exactly
  18. Tbol

    TFS 1.2 setCreatureMetatable Crash

    Still havent figured it out
  19. Tbol

    TFS 1.2 setCreatureMetatable Crash

    Got this small information about crash, any suggestions what could be wrong? https://pastebin.com/BdtaqfCa
Back
Top