Jump to content
TrinityCore
Hesione

enforce peace fix in abc?

Recommended Posts

I'm having a problem with a number of factions not getting the flag "at war" in the reputation tab, and this is unable to be selected by the player. Currently, this is with The Oracles, as my character has their reputation with Frenzyheart. The problem occurs when one of two opposing factions is chosen as the positive reputation one. That said, Bloodsail Buccaneers seems to work fine.

I did a search on how to fix this, and found this on the TrinityCore issues tracker: https://github.com/TrinityCore/TrinityCore/issues/9469 (specifically https://github.com/TrinityCore/TrinityCore/issues/9469#issuecomment-78925130)

Do I just go into the ReputationManager.cpp file and edit it directly? I don't understand how the dbc/cpp files are used. Are they called by the client each time the client is started up?

I found the code for ReputationManager.cpp here: https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Reputation/ReputationMgr.cpp

I don't understand how the fix goes into this code. I can see a Git pull (push?) whereas I thought I could just edit ReputationManager.cpp directly. If so, which lines do I replace (if any)? Otherwise, where should I insert the fix?

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By calaluis
      Hello Community,
      Through this channel, I would like to report an error finding of the emulator, for which I would like to know the real cause of the error.
      I leave the screenshot of the windows server 2012 R2 event viewer.
       

      Nombre de la aplicación con errores: worldserver.exe, versión: 0.0.0.0, marca de tiempo: 0x5b14917c
      Nombre del módulo con errores: worldserver.exe, versión: 0.0.0.0, marca de tiempo: 0x5b14917c
      Código de excepción: 0xc0000005
      Desplazamiento de errores: 0x00000000014afabc
      Identificador del proceso con errores: 0xe4c
      Hora de inicio de la aplicación con errores: 0x01d406690386550f
      Ruta de acceso de la aplicación con errores: C:\WoWEmulator\worldserver.exe
      Ruta de acceso del módulo con errores: C:\WoWEmulator\worldserver.exe
      Identificador del informe: 2f24513a-7cb9-11e8-80ba-dc706f4dc3b8
      Nombre completo del paquete con errores: 
      Identificador de aplicación relativa del paquete con errores: 
      That record has left the server. Stay tuned.
       
       
       
    • By Katria
      I am currently trying to add another realm to my server.
      I have set up 2 new world and characters DB and copied SQL tables over from the first realm. I copied the first realm files (/server) and made a new folder called (/server2). I changed the worldserver.conf to new ports 8086 and added the new dbs to it. I've also tried to change the SOAP port from 7878 to 7879 and turning it off. When I turn on the worldserver for the second realm, it crashes and tells me it can't bind to port 7878 since it's in use from the first realm.
      I run auth and worldserver from the first server folder. I then try to run worldserver for the second realm and the error persists. I am running TC on latest SSL/TC core on Ubuntu 18
      ----------------------------------------------------------------------------------------------------------------------------------------------------------------
      I have also tried to cmake into the second realm folder (/server2) and I get greeted with this error:
      [email protected]:~/TrinityCore/build# make
      [  4%] Built target g3dlib
      [  4%] Built target Detour
      [  5%] Built target Recast
      [  6%] Built target fmt
      [  9%] Built target jemalloc
      [  9%] Built target gsoap
      [ 10%] Built target mpq
      [ 10%] Built target revision_data.h
      [ 14%] Built target common
      [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o
      fatal error: file '/usr/include/linux/limits.h' has been modified since the
            precompiled header
            '/root/TrinityCore/build/src/server/database/cotire/database_CXX_prefix.hxx.pch'
            was built
      note: please rebuild precompiled header
            '/root/TrinityCore/build/src/server/database/cotire/database_CXX_prefix.hxx.pch'
      1 error generated.
      src/server/database/CMakeFiles/database.dir/build.make:427: recipe for target 'src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o' failed
      make[2]: *** [src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o] Error 1
      CMakeFiles/Makefile2:1124: recipe for target 'src/server/database/CMakeFiles/database.dir/all' failed
      make[1]: *** [src/server/database/CMakeFiles/database.dir/all] Error 2
      Makefile:129: recipe for target 'all' failed
      make: *** [all] Error 2
      [email protected]:~/TrinityCore/build#
    • By Darkh62100
      Hello,

      Sorry if my question is not in the right category.

      Since a few days I started in TrinityCore v3.3.5, I currently encounter a small problem of which I still have a solution.

      I realized there was almost no titanium vein in icecrown.

      How can I implement them?


      Thanks for your help
    • By Chrisseria2520
      Hello once again community! Thanks for all ur help so far, it's really appreciated..  I'll pull out another hand to get caught! ... 

      So my problem is that I can easy buff / nerf a creature npc through World.conf and edit the rates on HP, AP damage, melee damage and so on... Look at: Uploaded Images to see an example!

      So my question is am I able to burf nerf specific creature spell to do less / more dmg and how so? 
      An example could be Razorscale's Devouring Flame!
      Thanks guys
       

    • By belziere
      Hi guys, i compiled my server under linux and i saw the thing about needing a connection patcher for my client (that needs to be compiled under windows) so i compiled my project on windows too but i can't find the connection patcher, it is nowhere to be seen !
×
×
  • Create New...