Jump to content
TrinityCore

blackmetalz

Members
  • Posts

    30
  • Joined

  • Last visited

blackmetalz's Achievements

Newbie

Newbie (1/14)

  • Reacting Well Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. Hi, i just tried to replace GCC with Clang. Normally before i switch i use this script to get the crash log ``` #! /bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo $DIR cd $DIR echo "run\n" > gdbcommands echo "shell echo -e \"SERVERCRASHEVENT\" " >> gdbcommands echo "shell echo -e \"\nCRASH ON\" `date` " >> gdbcommands echo "info program " >> gdbcommands echo "shell echo -e \"\nBACKTRACE\n\" " >> gdbcommands echo "bt " >> gdbcommands echo "shell echo -e \"\nBACKTRACE FULL\n\" " >> gdbcommands echo "bt full " >> gdbcommands echo "shell echo -e \"\nTHREADS\n\" " >> gdbcommands echo "info threads " >> gdbcommands echo "shell echo -e \"\nTHREADS BACKTRACE\n\" " >> gdbcommands echo "thread apply all bt full " >> gdbcommands chmod +x gdbcommands while : do echo "starting worldserver"; sleep 5 mkdir -p crashes gdb worldserver --batch -x gdbcommands | tee crashes/current FILE=$(date +%s) sed -i '1,/SERVERCRASHEVENT/d' crashes/current mv crashes/current crashes/$FILE".crash" find crashes/ -name '*.crash' -and -size -10k -delete # Remove small files (not crashes) echo "worldserver stopped"; sleep 1 done ``` After replacing with Clang compiler, seem like it doesn't generate crash log in to crash folder anymore. I'm not sure what I'm missing, i have tried to search some before i create a new topic but i haven't found any answer then i decided to create this topic to ask for help Thanks for reading
  2. Yo, can you tell me how to compile in Debian 9 with clang, in document page was only introduce compile with gcc
  3. Thank you for the information, i'm trying Debian 9 to compare with Ubuntu 17 18
  4. what OS and compiler can give the fastest compile?
  5. mine was win 7 ssd with: i7-2820 QM : 5.5 minutes Xeon-1231v3: 4.75 minutes i wonder how strong ryzen series with 8 cores 16 threads, is it possible can go for 2 minutes for fresh compile? ( with ssd and dedicated Ram for sure ).
  6. Hi guys, I'm going to buy new hardware for reducing compile time in Trinity core. I have heard about Ryzen, it had more core and threads but haven't tested its performance. I just want to ask anyone have Ryzen CPU can share compile time?
  7. I'm trying to google my problem and found this topic, i read carefully but i don't realize that is my post 2 years ago with same problem. ROFL!
  8. I found solutions in here, Thanks!!
  9. Thanks for reply,here is my code -- Random Respawn DELETE FROM `pool_template` WHERE entry=888002; INSERT INTO `pool_template`(`entry`,`max_limit`,`description`) VALUES (888002,1, 'NPC Event Spawn (888002)'); DELETE FROM `pool_creature` WHERE pool_entry=888002; INSERT INTO `pool_creature`(`guid`,`pool_entry`,`chance`,`description`) VALUES (400000,888002,0, 'NPC Event Spawn 1'), (400001,888002,0, 'NPC Event Spawn 2'), (400002,888002,0, 'NPC Event Spawn 3'); -- Game Event ID: 100 DELETE FROM game_event WHERE eventEntry IN (100); INSERT INTO game_event VALUES (100,'2015-03-16 21:46:00','2015-03-16 22:40:00',120,119,0,'Event Killing Mob',0); -- Game Event Creature DELETE FROM game_event_creature WHERE guid IN (400000,400001,400002); INSERT INTO game_event_creature VALUES (100,400000), (100,400001), (100,400002); -- Game Event Pool DELETE FROM game_event_pool WHERE eventEntry IN (100); INSERT INTO game_event_pool VALUES (100,888002);
  10. Hi,i'm trying to understand this table. As description of this table: This table determines if a given pool is active for a given game event. it means it linked with table pool_template? I have a pool creature that have 1 NPC with 3 respawn, only 1 will available to see,if you kill that repsawn, NPC will respawn in another location. But when i bring it with game_event, when event start it displays all NPC spawned .... I already insert a record with event ID and pool entry in table pool_template Hope you understand what i'm saying. Sorry for my bad english!
  11. http://www.mediafire.com/view/uut6csbp2r1dff8/CMakeError.log Following Installation Guide and get this error. Help me please!
×
×
  • Create New...