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

    C++ tfs 1.2 change code part

    Used code. health = healthMax; mana = manaMax; templePosition = Position(33489, 31784, 7) g_game.internalTeleport(this, templePosition, true); g_game.addCreatureHealth(this); onThink(EVENT_CREATURE_THINK_INTERVAL); onIdleStatus()...
  2. J

    C++ tfs 1.2 change code part

    Thanks, I will try
  3. J

    C++ tfs 1.2 change code part

    Up
  4. J

    C++ tfs 1.2 change code part

    health = healthMax; mana = manaMax; g_game.internalTeleport(this, getTemplePosition(), true); g_game.addCreatureHealth(this); onThink(EVENT_CREATURE_THINK_INTERVAL); onIdleStatus(); sendStats(); } } getTemplePosition how can i change...
  5. J

    C++ TFS 1.2 I need help in this code

    I got a error compilling my current code after modification void Player::death(Creature* lastHitCreature) { const Tile* playerTile = getTile(); if (playerTile && playerTile->hasFlag(TILESTATE_NOPVPZONE) { loginPosition = Position(2002, 1000, 7); } else {...
  6. J

    C++ TFS 1.2 I need help in this code

    Perfect
  7. J

    C++ TFS 1.2 I need help in this code

    Hello Ramirow, no... i just want change the place where the player will go after death, this case a specific position only if player die in TILESTATE_NOPVPZONE.
  8. J

    C++ TFS 1.2 I need help in this code

    My code of creature death in Player.cpp void Player::death(Creature* lastHitCreature) { loginPosition = town->getTemplePosition(); if (skillLoss) { //Magic level loss uint64_t sumMana = 0; uint64_t lostMana = 0; //sum up all the mana for...
  9. J

    C++ Help TFS 1.2

    I already have this code in sources, is working... my problem is when i push a height item for other floor .z theys are stacking
  10. J

    Programmer Looking for smart c++ programmer TFS 1.2

    Im looking programmer to do this task Monsters behavior, walk in fields, ignore fields like the video... Send me inbox here, i can talk more of task details. Important, i use Paypal for payment ☺
  11. J

    Programmer Monster walkeable Fields AI - Only Pro's

    Im looking too someone to do this system on tfs 1.2 .
  12. J

    C++ Help TFS 1.2

    Tile.h int16_t getHeight() const; Where can i register this on Tile.h?
  13. J

    C++ Help TFS 1.2

    Im trying with this code to block height items stack when i try move theys one floor to the other... I'll try to explain my problem with 2 imagens. This is actually in my server Imgur now i can stack height items when i use stairs and holes for example what i need? and trying to do Imgur i...
  14. J

    Programmer Freelancer - Lua, C++ and more

    In this case, for example if i attack a creature with fire bomb, creature will ignore field? And other case, when the player attack the creature like this movie, player out of firebomb fields, and back on firebomb, creature will ignore field again? Or need attack again the creature?
  15. J

    TFS 1.X+ problem with my shovel script

    Thanks so much
  16. J

    TFS 1.X+ problem with my shovel script

    Hello guys, my shovel is working on "items" on the floor, i can use shovel in items. Screenshot of my problem Imgur Well... how could add a function to "return false" if have a item on the ground? This is my script function onUse(player, item, fromPosition, target, toPosition)...
  17. J

    Script reset storage [TFS 1.2]

    How can i do a script to reset a player with xxx,x storage after 24 houres? For example: if player have 2000,2 storage, after 24 houres change to 2000,1, this is possible?
  18. J

    Problem undead legion spell tfs 1.2

    Hello guys, someone here can help me with my spell problem? This spell is not working correctly, currently the spell only works if my character is on top of the dead creature corpse (same tile) and appear only 1 skeleton... (does nothing with the others bodies around) of my character. and is...
Back
Top