Jump to content
TrinityCore

Leaderboard

Popular Content

Showing content with the highest reputation since 02/23/19 in all areas

  1. if you don't have any custom thing i sugest you to drop world database, if you have custom things i recomend you to pull to tdb 335.19031, then 335.19041.... there are to much commits betweeen your db and head.
    2 points
  2. Since we are targeting C++17 compilers, GCC 6.3, clang 4 and Visual Studio 2017 under version 15.7 will become unsupported after summer We give this warning to allow people to ready their systems with enough time to update (it's very likely Debian 10 will be shipped on 2nd quarter 2019). (Visual Studio 2019 release date is on 2nd quarter 2019) https://clang.llvm.org/cxx_status.html https://gcc.gnu.org/projects/cxx-status.html#cxx17
    2 points
  3. I wrote an article explaining why I hate most of the World of Warcraft private servers. This is my personal opinion and if you are a developer I ask you to read the disclaimer first. I'd appreciate your feedback about it, enjoy! https://github.com/FrancescoBorzi/why-I-hate-wow-private-servers/blob/master/ENGLISH.md
    2 points
  4. This table exists only to send sniffed hotfixes for db2 files that are not loaded by TC. You should never try to manually insert data into it. If you really must know - blob is simply the entire db2 row written as binary
    2 points
  5. Here, have mine https://paste2.org/PMN1IWYK
    2 points
  6. Enabling the Misc items in the cfg will post many undesired items onto the auctionhouse. The best way (so far) to get glyphs to show up seems to be the following - all credit goes to Mightylink @ cmangos. (Haven't verified all id's one by one, but assuming they are correct for wotlk) All you need to do is add all the glyphs to the force include line, this will ignore any settings and make them start appearing at random times. Here are all the glyphs sorted by class: Code: |Death Knight: 43533,43534,43535,43536,43537,43538,43539,43541,43542,43543,43544,43545,43546,43547,43548,43549,43550,43551,43552,43553,43554,43671,43672,43673,43825,43826,43827,45799,45800,45803,45804,45805,45806 Warrior: 43395,43396,43397,43398,43399,43400,43412,43413,43414,43415,43416,43417,43418,43419,43420,43421,43422,43423,43424,43425,43426,43427,43428,43429,43430,43431,43432,45790,45792,45793,45794,45795,45797,49084 Paladin: 41092,41094,41095,41096,41097,41098,41099,41100,41101,41102,41103,41104,41105,41106,41107,41108,41109,41110,43340,43365,43366,43367,43368,43369,43867,43868,43869,45741,45742,45743,45744,45745,45746,45747 Shaman: 41517,41518,41524,41526,41527,41529,41530,41531,41532,41533,41534,41535,41536,41537,41538,41539,41540,41541,41542,41547,41552,43344,43381,43385,43386,43388,43725,44923,45770,45771,45772,45775,45776,45777,45778 Hunter: 42897,42898,42899,42900,42901,42902,42903,42904,42905,42906,42907,42908,42909,42910,42911,42912,42913,42914,42915,42916,42917,43338,43350,43351,43354,43355,43356,45625,45731,45732,45733,45734,45735 Rogue: 42954,42955,42956,42957,42958,42959,42960,42961,42962,42963,42964,42965,42966,42967,42968,42969,42970,42971,42972,42973,42974,43343,43376,43377,43378,43379,43380,45761,45762,45764,45766,45767,45768,45769 Druid: 40896,40897,40899,40900,40901,40902,40903,40906,40908,40909,40912,40913,40914,40915,40916,40919,40920,40921,40922,40923,40924,43316,43331,43332,43334,43335,43674,44928,44922,45601,45602,45603,45604,45622,45623,46372,48720,50125 Mage: 42734,42735,42736,42737,42738,42739,42740,42741,42742,42743,42744,42745,42746,42747,42748,42749,42750,42751,42752,42753,42754,43339,43357,43359,43360,43361,43364,44684,44955,44920,45736,45737,45738,45740,50045 Warlock: 42453,42454,42455,42456,42457,42458,42459,42460,42461,42462,42463,42464,42465,42466,42467,42468,42469,42470,42471,42472,42473,43389,43390,43391,43392,43393,43394,45779,45780,45781,45782,45783,45785,45789,50077 Priest: 42396,42397,42398,42399,42400,42401,42402,42403,42404,42405,42406,42407,42408,42409,42410,42411,42412,42414,42415,42416,42417,43341,43370,43371,43372,43373,43374,45753,45755,45756,45757,45758,45760 | And here are all the glyphs together you can just copy and paste into the config: Code: |43533,43534,43535,43536,43537,43538,43539,43541,43542,43543,43544,43545,43546,43547,43548,43549,43550,43551,43552,43553,43554,43671,43672,43673,43825,43826,43827,45799,45800,45803,45804,45805,45806,43395,43396,43397,43398,43399,43400,43412,43413,43414,43415,43416,43417,43418,43419,43420,43421,43422,43423,43424,43425,43426,43427,43428,43429,43430,43431,43432,45790,45792,45793,45794,45795,45797,49084,41092,41094,41095,41096,41097,41098,41099,41100,41101,41102,41103,41104,41105,41106,41107,41108,41109,41110,43340,43365,43366,43367,43368,43369,43867,43868,43869,45741,45742,45743,45744,45745,45746,45747,41517,41518,41524,41526,41527,41529,41530,41531,41532,41533,41534,41535,41536,41537,41538,41539,41540,41541,41542,41547,41552,43344,43381,43385,43386,43388,43725,44923,45770,45771,45772,45775,45776,45777,45778,42897,42898,42899,42900,42901,42902,42903,42904,42905,42906,42907,42908,42909,42910,42911,42912,42913,42914,42915,42916,42917,43338,43350,43351,43354,43355,43356,45625,45731,45732,45733,45734,45735,42954,42955,42956,42957,42958,42959,42960,42961,42962,42963,42964,42965,42966,42967,42968,42969,42970,42971,42972,42973,42974,43343,43376,43377,43378,43379,43380,45761,45762,45764,45766,45767,45768,45769,40896,40897,40899,40900,40901,40902,40903,40906,40908,40909,40912,40913,40914,40915,40916,40919,40920,40921,40922,40923,40924,43316,43331,43332,43334,43335,43674,44928,44922,45601,45602,45603,45604,45622,45623,46372,48720,50125,42734,42735,42736,42737,42738,42739,42740,42741,42742,42743,42744,42745,42746,42747,42748,42749,42750,42751,42752,42753,42754,43339,43357,43359,43360,43361,43364,44684,44955,44920,45736,45737,45738,45740,50045,42453,42454,42455,42456,42457,42458,42459,42460,42461,42462,42463,42464,42465,42466,42467,42468,42469,42470,42471,42472,42473,43389,43390,43391,43392,43393,43394,45779,45780,45781,45782,45783,45785,45789,50077,42396,42397,42398,42399,42400,42401,42402,42403,42404,42405,42406,42407,42408,42409,42410,42411,42412,42414,42415,42416,42417,43341,43370,43371,43372,43373,43374,45753,45755,45756,45757,45758,45760
    2 points
  7. descargate openssl 1.1.1s y recompila con esa version.
    1 point
  8. we recommend to avoid centos to run trinitycore, because they give a lot of issues.
    1 point
  9. Use https://github.com/Arctium/WoW-Launcher/releases to start wow
    1 point
  10. in case someone wonders what means "over cataclysm" only wow 4.3.4 spawns are completed. there are few spawns on mop and higher expansions but not completed at all.
    1 point
  11. EDIT: There i fixed it for the Developer, somehow i was advertising.. I notice why though, because it included my servers name. My bad... Hey guys i recently migrated a new dedicated server from a VPS so i can continue working on something and i have ran into a snag... The server is running fine, it loads up super fast, but whenever someone tries to login it gets stuck at "Connected" after you select the realm, what could possibly cause this issue? Configs: Authconfig http://pastebin.com/aiBE2jvC <- World Config, too big to put on AC-Web An image to represent the issue :/ Hope some of you can help. Thanks! Will reward +rep to anyone who posts some useful information.
    1 point
  12. 100% and i use that percentage rarely. If you edit src/server/scripts/EasternKingdoms/zone_undercity.cpp only that file will be recompiled. if you edit src/server/game/Entities/Unit/Unit.cpp everything will be recompiled. unless you do full rebuild, then everything will be recompiled. also 3 hours recompile? what processor you have?
    1 point
  13. What Aokromes said is true. I will tell you any advices in case you didnt know it: - Dont use cmake if you only changed any lines in any files. Every time that you use cmake, compilation will take more time to compile. - Dont clear proyect in visual studio if you didnt add new files in the project or it will compile everything there. - You can disable tools (map extractors) of source in cmake so it wont compile with the project and it will be faster. Regards
    1 point
  14. the amount of recompilation depends of the files you change.
    1 point
  15. It is definitely still there in git history, you just need to find the correct commit or tag - however there is no guarantee that you will be able to compile it with latest compiler/dependency versions
    1 point
  16. UPDATE `creature` SET `spawndist` = 7, `MovementType` = 1 WHERE `id` = XXX;
    1 point
  17. Hello and welcome Acciderk, i can only suggest you to read over the Loot Article in the wiki, since what you are missing here is a loop through the loot reference table. The Lich King (c.e. 39168) has 5 directly attached items in his default loot template, one if them requires to be on a quest. Every other loot comes from loot references (also part of said template). I attached a picture to make this more visible/clear:
    1 point
  18. There are a lot of things that could have been written better or different, but without trying to compile this myself, there is something that really bothers me and i would say this could potentially result in your crash: You spamforce the boss an attackorder here on every update diff. The more i think about this, the more i wonder where he even gets "target" from in this case? That should not even compile. In general, there is a pretty basic and simple pattern you can follow in UpdateAI: void UpdateAI(uint32 diff) override { if (!UpdateVictim()) return; events.Update(diff); if (me->HasUnitState(UNIT_STATE_CASTING)) return; while (uint32 eventId = events.ExecuteEvent()) { switch (eventId) { case EVENT_NAME: stuff that should happen; break; default: break; } if (me->HasUnitState(UNIT_STATE_CASTING)) return; } DoMeleeAttackIfReady(); }
    1 point
  19. You mean the tag? You clearly did not build the extractor from that tag. WDC3 was introduced much later
    1 point
  20. https://github.com/TrinityCore/WoWSimpleRegistration
    1 point
  21. You cannot select it manually, it will happen automatically, depending on dungeon/raid difficulty (only works inside instances)
    1 point
  22. Try clearing your cache. I also experienced same stuff. Somehow after trying lots of trial it worked somehow.
    1 point
  23. I checked and the core is master = 9.0.2.37474 and WoW version is now at 9.0.5.37988. Which means that the core and the version is not on the same level. Not sure if I am correct in this, but I am also having this same issue.
    1 point
  24. bnetserver, just like authserver in the past, doesn't accept console input.
    1 point
  25. spell.dbc. spellworks shows you the info inside them. or https://tcubuntu.northeurope.cloudapp.azure.com/aowow/
    1 point
  26. updating visual studio AND cmake.
    1 point
  27. Just download the client from battle.net app, even a trial (or "starter" as they call it now) is enough
    1 point
  28. Hey folks, I'm currently building a BfA repack, following Windows Server Setup, and at the bottom of this page it says "4. Move the vmaps, maps, dbc, cameras and gt (master only) folders to the same directory as the TrinityCore binaries." Which TrinityCore binaries is it referring to? Sorry for sounding like a div, Isk.
    1 point
  29. update your core, i fixed that.
    1 point
  30. I recently started working on my project again. Unfortunately I had to find out that not a single sniffer is working properly anymore and that the development of open source sniffers has been stopped (people say). Is there a working sniffer somewhere or an alternative that I can use? Best Regards.
    1 point
  31. You don't need the client at all after extraction (but you will need it again if there are fixes/changes done to extractors, to extract again), you can also delete Buildings
    1 point
  32. Hi, i'm not a expert at this full topic. But have fight this issue for myself. I have solve this with this steps. Software Version use, base on the Wiki. Visual Studio 2019 (MSVC 16.2) Boost 1.70 (set Env BOOST_ROOT=C:/SDK/boost_1_70_0) Setup from boost_1_70_0-unsupported-msvc-14.2-64.exe cmake 3.15 (cmake-3.15.1-win64-x64.msi) Fix on the Master Branch. Remove or Rename \TrinityCore\cmake\macro\FindBoost.txt. So cmake pickup lastest FindBoost.cmake from C:\Program Files\CMake\share\cmake-3.15\Modules\FindBoost.cmake . To find Boost 1.70.0. Fix TrinityCore\CMakeLists.txt . Add cmake_policy(SET CMP0074 OLD) Fix src/common/Utilities/TaskScheduler.h with patch from 3.5.5 for Visual Studio 2019 see https://github.com/TrinityCore/TrinityCore/pull/2363 Keyword use const . Line ~123 /// Container which provides Task order, insert and reschedule operations. struct Compare { OLD: bool operator() (TaskContainer const& left, TaskContainer const& right) NEW bool operator() (TaskContainer const& left, TaskContainer const& right) const Mybe this helps a bit.
    1 point
  33. I figured it out. I still had 127.0.0.1 set in a couple of places. I had to change the IP address in the following locations: Database: auth.realmlist.address and auth.realmlist.localaddress to 10.x.y.z bnetserver.conf: LoginREST.ExternalAddress=10.x.y.z LoginREST.LocalAddress=10.x.y.z Client: World of Warcraft\ _retail_\WTF\Config.wtf SET portal "10.x.y.z"
    1 point
  34. I do not know, with arctiumlauncher works perfectly for me. Have you tried modifying the ip address in the file "WTF/Config .wtf" 127.0.0.1? What is your SO? Some ppl with Linux have the same problem.
    1 point
  35. Hello, I recently just updated to the latest version on master (8.1.5.30706, SHA: 138e822d859fd9ff9d79e1ce16823992ad43aec4) and noticed that my linux build was no longer compiling. The build was failing on a few variables in 'UpdateFields.h' due to the variables being named the same as their struct/class UpdateFields.h : 384 : UpdateFieldArray<QuestLog, 100, 35, 36> QuestLog; UpdateFields.h : 482 : UpdateFieldArray<DynamicUpdateField<Research, -1, -1>, 1, 20, 21> Research; UpdateFields.h : 495 : DynamicUpdateField<SpellPctModByLabel, 0, 17> SpellPctModByLabel; UpdateFields.h : 496 : DynamicUpdateField<SpellFlatModByLabel, 0, 18> SpellFlatModByLabel; UpdateFields.h : 577 : UpdateFieldArray<RestInfo, 2, 461, 462> RestInfo; UpdateFields.h : 586 : UpdateFieldArray<PVPInfo, 6, 551, 552> PvpInfo; It compiles fine in visual studio but fails with gcc. I am not familiar enough with gcc to know if there are any settings that would allow this. However, in the mean time, I was able to get it to compile by providing the namespace for the struct. It works but might not be the best solution or fit with the coding standards. Heres the updates below. UpdateFields.h : 384 : UpdateFieldArray<UF::QuestLog, 100, 35, 36> QuestLog; UpdateFields.h : 482 : UpdateFieldArray<DynamicUpdateField<UF::Research, -1, -1>, 1, 20, 21> Research; UpdateFields.h : 495 : DynamicUpdateField<UF::SpellPctModByLabel, 0, 17> SpellPctModByLabel; UpdateFields.h : 496 : DynamicUpdateField<UF::SpellFlatModByLabel, 0, 18> SpellFlatModByLabel; UpdateFields.h : 577 : UpdateFieldArray<UF::RestInfo, 2, 461, 462> RestInfo; UpdateFields.h : 586 : UpdateFieldArray<UF::PVPInfo, 6, 551, 552> PvpInfo; I was thinking about making a pull request for it but wanted to make sure it was correct first. Also, wasn't sure how the pull request process works in github. Let me know if there are any issues with this or if there is anything that needs to be changed. Thank you, Chaz H
    1 point
  36. Hi everyone, My 8.0.1.28153 client does not have the `.build.info` file in the root directory of the client install. I think that this causes my `mapextractor` (latest commit as of yesterday) to fail as it cannot find any locales. I've searched everywhere and my google-fu failed me. I cannot find this file anywhere. From my understanding, this file is one of the required files to be able to open the casc storage via the Zezula's casc library. Can I somehow generate this file? Thank you.
    1 point
  37. Hello, Which DB table, or Core files conatins the player level up spells? I need to find some spells, and modify them for a class. For example: - Hunter Disengage Spell auto place on action bar on level up. I want to change the Disengage level requirement for placing on the actionbar level req.
    1 point
  38. TDB 335.19031 released new naming standard: 19 year 03 month 1 1st release of month.
    1 point
  39. known bug it needs to be fixed. you did nothing incorrect on your side.
    1 point
  40. Haha, I'm wondering how much people on german p-server translate quest_complete_texts parallel and manually :-) But the quest_template_locale table contains a lot of field names from an earlier core version. Actually the relations are: quest_template:LogDescription - quest_template_locale:Objectives quest_template:AreaDescription - quest_template_locale:EndText quest_template:QuestDescription - quest_template_locale:Details quest_template:ObjectiveText1 - quest_template_locale:ObjectiveText1 quest_template:ObjectiveText2 - quest_template_locale:ObjectiveText2 quest_template:ObjectiveText3 - quest_template_locale:ObjectiveText3 quest_template:ObjectiveText4 - quest_template_locale:ObjectiveText4 quest_template:QuestCompletionLog - quest_template_locale:CompletedText quest_requested_items:CompletionText - quest_template_locale:RequestedItemsText quest_offer_reward:RewardText - quest_template_locale:OfferRewardText May it helps, otherwise please make an example of a quest.
    1 point
  41. for anyone wanting to test the beta irc <--> discord relay : https://discord.gg/HPP3wNh
    1 point
  42. How to add Waypoints to a creature: Note: I'm just adding a copy paste tutorial without further information on the DB-Structure behind it, because i know, you will understand this soon enough.Example: We want to add this Guy some waypoints 1.) Get the latest sniffer from http://community.trinitycore.org/topic/9849-trinity-cores-sniffer-for-wow-62020338/ 2.) Log in on retail and start the attach_sniffer and follow the Creature until it has completed it's whole path. It's important, that you DO NOT RUN OUT of sight of this mob, else the path will look really creapy. 3.) Close the sniffer if the Path is completed one time 4.) You will see a .pkt - file in your wow directory now 5.) Download and compile https://github.com/TrinityCore/WowPacketParser 6.) Go to the Releasefolder after you finished compiling 7.) Copy the .pkt-file and move the file with drag-and-drop over the WowPacketParser.exe Note: It's recommended to keep these settings <add key="DBEnabled" value="false" /> in WowPacketParser.exe.config 8.) Now you will see a .txt file in your releasefolder 9.) Download and compile https://github.com/Kittnz/WaypointCreator (Branch 6.x) 10.) Go to the release folder and open up the Waypoint Creator.exe 11.) Import the .txt-file 12.) Search for the entry in the searchfield (in this case entry: 74228) 13.) Result: - Rightclick on the table and hit: Create SQL 14.) In the SQL-Output you will now find: Use the command: .go 1923.215 -4636.423 33.2019 to see if you are on the right position 15.) Go ingame (Tc-Server) and choose a fitting creature which is near the path. In this case it's creature with GUID: 286504 - You always find the right guid if you select the creature and type: .npc info 16.) Replace the XXXXXX in SET @NPC := XXXXXX; with the GUID -> SET @NPC := 286504; 17.) Repeat this for all other Paths
    1 point
  43. I am new here but have been working with game Emulators for a while. Been a number of years since I have messed around with the WoW emulators but have been working with EQ emulators for a while. Trinitycore is a LOT easier to install / compile compared to the EQ versions. Still with that being said I found the step-by-step instructions in the Wiki to be sadly lacking a LOT of crucial information. When I was stuck I tried searching and that did little but take me right back to the spot with missing information. Whomever maintains the Wiki has the unfortunate tendency to assume installers know some information and simply skip it which will tend to confuse and frustrate people (this problem is VERY common among many people unfortunately.) Many of the people that try to help or instruct others tend to make that same mistake, assuming the people being instructed know certain information. To truly setup step-by-step instructions you must assume the people know absolutely nothing about the setup. That is the only true way to reduce the posts here asking for help. For instance on the Wiki under the Server Setup it mostly takes you through a setup until it reaches this point: ---------------------------------------------- https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130046/Server+Setup After completing all the steps listed above you can now start your server. Run the authserver (bnetserver on master) and worldserver to run your server. Both must stay running for your server to accept connections to it. Tip: The authserver (bnetserver on master) allows you to enter your username (email on master)/password to connect to the Realm Selection screen, and the worldserver allows you to connect to the realm itself. Once you are in-game, the authserver (bnetserver on master) can be safely closed if you wish. DO !NEVER! create an account directly into your database unless you are ABSOLUTELY SURE that you know what and how to do! The "3" is the GM account level (higher numbers = more access), and the "-1" is the realm ID that stands for "all realms". ------------------------------------------------ Then after that it tells you to startup the worldserver and login using the account you just created?!?! Nowhere in there does it tell you HOW to create the account nor does it tell you how to set the GM access level other than the last line telling you that "3" is GM level... I had to experiment for 10 minutes to figure it out on my own but I was only able to do it because I was used to working in a similar environment with the EQ emulators... But looking back on it there is a very confusing and veiled comment to how the authserver allows you to create the account but it never says "Type this into the authserver command window to create your account" which would prevent a lot of confusion and questions being asked (especially since it should be typed into the worldserver window instead)... Then after telling you to start the worldserver and to create the account it tells you somewhat how to install the databases... Shouldn't the database install come BEFORE telling people how to create an account in the database?? All-in-all, other than downloading and compiling the core, the wiki and FAQ are mostly useless for new people for help... So far I have searched everywhere and I can't find the answer to one simple question that should be in a FAQ or guide somewhere, how to run server / GM commands in-game??? I am sure there is a way but have yet to discover it... IMHO to reduce the number of help posts and duplicates you really need to overhaul many of the newbie FAQ's and Wiki help / install sections with a good sense of how a person that has never worked with an emulator install before should proceed...
    1 point
  44. As outlined in #20103, we're currently making a concerted push for blizzlike instance spawn behavior. As part of this, every instance in the 3.3.5 client needs to have all of its spawns mapped to the corresponding instance boss that causes that group to no longer spawn once defeated. Luckily, we have a tool to help with this. Extract the attached archive into your Interface/AddOns directory, then log onto a 3.3.5 core running commit fcd6fe0 (or newer). Move yourself into the instance you want to map, then invoke /spawngroup to bring up the mapper panel. Use the green plus icon to create one spawn group for each boss in the instance. If there are groups with complex conditions, like "only spawns if any of X, Y and Z are alive", create a separate group for each of them. Scroll down (shift+mouse wheel to scroll faster) and name each of the newly created groups (right-click the respective header). Names should be representative, but have only descriptive value (no need to match the boss name exactly, for example). Start assigning groups to entries and spawns in the "Unassigned" category. Pay attention to detail - not all creatures of the same entry are necessarily assigned to a specific boss. Click on an entry to expand it into a list of its spawn points. Each spawn point can be individually assigned to a group. Click on a spawn point to teleport to it. You can combine this with having the world map open to quickly map disjoint spawn points. Once you are done, click on "Export SQL" to generate a complete instance spawn group script for the instance, then post it here. Because mistakes happen, I'd like at least two, preferably three, copies of each data set, from different people. To find out which instances still need data, take a look at this issue on the tracker - contributions may be posted either there or in this thread. (PS: Feel free to take breaks. The mapper stores any mappings you've already made and will reload them when you bring the panel up again, including across sessions [assuming you log out normally - don't force kill the client.]) (PPS: Invoke /spawngroup while outside an instance at your own peril - it's probably gonna freeze your client for a bit. Lots of spawns there.)
    1 point
  45. Hey all, I wanted to write down a guide about preparing your linux server to be able to work as a gdb log tracer + restarter I have been using it for around 2 years with no problem what-so-ever (other than the performance if having a compiled server with full debug flags on) What is GDB? GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed. What is Restater? Restarter allows your core to crash, fall, get stuck and come back every time without anyone touching or doing anything manualy. For this guide you acknowledge that you have basic knowledge in operating linux systems and using ssh as a cli 1. First, lets make sure your Freeze Detector is set up corretly by editing the worldserver.conf file in `etc` Find MaxCoreStuckTime and set it to 120 ( MaxCoreStuckTime = 120 ) This will tell the server that if this demon is stuck for 2 minutes the core will crash automaticly leaving the restarter at work.. 2. Make sure you have sendmail installed sendmail is a cli program that allows sending emails without any pre-setup etc Try: /usr/sbin/sendmail -f [email protected] [email protected] or sendmail -f [email protected] [email protected] If you get an email from [email protected] this means it works, if you dont -> Follow the sendmail installation guide which i found very helpful 3. Go to your `bin` folder (where the worldserver bins are installed at) create a new file - for the perpuse of the test call it `commands` (nano commands) put the following code in the file: run -c ../etc/worldserver.conf bt bt full info thread thread apply all backtrace full quit Make sure that if you are using another path or other server config name, you have to alter it in the file. The rest, leave as is, its for the backtrace report to work. 4. Create crashes folder under bin mkdir Crashes the C is capsulated 5. creatre a new file, this file will be used as our restarter, mine is called gdbres.sh (nano gdbres.sh) In the file, put the following code: while : do gdb -x=commands -batch ./worldserver > temp tail -c 60000 temp | sed 1i"Subject: Crash Log" | /usr/sbin/sendmail -f [email protected] [email protected] tail -c 60000 temp | sed 1i"Subject: Crash Log" | /usr/sbin/sendmail -f [email protected] [email protected] mv temp Crashes/log$(date +\%Y-\%m-\%d-\%H-\%M-\%S).log done tail takes the last part of your `temp` file and sends it via mail, the -c 60000 chooses to take 60kb worth of text (which is the aprox gdb crash log filesize) and just send it trough sed li = the subject of that email the last command mv temp /Crashes/blabla moves the temp file to your crash log folder, if you dont have a crash folder it wont move the file and you wont have any log keepting so make sure you created the folder.. 6. Alter the files to be able to execute: chmod +x commands chmod +x gdbres.sh 7. Starting the restarter is an easy job, personaly i use screen if you are using screen do the following: screen -A -dmS world ./gdbres.sh This will start it in a new demon screen and you can forget about starting the core on your own for a while if you are using simple cli commands you can use ./gdbres.sh && to make it start and forget about it Notes: Turning the restarter off gave me lots of problems when i wanted to close it, I started using webmin to be able to close it via their "Running programs" Positive: To update core to tip etc, you can make install then just crash it. you dont have to fully shutdown the core only ctrl+c in the screen folder or shut it down via ingame and it will come back online using the restarter Sometimes the gdb log comes back bigger than 60k, you can always go back to the Crashes folder and take the full crash.. Its usualy not bigger trough To be able to debug your core with full debug flags you will have to use -DCMAKE_BUILD_TYPE=Debug to include additional debug-code in core in the cmake proccess as stated in the linux compile guide
    1 point
  46. can any one help me with this I'm getting ild/src/server/authserver/Release/authserver clang: error: no such file or directory: '/usr/local/mysql/lib/libmysqlclient_r.dylib' ** BUILD FAILED ** The following build commands failed: Ld build/src/server/authserver/Release/authserver normal x86_64 (1 failure)
    1 point
  47. Don't look now: (Rules Quote) My nick has nothing to do with a private server or otherwise. I didn't break ANY rules. Now, please stop trolling. I am done with this thread because I can see where you're trying to lead it. I feel no need to further school a 38 year old on whether or not an emulated game server is known or unknown to Blizzard and the legalities of running a server privately OR publicly. So edit this post away or try to reverse the fact that you jumped to a conclusion; just as you did the post before this one. Please, cry to someone else about the rules when they actually break them instead of hounding people asking normal questions. I think you get off on being rude to others here (most of them younger than you) as some sort of ego trip? Power issues? Wanna be a moderator or something? I dunno, but you need to get more attention at home or something (seriously)... I read a lot of your rudeness to others on this forum, and for no reason! Just people a little confused or asking for help is usually followed up by complete rudeness in most of your responses. Please, don't bother responding, banning, suspending, or whatever else your going to do to my account. People (members) don't want this type of interaction when trying to learn something new; and for an "educational" piece of software I find that contradictory to its main goal or purpose. So let's get this straight, you wont miss me and I wont miss you any; pretty much a clean wash. I just maybe wanted someone to go review your performance (Paranoia or Para-whatever). And hey, if your grandfathered in here and "buddies" with the rest of the crew they should weigh that one out too. I understand the "good Ol' Boy" system. Protect your friends, no matter how wrong they are. So, I know telling you all this is a losing battle forum wise. Your nick certainly fits you: A paradox is a logical statement or group of statements that lead to a contradiction or a situation which (if true) defies logic or reason, similar to circular reasoning. Typically, however, quoted paradoxical statements do not imply a real contradiction and the puzzling results can be rectified by demonstrating that one or more of the premises themselves are not really true, a play on words, faulty and/or cannot all be true together. To the Trinity Programmers and Moderators, Thanks, it's been a fun ride and I'll still be downloading source. Thank you for your time and experience.
    1 point
×
×
  • Create New...