Jump to content

officialteomusic

Member
  • Posts

    6
  • Joined

  • Last visited

  • Feedback

    0%

About officialteomusic

Recent Profile Visitors

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

officialteomusic's Achievements

Enthusiast

Enthusiast (6/16)

  • One Year In
  • First Post
  • One Month Later
  • Week One Done
  • Dedicated

Recent Badges

1

Reputation

  1. I need to pass the texts as arguments in the command for sending the rewards through the mailbox, so it has to be in the quest where I send the rewards.
  2. Can anyone please help me with this?
  3. Hi @ Mali. If I use either locale_string(...) or "[LS;...]" for the title and the message in the mailbox is shown as [LS;...] instead of the actual text from the locale_string.txt file. I used locale_string in many other instances and quests and it works perfectly, this issue seems to only be in the mailbox. Can you please help me fix this?
  4. Modify this function like this: bool SmhT::Access(LPCHARACTER pChar) { if (!pChar) return false; long lNormalMapIndex = (long)MAP_INDEX; PIXEL_POSITION pos = GetXYZ(), posSub = GetSubXYZ(); if (!pos.x) { LPSECTREE_MAP pkSectreeMap = SECTREE_MANAGER::instance().GetMap((long)(SungmaHeeTower::MAP_INDEX)); if (pkSectreeMap) SetXYZ(pkSectreeMap->m_setting.iBaseX, pkSectreeMap->m_setting.iBaseY, 0); } if (!posSub.x) { LPSECTREE_MAP pkSectreeMap = SECTREE_MANAGER::instance().GetMap((long)(SungmaHeeTower::SUBMAP_INDEX)); if (pkSectreeMap) SetSubXYZ(pkSectreeMap->m_setting.iBaseX, pkSectreeMap->m_setting.iBaseY, 0); } long lMapIndex = SECTREE_MANAGER::instance().CreatePrivateMap(lNormalMapIndex); if (!lMapIndex) { pChar->ChatPacket(CHAT_TYPE_INFO, "An error ocurred during map creation."); return false; } SmhTMap *pMap; pMap = M2_NEW SmhTMap(lMapIndex); if (pMap) { m_dwRegGroups.insert(std::make_pair(lMapIndex, pMap)); PIXEL_POSITION mPos; if (!SECTREE_MANAGER::instance().GetRecallPositionByEmpire((int)(MAP_INDEX), 0, mPos)) { pChar->ChatPacket(CHAT_TYPE_INFO, "Sectree Error get recall position."); return true; } if(pChar) { pChar->SaveExitLocation(); // Calculate the correct warp coordinates int newX = 947200; // Correct X coordinate int newY = 614400; // Correct Y coordinate pChar->WarpSet(newX+403*100, newY+458*100, pMap->GetMapIndex()); } return true; } } That is what I did and it works perfectly.
  5. Hey @ Owsap Any update on this? Can you please release the ranking system for Ship Defense?
  6. Hello, shortly after the Hydra eggs spawn I get a crash core. Help me fix this please. Here is the bt full output from gdb: [New LWP 100075] [New LWP 117616] [New LWP 117617] [New LWP 117621] warning: File "/usr/local/lib/gcc10/libstdc++.so.6.0.28-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". Core was generated by `./game-ch1-core1'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x080dd12b in CHARACTER::FindAffect (wApply=0, dwType=500, this=0x3e5c3a80) at char_affect.cpp:82 82 if (pkAffect && (pkAffect->dwType == dwType && (wApply == APPLY_NONE || wApply == pkAffect->wApplyOn))) // Nyx : Possible fix IsAffectFlag! [Current thread is 1 (LWP 100075)] (gdb) bt full #0 0x080dd12b in CHARACTER::FindAffect (wApply=0, dwType=500, this=0x3e5c3a80) at char_affect.cpp:82 pkAffect = 0x3e5c23 it = @0x3e0b4109: 0x3e5c23 __for_range = @0x3e5c7d30: {<std::__cxx11::_List_base<CAffect*, std::allocator<CAffect*> >> = { _M_impl = {<std::allocator<std::_List_node<CAffect*> >> = {<__gnu_cxx::new_allocator<std::_List_node<CAffect*> >> = {<No data fields>}, <No data fields>}, _M_node = {<std::__detail::_List_node_base> = {_M_next = 0x3e0b4101, _M_prev = 0x3e0b4100}, _M_size = 1}}}, <No data fields>} __for_begin = {_M_node = <optimized out>} __for_end = {_M_node = <optimized out>} #1 CHARACTER::ProcessAffect (this=0x3e5c3a80) at char_affect.cpp:346 aff_idx = 500 remain = <optimized out> i = 0 bDiff = false pkAff = <optimized out> afOld = {bits = {<optimized out>, <optimized out>}} lMovSpd = <optimized out> lAttSpd = <optimized out> it = {_M_node = <optimized out>} #2 0x080dd61c in CHARACTER::UpdateAffect (this=0x3e5c3a80) at char_affect.cpp:164 No locals. #3 0x080dd81f in affect_event (event=..., processing_time=25) at char_affect.cpp:104 info = <optimized out> __FUNCTION__ = "affect_event" ch = <optimized out> #4 0x081a9034 in event_process (pulse=9614) at event.cpp:126 pElem = <optimized out> the_event = {px = 0x3e5c22e0} processing_time = <optimized out> new_time = <optimized out> num_events = 2 #5 0x08382fac in heartbeat (ht=0x29446ff0, pulse=9614) at main.cpp:265 t = 384358 #6 0x08383c49 in idle () at main.cpp:947 pta = {tv_sec = 1701879113, tv_usec = 38646} process_time_count = 7 now = {tv_sec = 0, tv_usec = 0} passed_pulses = 0 t = <optimized out> --Type <RET> for more, q to quit, c to continue without paging--Quit (gdb) bt full #0 0x080dd12b in CHARACTER::FindAffect (wApply=0, dwType=500, this=0x3e5c3a80) at char_affect.cpp:82 pkAffect = 0x3e5c23 it = @0x3e0b4109: 0x3e5c23 __for_range = @0x3e5c7d30: {<std::__cxx11::_List_base<CAffect*, std::allocator<CAffect*> >> = { _M_impl = {<std::allocator<std::_List_node<CAffect*> >> = {<__gnu_cxx::new_allocator<std::_List_node<CAffect*> >> = {<No data fields>}, <No data fields>}, _M_node = {<std::__detail::_List_node_base> = {_M_next = 0x3e0b4101, _M_prev = 0x3e0b4100}, _M_size = 1}}}, <No data fields>} __for_begin = {_M_node = <optimized out>} __for_end = {_M_node = <optimized out>} #1 CHARACTER::ProcessAffect (this=0x3e5c3a80) at char_affect.cpp:346 aff_idx = 500 remain = <optimized out> i = 0 bDiff = false pkAff = <optimized out> afOld = {bits = {<optimized out>, <optimized out>}} lMovSpd = <optimized out> lAttSpd = <optimized out> it = {_M_node = <optimized out>} #2 0x080dd61c in CHARACTER::UpdateAffect (this=0x3e5c3a80) at char_affect.cpp:164 No locals. #3 0x080dd81f in affect_event (event=..., processing_time=25) at char_affect.cpp:104 info = <optimized out> __FUNCTION__ = "affect_event" ch = <optimized out> #4 0x081a9034 in event_process (pulse=9614) at event.cpp:126 pElem = <optimized out> the_event = {px = 0x3e5c22e0} processing_time = <optimized out> new_time = <optimized out> num_events = 2 #5 0x08382fac in heartbeat (ht=0x29446ff0, pulse=9614) at main.cpp:265 t = 384358 #6 0x08383c49 in idle () at main.cpp:947 pta = {tv_sec = 1701879113, tv_usec = 38646} process_time_count = 7 now = {tv_sec = 0, tv_usec = 0} passed_pulses = 0 t = <optimized out> --Type <RET> for more, q to quit, c to continue without paging--ret #7 0x08095bb5 in main (argc=1, argv=0xffbfec1c) at main.cpp:599 sectree_manager = {<singleton<SECTREE_MANAGER>> = {_vptr.singleton = 0x867f6fc <vtable for SECTREE_MANAGER+8>, static ms_singleton = 0xffbfaecc}, 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 = 0x352634e0, _M_left = 0x2c960020, _M_right = 0x2b38bea0}, _M_node_count = 13}, <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::char_traits<char>, std::allocator<char> > const, TAreaInfo> > > > > >> = {<__gnu_cxx::new_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::char_traits<char>, std::allocator<char> > const, TAreaInfo> > > > > >> = {<No data fields>}, <No data fields>}, <std::_Rb_tree_key_compare<std::less<int> >> = { _M_key_compare = {<std::binary_function<int, int, bool>> = {<No data fields>}, <No data fields>}}, <std::_Rb_tree_header> = {_M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xffbfaeec, _M_right = 0xffbfaeec}, _M_node_count = 0}, <No data fields>}}}, m_vec_mapRegion = {<std::_Vector_base<SMapRegion, std::allocator<SMapRegion> >> = { _M_impl = {<std::allocator<SMapRegion>> = {<__gnu_cxx::new_allocator<SMapRegion>> = {<No data fields>}, <No data fields>}, <std::_Vector_base<SMapRegion, std::allocator<SMapRegion> >::_Vector_impl_data> = { _M_start = 0x36a27000, _M_finish = 0x36a29ca0, _M_end_of_storage = 0x36a2a000}, <No data fields>}}, <No data fields>}, m_mapNPCPosition = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<unsigned int const, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<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 = 0x364569c0, _M_left = 0x31555460, _M_right = 0x3d4588c0}, _M_node_count = 11}, <No data fields>}}}, next_private_index_map_ = { _M_h = {<std::__detail::_Hashtable_base<long, std::pair<long const, int>, std::__detail::_Select1st, std::equal_to<long>, std::hash<long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<false, false, true> >> = {<std::__detail::_Hash_code_base<long, std::pair<long const, int>, std::__detail::_Select1st, std::hash<long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = {<std::__detail::_Hashtable_ebo_helper<0, std::__detail::_Select1st, true>> = {<std::__detail::_Select1st> = {<No data fields>}, <No data fields>}, <std::__detail::_Hashtable_ebo_helper<1, std::hash<long>, true>> = {<std::hash<long>> = {<std::__hash_ba--Type <RET> for more, q to quit, c to continue without paging--
×
×
  • 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.