• 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!

c++

  1. Addams

    C++ Boostpercenthealing attribute by Nekiro

    I have added those attributes to TFS 1.4.2 But I have an issue that I cannot solve by myself. Attribute boostpercenthealing isn't working, That is a known bug and has an issue opened here, but it's been long enough and no one tried yet, so I decided to try finding a solution here.
  2. Addams

    C++ Boostpercentmagic attribute by Nekiro

    I have added those attributes to TFS 1.4.2 But I have an issue that I cannot solve by myself. Attribute boostpercentmagic is stacking the damage. It increases the total damage instead of the player's primary damage. Example: If I am dealing "1000 damage" and use an item that increases 20% of...
  3. El Man

    TFS 0.X Monsters looking ahead

    When startup server all monster looking ahead like . How i fix it.? TFS 0.4
  4. W

    C++ Weapon give two skills

    Hello I would like to make 1 weapon give two skills, e.g. set the weapon as a sword but give the sword and club skills. I don't really know how it works in the C ++ case Weapons.cpp Player.cpp
  5. W

    C++ Eq from skills

    Hello I'd like to make equipment from skill. Explain: an armor that we can put on only if we have 20 axe skills I don't really know where to start (in C ++ of course), in Movements.h and cpp I have a link to "ReqLevel" which I tried to change. Maybe I should start at Weapons?
  6. D

    [TFS 1.3] [8.3] [SOURCE] [CONTAINER] Container Error

    Hi, I ran into a problem that I still don't know how to solve. I'm using TFS 1.3 Downgrade 8.6 Github below. https://github.com/moviebr/baiakthunder/blob/master/src/container.cpp My server crashed and when I saw the logs I came across a problem in the source in the file container.cpp line 681
  7. kuhi

    Programmer Looking for programmer to add pathfinding to my bot

    Hello, I have an internal C++ dll that reads XY coordinates source and XY coordinates dest. Your task is to include a pathfinding algorithm that will allow me to loop it in my current code. Parameters that we must check: path->isWalkable path->isPathable I will provide access to that data...
  8. kuhi

    Programmer Reverse engineering for c++ internal learning project [paid hourly]

    Hello, I'm developing this project for learning purposes: GitHub - Kuhicop/Tibia-OpenGL-Imgui (https://github.com/Kuhicop/Tibia-OpenGL-Imgui) As sometimes I have doubts I need someone to answer my questions and show me examples. For example, now the program is crashing randomly after X...
  9. 1

    C++ Cast Sort By Viewers

    delete it... i dont know how to delete :(
  10. K

    C++ [Help] Error compiling - "Level and vocation instead of world name on character login"

    TFS 0.4 Rev3996 I found this script "Level and vocation instead of world name on character login" here on the forum, but it is giving error during compilation. As shown in the picture. Can anyone help me to solve it? Link: Fix/Patch - Level and vocation instead of world name on character login...
  11. Yan18

    C++ [TFFS 1.3 - Source] Error C2280 'spellBlock_t &spellBlock_t::operator =(const spellBlock_t &)'

    Hi folks! I need help with a error in the source, it is being headache 😂. I tried to figured out the problem at the internet, but I didn't understand the issue yet. The issue is: Console Error List: Error C2280 'spellBlock_t &spellBlock_t::operator =(const spellBlock_t &)': attempting to...
  12. El Man

    C++ monster spawn in different place not on players

    HELP ! i have problem when monster spawn he goes down in the same place where the player is standing .. all just i need when the monster comes down it descends in a different place than the place in which the player stands I turn : allowBlockSpawn = false : to spawn and there are people in...
  13. G

    [C++] Prevent generating number below 20 with function rand() twice in a row

    I execute this script every second and I do not want the message "I must be only once in a row!" to display more than once in a row. It can be displayed multiple times but never one after another one. // int x = 1; int chance = uniform_random(1, 100); if (20 <= chance)...
  14. Yan18

    C++ [TFS 1.3] - How to Get When a Monster use Melee Attack (Basic Attack) and When the Monster uses Spell in Monster.xml in Tag <attacks> from C++Source?

    Hi Guys, As the title says, how can I get in the source when a monster uses melee attack (Basic Attack) and when the monster uses a Spell attack contained in tag <attacks> in the Monster.xml ?
  15. potinho

    C++ Server respect outfits.xml

    Hello everyone, I have an OTX 2 server (TFS 0.3.7) 7.72 protocol, where I define the outfits range in the sources, as below in protocolgame.cpp: Im using OTCv8 as client. void ProtocolGame::sendOutfitWindow() { NetworkMessage_ptr msg = getOutputBuffer(); if(!msg) return...
  16. ZeroSkyer

    TFS 1.X+ Exhaust Equip c++

    Hello, currently I have exhausted the equip hotkey, now I am trying to move the exhaust for each slot since the idea is to exhaust the rings and amulets but not the equip hotkey in general but I can not do it, someone who can help me? if (player->isMoveExhausted()) {...
  17. potinho

    OTClient NPC Highlight speech blue

    You know when you put any words into "{ }" in a NPC phrase and it gets highlighted in a deeper blue? Well, I'm looking for the code that make this works. Had a look in the npc lua system and in the some sources, but haven't found anything. Could you help me deploy this on my server? It's an OTX...
  18. Jaki Maoh

    C++ Quiver system source modification attempt

    Hello Community! I was searching the forum for a way to implement a quiver system and found this post: After following the tutorial and experimenting some things here and there, I tried to make some alterations. First of all, a little modification to @Infernum 's edit, allowing to add multiple...
  19. S

    C++ How to get item ID by ClientID

    Hi, I made a script that sends the ClientID of an item to the server, so the server can send me info about the item, but i can't manage to get those informations through clientId. What i am trying to do is to convert the ClientId to ServerID, but because of my lack of experience in C++, i...
  20. cocacola13

    Have problem compilando add new scripts

    hello trying to copy the reborn system, but an error pops up during compilation [ 2%] Building CXX object CMakeFiles/tfs.dir/src/game.cpp.o /home/ots/src/game.cpp: In member function ‘bool Game::combatChangeHealth(Creature*, Creature*, CombatDamage&)’: /home/ots/src/game.cpp:3791:44: error...
Back
Top