blackmetalz
-
Posts
30 -
Joined
-
Last visited
Posts posted by blackmetalz
-
-
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
-
you are damn right
-
On 4/29/2018 at 7:21 PM, Aokromes said:
Debian 9 with clang.
Yo, can you tell me how to compile in Debian 9 with clang, in document page was only introduce compile with gcc
-
damn, is that dedicated server
-
Thank you for the information, i'm trying Debian 9 to compare with Ubuntu 17 18
-
On 4/20/2018 at 3:37 PM, Aokromes said:
Also OS AND compiler can make big differences.
what OS and compiler can give the fastest compile?
-
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 ).
-
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?
-
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!
-
I found solutions in here, Thanks!!
-
-
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);
-
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!
-
http://www.mediafire.com/view/uut6csbp2r1dff8/CMakeError.log
Following Installation Guide and get this error. Help me please!
Get crash log with clang in Ubuntu 18.04
in Help and Support
Posted
Up