c++

  1. anyeor

    C++ Help me - crash

    Hello, When i add flag -g -fsanitize=address to my engine, i got an error: https://pastebin.com/raw/SX0EJh9L Can anybody help me how to fix it? Thanks! My game.cpp: https://pastebin.com/raw/eTVLPfxE Best regards!
  2. M

    Help I've not located - C++/LUA

    I know it's available in the forum. But I couldn't find... If you find or can do I'll be grateful I USE TFS 0.4 1 - Message before the monster sends spell ---- Like Gaz Haragoth... 2 - Monster Spell Disarm Player weapon, the weapon goes to backpack... 3 - Spell of the character It is not...
  3. P

    error in compiling the mana and life system in percentage 100/100

    Hi guys from Otland Can someone help me how do I leave mana and life percentage in TFS 0.4 of this error when I am going to compile ||=== Build: Release Windows in TheForgottenServer (compiler: GNU GCC Compiler) ===| C:\Users\Pedroh\Desktop\Genesis Baiak...
  4. L

    C++ Crash on Debian 9 iomapotbm.cpp:411:32: error: cannot convert ‘bool’ to ‘Item*’ in return

    note: this not happen on debian 7/8 gdb log: Switching to Thread 0x7ffff327b700 (LWP 1417)] 0x0000555555658547 in NpcScript::luaSelfGetPos(lua_State*) () int32_t NpcScript::luaSelfGetPos(lua_State *L){ lua_pop(L,1); Npc* mynpc = getNpc(L); lua_pushnumber(L, mynpc->pos.x)...
  5. A

    I can not install C++

    Hi I have problem with OT, I would to play in custom client but I have error 0xc00007b. Everyone says you need to update your DLLs, but I can't install C++2015... When i try i have error 0xc8000222. I have already installed other version like 2008/10/12/13 but C++2015 don't work. Please help.
  6. delita123

    C++ Problem with operator and class type tfs 1.3

    Hey friends, I need help with some bugs I'm getting when trying to compile the reward chest modifications on my server. These are the modifications : Here These are my erros when i try compile : src\iologindata.cpp(520): error C2819: type 'Database' does not have an overloaded member...
  7. delita123

    C++ Help with reward modifications

    Hey friends, I need help with some bugs I'm getting when trying to compile the reward chest modifications on my server. These are the modifications : Here These are my erros when i try compile : src\iologindata.cpp(520): error C2819: type 'Database' does not have an overloaded member...
  8. Ashtar

    ShadowRealm Hiring Experienced OTC developer

    What are we looking for? We currently look for a serious, trustworthy experienced c++, Lua programmer with proper understanding of OTC functionality with the ability of editing or developing modules, internal functions and visual features. Requierements: 1. Time availability: For us it is...
  9. L

    Programmer C++ Fix issue with the same clientid

    Hello, i have a problem i can't create 2x the same item with the same clientid example items.otb itemid= 6000 ->clientid 2160 itemid= 6001 ->clientid 2160 Issue: i can't take item from ground or equip i will pay for fix this problem Source 7.6 (otserv)
  10. dunnish

    C++ Rings/boots dossnt regain mana & hp after relog

    Hello! after i relog with soft boots or Life ring equiped its dossnt regain anymore. allways needed to take of the equipment and on again. then its working. Movement.h //////////////////////////////////////////////////////////////////////// // OpenTibia - an opensource roleplaying game...
  11. GOD Jose

    TFS 1.X+ Prefix + Name

    Hello Otlanders I'm looking the best way to implement this "prefix" for each vocation. Note: Can be applied for other things like loyalty, or some stuff to show. Example: Character Name: Demos With prefix should be Character Name: [RP] Demos This kind of prefix used to be old war...
  12. -vG

    Attack Time

    How can I increase attack time? because when the character attacks the hits are very fast How could I increase this time? TFS 0.4
  13. T

    Programmer Anderson Almeida, Developments.

    Anderson Almeida, Desenvolvimentos. I'm Anderson Almeida, I've been working for some time on Otclient systems and servers, I have a C ++ knowledge and game development, I've worked on 3 famous map projects and 4 server cryptography. Services: Optimizations in the performance of the OT...
  14. E

    OTHire

    I just want to add a loop to this, with a 1 second (1000 ms) inbetween execution. Anyone know how to do this please? g_game.addAnimatedText(Creature->getPosition(), 180, "test"); Thank you in advance :)
  15. N

    C++ [TFS 1.2/OTX 3.10] Item Sprite Classes

    [ALREADY RESOLVED]
  16. S

    Programmer Looking for a client updater

    Hi i'm looking for a good looking and professional client updater for my tibia server 10.98 pm the price
  17. bajsbajs

    Editing my website

    As stated in the title, I need help with my website. I am working on this OT server with a couple of friends which know how to do this, but they are not home and won't be able to help for a while. My question: Where in the C:/UniServerZ/... do I change this portion of the website so I can add...
  18. S

    Scripter Looking for scripter / busco scripter

    Job was completed. please close
  19. Togu

    C++ Config.lua working with .h file

    I have these functions in player.h: void updateBaseSpeed() {//CHANGED! if (!hasFlag(PlayerFlag_SetMaxSpeed)) { //baseSpeed = vocation->getBaseSpeed() + (2 * (level - 1)); baseSpeed = vocation->getBaseSpeed() + (2 * (level - 1) + 2 *...
  20. Delirium

    [C++] Asynchronous WinInet client

    Hello. I had a WinInet client wrapper which I often used in my projects. I modified it today to support both POST and GET methods along with sending your own data and all that done asynchronously. So, here's the code: AsyncInet.cpp: #include "AsyncInet.h" AsyncInet::AsyncInet() {...
Top