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

    Visual Studio 2015 Problem

    have stupid question can i compile new otx with visual studio 2019? i dont know how to download the 2015 version
  2. waqmaz

    Programmer Monster walkeable Fields AI - Only Pro's

    there is a function onAttacking etc, use it
  3. waqmaz

    Fix/Patch [0.3.6pl1] !disband fix

    and what does it do? clears invitations? 036 already does it
  4. waqmaz

    Programmer Monster walkeable Fields AI - Only Pro's

    I did it and it returns nothing
  5. waqmaz

    C++ Class has no member named

    The code is fine, I wrote similar one, but it doesn't work. I think the problem lies here: In tile.cpp under: MagicField* field = getFieldItem(); Add: std::cout << getFieldItem()->getDamage(); // field->getDamage(); In condition.h search for "class Condition" and under: public: Add: int32_t...
  6. waqmaz

    C++ Class has no member named

    items.h: class ItemType { private: ItemType(const ItemType& it) {} public: ItemType(); virtual ~ItemType(); bool isGroundTile() const {return (group == ITEM_GROUP_GROUND);} bool isContainer() const {return (group == ITEM_GROUP_CONTAINER);}...
  7. waqmaz

    C++ Class has no member named

    I need a function for tfs 0.3.6 to check if there a damage has been done. The function that I can use same way like: "if ( field->getDamage() == 0 ) then"
  8. waqmaz

    C++ Class has no member named

    combat: //////////////////////////////////////////////////////////////////////// // OpenTibia - an opensource roleplaying game //////////////////////////////////////////////////////////////////////// // This program is free software: you can redistribute it and/or modify // it under the terms of...
  9. waqmaz

    C++ Class has no member named

    I still get the same errors: tile.cpp: MagicField* field = getFieldItem(); if (!field || field->isBlocking(monster) || field->getDamage() == 0) { return RET_NOERROR; } CombatType_t combatType = getFieldItem()->getCombatType()...
  10. waqmaz

    C++ Class has no member named

    Hello. So I am trying t include the code from: Fix monsters walking over fields. by Mkalo · Pull Request #2207 · otland/forgottenserver to into the tfs 0.3.6 crying damson version and everything works well, except this. If I add to the combat.h int32_t getDamage() const {...
  11. waqmaz

    Programmer Monster walkeable Fields AI - Only Pro's

    no, i tried and i have problem with: combat.h: int32_t getDamage() const { const ItemType& it = items[item->getID()]; if (it.ConditionDamage) { return it.ConditionDamage->getTotalDamage(); } return 0...
  12. waqmaz

    Programmer Monster walkeable Fields AI - Only Pro's

    any ideas how to make it
  13. waqmaz

    Solved Not correct count when use items

    i love this version of engine, the best!
  14. waqmaz

    Solved Not correct count when use items

    It doesn't work with autostacking script.
  15. waqmaz

    Solved Can't move corpses

    TFS 0.X - 0.3.6 - doTransformItem on tile makes item non-moveable. I've done your script for my tfs 0.3.6 and it works fine (i haven't included stamina thing). All players can open corpse straight after dead but they still can not move the second corpse. Only the firt one.
  16. waqmaz

    TFS 0.X 0.3.6 - doTransformItem on tile makes item non-moveable.

    I use script doTransformItem(getTileItemById()) to tansfor a moveable corpse of rat with id 2813 to moveable corpse of rat with id 2814. After that the corpse with id 2814 is non-moveable in game. I tried to set its aid with function const ItemType& it =...
  17. waqmaz

    Solved Can't move corpses

    It makes items openable and without owner i already have done it to the server. i need to remove waiting time after the monster has just been killed i can not push the corpse
  18. waqmaz

    Solved Can't move corpses

    Finally got it! I had to write my own corpse system with own generated corpse onkill and own generated random chance for a loot on array onkill as well... but now i have to do 500 monsters more! I am so happy! :) - doesnt work item transformed is not moveable
  19. waqmaz

    TFS 0.X How to check which item (corpse) is no-moveable?

    My friend, I try to do moveable corpses in many diffrent ways. I even tried to set its attribute to unique id with lua function, and still doesn't work, I tried to transform body into 2014 and doesn't work. Look at the example. These two corpses (itemid 2813 and 2814 are normally moveable in...
  20. waqmaz

    TFS 0.X How to check which item (corpse) is no-moveable?

    I discovered that this happenes because some of the corpses are unmoveable. But the second rat corpse in real tibia is moveable and here it is not. how can i change id of items in remeres?
Back
Top