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

    Help with attribute of IncreaseMagicPercent

    Hey guys, good night, good morning or good afternoon! I'm Brazilian and I'm using google translator. So guys, I would like some help from you. I'm using nekiro's tfs 1.5, downgrade 8.0 to use as base for my 7.92 server. In this version, there is an attribute on the item called...
  2. kaincer

    C++ [src] Angles of the block missiles

    Hello, good afternoon. Nekiro 1.5 downgrade 8.0 I think I have a problem in c++ with respect to the angles of the block missiles I rule out that it is the .dat because the "block Missiles" is selected. How can I make the angles of attack more restricted? At some angles it should return...
  3. Yan18

    TFS 1.X+ [TFS 1.3] Doubt in a verification inside the function combatChangeHealth from game.cpp

    Hello there I have a doubt in the following verification inside the function Game::combatChangeHealth from game.cpp: if (damage.origin != ORIGIN_NONE) { const auto& events = target->getCreatureEvents(CREATURE_EVENT_HEALTHCHANGE); if (!events.empty())...
  4. Addams

    C++ Life leech chance using decimal numbers

    TFS version: 1.4.2 How can I make chance accepts decimal numbers? I am trying to use from 0.1, 0.2, 0.02, 5, 7, 30, etc.. and up to 100 like it is. I tried to divine chance / 1.0 and then multiply it below * 1.0 but that didn't work. if (casterPlayer->getHealth() < casterPlayer->getMaxHealth())...
  5. Manigold

    TFS 1.X+ Help with protocollogin piece of code tfs 1.2

    I am trying to convert some old code from a multiworld system to tfs 1.2, but I am stuck at the last part. I tried all day but every attempt resulted in the client crashing. It is only the protocollogin.cpp part that is very different from the one I am using(mine don't have addWorldInfo...
  6. Sarah Wesker

    Feature [TFS 1.5] Talkaction on/off Old Magic Wall

    Changes: Old Magic Wall Talkaction Go to your config.lua and set the clientId of the wall you want to change: magicWallId = 2129 -- magic wall Add the clientId of the old magic wall: oldMagicWallId = XXXX You can change the storage value where the ON / OFF state of the command will be saved...
  7. Obito

    Custom Memory Allocation in C++

    Is it possible to implement a custom memory allocator in C++ that performs better than the default allocator provided by the standard library, in terms of both speed and memory efficiency, and if so, how might this be done?
  8. Error 502

    C++ change your stats percent // Points

    1.5 Nekiro downgrade. I don't have much experience in C++. I come to ask how to do an IF function without dying trying xd I want to know if the way of coding in c++ is correct, especially the storage Context: how to change the way to display HP and mana according to storage , changing them...
  9. K

    Add more attributes in doItemSetAttribute

    *I'm using tfs 0.X (0.4 or 0.6) *Client 8.60 I would like to know how I can add more attributes to doItemSetAttribute, for example: doItemSetAttribute(item, "maxhealth", 300) doItemSetAttribute(item, "maxmana", 700) doItemSetAttribute(item, "speed", 300) doItemSetAttribute(item...
  10. D

    TFS 1.3 8.6 MOUNT SYSTEM

    Hello, I'm looking to use the tfs 1.3 downgrade 8.6 mount system I already have a sprite added for testing, but when I use outfit.lookMount = ID it doesn't work. Can anyone shed some light on how to resolve this?
  11. F

    Downgrading TFS 1.2

    Hello, I'm downgrading tfs version 1.2(10x) to 854, I have no errors in my client's terminal and no errors in my server's terminal, the client is just "Connecting to the game server...", I changed the settings .cpp, protocollogin.cpp and items.cpp, I'm out of errors and out of ideas to follow...
  12. 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.
  13. 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...
  14. El Man

    TFS 0.X Monsters looking ahead

    When startup server all monster looking ahead like . How i fix it.? TFS 0.4
  15. 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
  16. 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?
  17. 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
  18. 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...
  19. 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...
  20. 1

    C++ Cast Sort By Viewers

    delete it... i dont know how to delete :(
Back
Top