Jump to content
Maintenance : Final step ×

JinxTheLux

Member
  • Posts

    11
  • Joined

  • Last visited

  • Feedback

    0%

About JinxTheLux

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

JinxTheLux's Achievements

Collaborator

Collaborator (7/16)

  • Collaborator
  • One Year In
  • Dedicated
  • Conversation Starter
  • Reacting Well

Recent Badges

2

Reputation

  1. Thank you. I asked a private question, I would appreciate it if you reply.
  2. The problem only happens in gcc. The core crashes at a certain time when cutting stone. Thanks to everyone who helped. //Output GDB #0 0x080a76eb in std::__invoke_impl<void, void (CHARACTER::* const&)(unsigned int), CHARACTER* const&, unsigned int const&> ( __f=<synthetic pointer>: <optimized out>, __t=<error reading variable>, __f=<synthetic pointer>: <optimized out>, __t=<error reading variable>) at /usr/local/lib/gcc10/include/c++/bits/invoke.h:70 70 __invoke_impl(__invoke_memfun_deref, _MemFun&& __f, _Tp&& __t, [Current thread is 1 (LWP 100113)] (gdb) bt full #0 0x080a76eb in std::__invoke_impl<void, void (CHARACTER::* const&)(unsigned int), CHARACTER* const&, unsigned int const&> ( __f=<synthetic pointer>: <optimized out>, __t=<error reading variable>, __f=<synthetic pointer>: <optimized out>, __t=<error reading variable>) at /usr/local/lib/gcc10/include/c++/bits/invoke.h:70 No locals. #1 std::__invoke<void (CHARACTER::* const&)(unsigned int), CHARACTER* const&, unsigned int const&> (__fn=<synthetic pointer>: <optimized out>) at /usr/local/lib/gcc10/include/c++/bits/invoke.h:95 No locals. #2 std::_Mem_fn_base<void (CHARACTER::*)(unsigned int), true>::operator()<CHARACTER* const&, unsigned int const&> (this=<synthetic pointer>) at /usr/local/lib/gcc10/include/c++/functional:122 No locals. #3 std::binder2nd<std::_Mem_fn<void (CHARACTER::*)(unsigned int)> >::operator() (__x=<error reading variable>, this=<synthetic pointer>) at /usr/local/lib/gcc10/include/c++/backward/binders.h:158 No locals. #4 std::for_each<std::tr1::__detail::_Hashtable_iterator<CHARACTER*, true, false>, std::binder2nd<std::_Mem_fn<void (CHARACTER::*)(unsigned int)> > > (__last=..., __last=..., __f=..., __first=...) at /usr/local/lib/gcc10/include/c++/bits/stl_algo.h:3844 No locals. #5 CHARACTER_MANAGER::Update (this=0xbfbfc97c, iPulse=20608) at char_manager.cpp:649 No locals. #6 0x08144393 in idle () at main.cpp:532 now = {tv_sec = 1663029283, tv_usec = 267220} passed_pulses = <optimized out> t = 824307 pta = {tv_sec = 1663029283, tv_usec = 27560} process_time_count = 6 now = {tv_sec = <optimized out>, tv_usec = <optimized out>} passed_pulses = <optimized out> t = <optimized out> #7 idle () at main.cpp:507 now = {tv_sec = <optimized out>, tv_usec = <optimized out>} passed_pulses = -1 t = <optimized out> pta = {tv_sec = 1663029283, tv_usec = 27560} process_time_count = 6 #8 0x08057d95 in main (argc=1, argv=0xbfbfec90) at main.cpp:264 sectree_manager = {<singleton<SECTREE_MANAGER>> = {_vptr.singleton = 0x83c6bf8 <vtable for SECTREE_MANAGER+8>, static ms_singleton = 0xbfbfbbac}, static current_sectree_version = 768, m_map_pkSectree = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<unsigned int const, SECTREE_MAP*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const, SECTREE_MAP*> > >> = {<No data fields>}, <No data fields>}, <std::_Rb_tree_key_compare<std::less<unsigned int> >> = { _M_key_compare = {<std::binary_function<unsigned int, unsigned int, bool>> = {<No data fields>}, <No data fields>}}, <std::_Rb_tree_header> = { _M_header = {_M_color = std::_S_red, _M_parent = 0x2aaf8ec0, _M_left = 0x2aaf8ec0, _M_right = 0x2aaf8ec0}, _M_node_count = 1}, <No data fields>}}}, m_map_pkArea = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<int const, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std--Type <RET> for more, q to quit, c to continue without paging-- //char_manager.cpp void CHARACTER_MANAGER::Update(int32_t iPulse) { BeginPendingDestroy(); { if (!m_map_pkPCChr.empty()) { auto callback = !(iPulse % PASSES_PER_SEC(5)); std::for_each(m_map_pkPCChr.begin(), m_map_pkPCChr.end(), [&callback, &iPulse](const NAME_MAP::value_type& v) { auto ch = v.second; if (ch) { if (callback) { ch->ResetChatCounter(); ch->CFSM::Update(); } ch->UpdateCharacter(iPulse); } }); } } { //Code causing crash if (!m_set_pkChrState.empty()) { #ifdef __GNUC__ std::for_each(m_set_pkChrState.begin(), m_set_pkChrState.end(), std::bind2nd(std::mem_fn(&CHARACTER::UpdateStateMachine), iPulse)); #else std::for_each(m_set_pkChrState.begin(), m_set_pkChrState.end(), [iPulse](LPCHARACTER ch) { ch->UpdateStateMachine(iPulse); }); #endif } } { auto snapshot = CHARACTER_MANAGER::Instance().GetCharactersByRaceNum(xmas::MOB_SANTA_VNUM); if (!snapshot.empty()) { #ifdef __GNUC__ std::for_each(snapshot.begin(), snapshot.end(), std::bind2nd(std::mem_fn(&CHARACTER::UpdateStateMachine), iPulse)); #else std::for_each(snapshot.begin(), snapshot.end(), [iPulse](LPCHARACTER ch) { ch->UpdateStateMachine(iPulse); }); #endif } } if (0 == (iPulse % PASSES_PER_SEC(3600))) { for (const auto& it : m_map_dwMobKillCount) DBManager::instance().SendMoneyLog(MONEY_LOG_MONSTER_KILL, it.first, it.second); m_map_dwMobKillCount.clear(); } if (test_server && 0 == (iPulse % PASSES_PER_SEC(60))) #ifdef __GNUC__ sys_log(0, "CHARACTER COUNT vid %zu pid %zu", m_map_pkChrByVID.size(), m_map_pkChrByPID.size()); #else sys_log(0, "CHARACTER COUNT vid %Iu pid %Iu", m_map_pkChrByVID.size(), m_map_pkChrByPID.size()); #endif FlushPendingDestroy(); } //stdafx.h #ifdef __GNUC__ #include <tr1/unordered_map> #include <tr1/unordered_set> #define TR1_NS std::tr1 #else #define TR1_NS std #define isdigit iswdigit #define isspace iswspace #endif
  3. it downloaded some files but I couldn't find ddraw.lib, it may be incomplete, it gives an error as a result
  4. ? I'm getting an installation error that's why I asked. Can you upload the libraries here or tell me the reason for the error
  5. directx version 9.0 x64 I couldn't find it, can you link it?
  6. SpeedTree Directx MileSound How can I get the 64bit version of these files?
  7. SHOP_HOST_ITEM_MAX_NUM When I do 80, I get a packet error. When I do 70, it gets fixed. Do I have a limit? this is the first time i am encountering such a problem, i have even done 120 before, i did not have any problems i checked all the packets i did not encounter any problem i have been dealing with this interesting problem for days and i am writing here as a last resort as i am not able to produce a solution i am waiting for your help. Thanks. client error; 0901 22:48:58168 ::Phase Game does not handle this header(header:38, last:115, 38) The error happens when I click npc a few times.
  8. compiler fails You must give the GetPIDCount function
  9. I understand, but it shows the total number of players over +1, for example if there is 1 player it shows 2 players, if there are 2 players it shows 3, do you know why? I did everything as in the narration
  10. Yes, I guess you are right, reload commands have always been a problem in active game, so I wanted to get your opinion. It shows +1 total players I can't understand about the system, do you know why?
  11. Don't you think it's okay when the number of players is high?
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.