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

    C++ Creature CastSpell() right way

    Hello, I have this function to do Creatures cast spells, but isn't working in right way, if a monster(summon) cast a spell, the spell is damaging the player(master), if hit another player, the master don't get Skull, the master and the player that recive damage don't get Pz Locked. After search...
  2. L

    C++ getManaForNextMLevel from table

    Hello, i tried to table for magicLevel, how much mana you need spent for next magic level. my code: uint64_t Player::getManaForNextMLevel(){ uint64_t ManaForNextML[200] = { 500, 1000, 1500, 3000, 6000, 12000, 24000, }; //will...
  3. Sequax

    C++ Quiver for Nostalrius 7.7

    Hey, been trying to figure out how to get a quiver to work on Nostalrius 7.7. Here the git for the sources I'm using: GitHub I've tried looking at these two tutorials but my players.cpp doesn't match. I don't have any "ammoItem". Quiver [TFS 1.X + 0.X] Quiver for paladins - tfs1.X I don't...
  4. Lurk

    TFS 0.X hundred of onCreatureLeave messages on console

    each second there's at least 30, listing npcs and monsters, there's also "Monster: monstername not found in the friendList." [19:24:33.332] Monster: Cond Jumy not found in the friendList. [19:24:33.332] onCreatureLeave - Cond Jumy I'm trying this TFS 1.X+ - tfs 1.2 how can i create a crash log...
  5. slavi

    How to deal with common errors while compiling!

    Hey there, As the title describes, this tutorial aims to give you a background about a programming topic, which is compiling. This tutorial is targeted to people with none to beginner knowledge in programming. We'll be using visual studio. The reason behind posting this, is that most people...
  6. Lurk

    C++ tfs 0.4 crash

    so, out fo nowhere this error poped up terminate called after throwing an istance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_function_call> >' what(): call to empty boost::function I have no idea what's causing it, I'm using tfs 0.4 and...
  7. 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!
  8. 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...
  9. 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...
  10. 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)...
  11. 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.
  12. Dohko

    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...
  13. Dohko

    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...
  14. 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...
  15. 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)
  16. 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...
  17. 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...
  18. -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
  19. tekadon2

    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...
  20. Eldora

    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 :)
Back
Top