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

    Funny moment when you are from Cyber-Security and you Catch hacker n00b :D

    So do you think you're better than everyone because you think you're a master cyber security? Go get a mental hospital man, you're like everyone in IT area.
  2. keilost

    Funny moment when you are from Cyber-Security and you Catch hacker n00b :D

    Oh man, delete this post, this is shameful.
  3. keilost

    TFS 1.X+ [TFS 1.2]creaturescript error onKill(attempt to call method 'getMonster' (a nil value))

    Try newValue = math.max(0, bossStorageValue and bossStorageValue or 0) + 1
  4. keilost

    TFS 1.X+ [TFS 1.2]creaturescript error onKill(attempt to call method 'getMonster' (a nil value))

    local bosses = { ['ushuriel'] = 200, ['zugurosh'] = 201, ['madareth'] = 202, ['latrivan'] = 203, ['golgordan'] = 203, ['annihilon'] = 204, ['hellgorak'] = 205 } function onKill(player, target) local targetMonster = Monster(target) if not targetMonster then...
  5. keilost

    TFS 1.X+ [TFS 1.2]creaturescript error onKill(attempt to call method 'getMonster' (a nil value))

    local bosses = { ['ushuriel'] = 200, ['zugurosh'] = 201, ['madareth'] = 202, ['latrivan'] = 203, ['golgordan'] = 203, ['annihilon'] = 204, ['hellgorak'] = 205 } function onKill(player, target) local targetMonster = Monster(target) if not targetMonster then...
  6. keilost

    OTS Guide - open source documentation and guide for newcomers

    I really appreciate the community for the influence they had in my life, today I graduated in IT and this choose was because I learned to enjoy programming in a fun way, playing. Thanks OTLand, you taught me that when we do what we like, it's fun to work with. But talking about the topic, I'll...
  7. keilost

    Lua Creature attacking another

    Hello, how I check if a creature is attacking another? I have to create a script that is like the skill system of player but instead of player is a monster... I can use onHealthChange but the misses will not count.
  8. keilost

    Lua [TFS 1.2] OOP Classes

    I just want a code pretty and organized Instead of create a class like this Monster/creature:petEnvolve(), i want to do this Pet:envolve(), but I was believing that extending the class would work fine the userdata... Is that right? function Pet:envolve() self = Creature(self.something) end
  9. keilost

    Lua [TFS 1.2] OOP Classes

    Why I can't execute methods? Like return Pet('Name'):getId()
  10. keilost

    Lua [TFS 1.2] OOP Classes

    Sorry, I want to extend monster and not creature hahaha... The better way to do this is in C++ or LUA?
  11. keilost

    Lua [TFS 1.2] OOP Classes

    Hello, What is the right way to create classes in LUA? I want to create a class named Pet, it extends Creature class...
  12. keilost

    C++ [TFS 1.3] Bot makes chracter freeze

    Hello, A lot of players in the otserv that I'am working is complaining about freezes (character cannot walk or do any action, just logout), it happens when he uses bot. Someone knows the solution?
  13. keilost

    C++ Delay on up/down stairs

    When I up or down the stair, a delay happens when I attack the monster (as you can see in the link). Where do I change that? http://gph.is/2qXn749
  14. keilost

    C++ Push Delay [TFS 1.3]

    Yep, but this only works to players not close if (!Position::areInRange<1, 1, 0>(movingCreatureOrigPos, player->getPosition())) { I want to change the delay when the player is close to the other player
  15. keilost

    C++ Push Delay [TFS 1.3]

    Hello, I want to change the delay of the push, but i can't find a way to that, take a look in my moveCreature function. void Game::playerMoveCreature(Player* player, Creature* movingCreature, const Position& movingCreatureOrigPos, Tile* toTile) { if (!player->canDoAction()) {...
  16. keilost

    C++ Ladder TFS 1.3 OTX

    Thx martyx, it works fine, sad because i have to clone all items again and change id in the map.. <3
  17. keilost

    C++ Ladder TFS 1.3 OTX

    Hello, When someone put an item up the stairs, nobody can use it. Follow the gif: Animated GIF - Find & Share on GIPHY My teleport action: local upFloorIds = {1386, 3678, 5543, 8599, 10035} local draw_well = 1369 function onUse(player, item, fromPosition, target, toPosition, isHotkey)...
  18. keilost

    C++ Swing TFS 1.3

    Thanks, we don't know what was the bug, but this commit works ok Fix #1319 by Mkalo · Pull Request #2109 · otland/forgottenserver · GitHub
  19. keilost

    C++ Swing TFS 1.3

  20. keilost

    C++ Swing TFS 1.3

    Hello, I followed this commit to fix the speed Fix #1319 by Mkalo · Pull Request #2109 · otland/forgottenserver · GitHub of my server and it works fine, but when I use potion the attack gets a delay, follow the gif: Animated GIF - Find & Share on GIPHY What I have to do? I can't find in the...
Back
Top