Jump to content
TrinityCore

cloudfox

Plebs
  • Posts

    8
  • Joined

  • Last visited

cloudfox's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. thank you very much my friend! when i turn down the console switch , it's all gone,nothing bothers me now!! thank you all upstairs bro! i love you!!!
  2. ohh could you please tell me where is this setting? is it here? i find something like this in .\TrinityCore\src\server\worldserver\Main.cpp line 304 to 310. // Launch CliRunnable thread std::shared_ptr<std::thread> cliThread; #ifdef _WIN32 if (sConfigMgr->GetBoolDefault("Console.Enable", false) && (m_ServiceStatus == -1)/* need disable console in service mode*/) #else if (sConfigMgr->GetBoolDefault("Console.Enable", false)) #endif i change two 'true' to 'false' and recomplied. problem still exist
  3. thanks my friends, but when i dont use "nohup ./worldserver &", just use "./worldserver" to start it. the cpu cost is only 1% or little higher like my attached pic. how do you guys running TC server on linux? i tried to run "./worldserver" . when it's start complete i directly shut the telnet window. but if i done this the server session "worldserver" is killed by system.
  4. nobody met this problem on ubuntu? i google it ,they said because worldserver is waiting input ,so when you put it background they will cost 100% cpu resource. but this is a server , it need to put it background.
  5. hi there i've met a strange problem on linux running TC worldserver. everything is ok when i direct type ./worldserver and don't close ssh window. the worldserver session only take 1% less cpu use. but when i try to use nohup or setsid to put worldserver backgroud. this world server instantly taking 100% cpu percent .no matter how long i wait,%cpu will not come down. i even try to use systemctl's service to made server run background,and i found server and systemctl still got 100% cpu use. i'm asking for help about how to run server background on ubuntu16.04,and not with 100%cpu use. thanks!!
  6. so you mean that i can use make -j 1 to complie? but my vps is 1core 1Gram,i use "make" can only got one core,would "make -j 1" make any diffrent? i thought "make" and "make -j 1" is the same in my vps
  7. hello guys,i met a problem in linux core complie: ubuntu 16.04 trinity version is 3.3.5 i follow the guild to the CMAKE step,and it's done. then i make,it,it will stuck at 18% every time i dont understand how did this happen,missing some lib? please help me. $ cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/server -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detected 64-bit platform -- UNIX: Using default configuration directory -- UNIX: Using default library directory -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/bin/cc -- GCC: Enabled c++11 support -- GCC: Enabled C99 support -- GCC: SFMT enabled, SSE2 flags forced -- Using mysql-config: /usr/bin/mysql_config -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient.so -- Found MySQL headers: /usr/include/mysql -- Found MySQL executable: /usr/bin/mysql -- Found git binary : /usr/bin/git [ 17%] Built target shared Scanning dependencies of target gamePCH.cpp_dephelp [ 17%] Building CXX object src/server/game/CMakeFiles/gamePCH.cpp_dephelp.dir/PrecompiledHeaders/gamePCH.cpp.o [ 18%] Linking CXX shared module libgamePCH.cpp_dephelp.so [ 18%] Built target gamePCH.cpp_dephelp Scanning dependencies of target generate_gamePCH.cpp [ 18%] Generating gamePCH.h.gch [ 18%] Built target generate_gamePCH.cpp Scanning dependencies of target game [ 18%] Building CXX object src/server/game/CMakeFiles/game.dir/World/World.cpp.o c++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. src/server/game/CMakeFiles/game.dir/build.make:62: recipe for target 'src/server/game/CMakeFiles/game.dir/World/World.cpp.o' failed make[2]: *** [src/server/game/CMakeFiles/game.dir/World/World.cpp.o] Error 4 CMakeFiles/Makefile2:1330: recipe for target 'src/server/game/CMakeFiles/game.dir/all' failed make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 $
  8. hello every one,now i use 3.3.5 branch as server. when we want to raid some dungeons we are short of number. so i want to create or change some spell affect to buff us, but i can not find spell data in database tables. they are not like items or creatures can be easily changed. please help me, thank you all~
×
×
  • Create New...