Jump to content

jkhan

Inactive Member
  • Posts

    27
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by jkhan

  1. Hi guys,
    sorry for my english.

    before first channel is turned on,
    after second a channel is not turned on.

    and core & syslog

     

    Channel syslog:

    Aug 18 23:26:57.118331 :: <shutdown> Starting...
    Aug 18 23:26:57.118340 :: <shutdown> Destroying CArenaManager...
    Aug 18 23:26:57.118349 :: ARENA: ArenaMap will be destroy. mapIndex(26)
    Aug 18 23:26:57.118358 :: ARENA: End Duel PID_A(0) vs PID_B(0)
    Aug 18 23:26:57.118367 :: ARENA: End Duel PID_A(0) vs PID_B(0)
    Aug 18 23:26:57.118375 :: ARENA: End Duel PID_A(0) vs PID_B(0)
    Aug 18 23:26:57.118383 :: ARENA: End Duel PID_A(0) vs PID_B(0)
    Aug 18 23:26:57.118393 :: ARENA: ArenaMap will be destroy. mapIndex(112)
    Aug 18 23:26:57.118401 :: ARENA: End Duel PID_A(0) vs PID_B(0)
    Aug 18 23:26:57.118409 :: ARENA: End Duel PID_A(0) vs PID_B(0)
    Aug 18 23:26:57.118417 :: ARENA: End Duel PID_A(0) vs PID_B(0)
    Aug 18 23:26:57.118426 :: ARENA: End Duel PID_A(0) vs PID_B(0)
    Aug 18 23:26:57.118435 :: <shutdown> Destroying COXEventManager...
    Aug 18 23:26:57.118447 :: <shutdown> Disabling signal timer...
    Aug 18 23:26:57.118458 :: <shutdown> Shutting down CHARACTER_MANAGER...
    Aug 18 23:26:57.118466 :: <shutdown> Shutting down ITEM_MANAGER...
    Aug 18 23:26:57.118475 :: <shutdown> Flushing db_clientdesc...
    Aug 18 23:26:57.118487 :: FLUSH START 55
    Aug 18 23:26:57.118552 :: FLUSH SUCCESS
    Aug 18 23:26:57.371329 :: <shutdown> Flushing p2p_manager...
    Aug 18 23:26:57.371399 :: <shutdown> Destroying CShopManager...
    Aug 18 23:26:57.371448 :: <shutdown> Destroying CHARACTER_MANAGER...
    Aug 18 23:27:00.708570 :: <shutdown> Destroying ITEM_MANAGER...
    Aug 18 23:27:00.708643 :: <shutdown> Destroying DESC_MANAGER...
    Aug 18 23:27:00.708662 :: PARTY Disable
    Aug 18 23:27:00.708675 :: SYSTEM: closing client socket. DESC #15
    Aug 18 23:27:00.709993 :: P2P Acceptor closed (host 185.118.142.79)
    Aug 18 23:27:00.710029 :: SYSTEM: closing p2p socket. DESC #17
    Aug 18 23:27:00.711502 :: P2P Acceptor closed (host 185.118.142.79)
    Aug 18 23:27:00.711524 :: SYSTEM: closing p2p socket. DESC #16
    Aug 18 23:27:00.712302 :: <shutdown> Destroying quest::CQuestManager...
    Aug 18 23:27:00.713554 :: <shutdown> Destroying building::CManager...
    Aug 18 23:27:00.713581 :: <shutdown> Destroying TempleOchao_manager.
    Aug 18 23:27:00.713588 :: <shutdown> Flushing TrafficProfiler...
    Aug 18 23:27:00.713593 :: <shutdown> Canceling ReloadSpamEvent...
    Aug 18 23:27:00.713599 :: <shutdown> regen_free()...
    Aug 18 23:27:00.716775 :: <shutdown> Closing sockets...
    Aug 18 23:27:00.716944 :: <shutdown> fdwatch_delete()...
    Aug 18 23:27:00.716967 :: <shutdown> event_destroy()...
    Aug 18 23:27:00.748468 :: <shutdown> CTextFileLoader::DestroySystem()...
    Aug 18 23:27:00.771778 :: <shutdown> thecore_destroy()...


    game.core:

    #0  0x083a50c6 in CAsyncSQL::~CAsyncSQL ()
    #1  0x0818a765 in ~LogManager (this=0xfffffff4) at log.cpp:19
    #2  0x08287ac3 in main (argc=1, argv=0x54) at main.cpp:658

     

    db.core:

    #0  0x080af666 in CAsyncSQL::~CAsyncSQL ()
    #1  0x08050e68 in ~CAsyncSQL2 (this=0x28821b00) at AsyncSQL.h:205
    #2  0x0805051f in CDBManager::Clear (this=0xffffcaf8) at DBManager.cpp:38
    #3  0x08050868 in ~CDBManager (this=0xffffcaf8) at DBManager.cpp:14
    #4  0x0804fefb in main () at Main.cpp:125

    Game: 
    log.cpp: https://pastebin.com/PQx270V2
    main.cpp: https://pastebin.com/vmps68CA

    DB:
    DBManager.cpp: https://pastebin.com/cbtejJhh
    main.cpp: https://pastebin.com/UDThLk8d

    LibSQL:
    AsyncSQL.h: https://pastebin.com/wqM1XCHt

     

    game.core bt full:

    #0  0x083a50c6 in CAsyncSQL::~CAsyncSQL ()
    No symbol table info available.
    #1  0x0818a765 in ~LogManager (this=0xfffffff4) at log.cpp:19
    No locals.
    #2  0x08287ac3 in main (argc=1, argv=0x54) at main.cpp:658
            sectree_manager = {<singleton<SECTREE_MANAGER>> = {_vptr$singleton = 0x83d3830, static ms_singleton = 0xffff992c}, static current_sectree_version = 768,
      m_map_pkSectree = {_M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, SECTREE_MAP*> > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
              _M_parent = 0x397dd560, _M_left = 0x2950cd40, _M_right = 0x593bdf60}, _M_node_count = 27}}}, m_map_pkArea = {_M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const int, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo> > > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const int, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, TAreaInfo> > > > > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xffff994c,
              _M_right = 0xffff994c}, _M_node_count = 0}}}, 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>}, _M_start = 0x51c05000,
            _M_finish = 0x51c05ed8, _M_end_of_storage = 0x51c06300}}, <No data fields>}, m_mapNPCPosition = {_M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, std::vector<npc_info, std::allocator<npc_info> > > > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<std::binary_function<unsigned int,unsigned int,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red,
              _M_parent = 0x3f3d3a20, _M_left = 0x296a3cc0, _M_right = 0x5944c440}, _M_node_count = 26}}},
      next_private_index_map_ = {<std::tr1::_Hashtable<long int,std::pair<const long int, int>,std::allocator<std::pair<const long int, int> >,std::_Select1st<std::pair<const long int, int> >,std::equal_to<long int>,std::tr1::hash<long int>,std::tr1::__detail::_Mod_range_hashing,std::tr1::__detail::_Default_ranged_hash,std::tr1::__detail::_Prime_rehash_policy,false,false,true>> = {<std::tr1::__detail::_Rehash_base<std::tr1::__detail::_Prime_rehash_policy,std::tr1::_Hashtable<long int, std::pair<const long int, int>, std::allocator<std::pair<const long int, int> >, std::_Select1st<std::pair<const long int, int> >, std::equal_to<long int>, std::tr1::hash<long int>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true> >> = {<No data fields>}, <std::tr1::__detail::_Hash_code_base<long int,std::pair<const long int, int>,std::_Select1st<std::pair<const long int, int> >,std::equal_to<long int>,std::tr1::hash<long int>,std::tr1::__detail::_Mod_range_hashing,std::tr1::__detail::_Default_ranged_hash,false>> = {
            _M_extract = {<std::unary_function<std::pair<const long int, int>,const long int>> = {<No data fields>}, <No data fields>},
            _M_eq = {<std::binary_function<long int,long int,bool>> = {<No data fields>}, <No data fields>},
            _M_h1 = {<std::unary_function<long int,unsigned int>> = {<No data fields>}, <No data fields>},
            _M_h2 = {<No data fields>}}, <std::tr1::__detail::_Map_base<long int,std::pair<const long int, int>,std::_Select1st<std::pair<const long int, int> >,true,std::tr1::_Hashtable<long int, std::pair<const long int, int>, std::allocator<std::pair<const long int, int> >, std::_Select1st<std::pair<const long int, int> >, std::equal_to<long int>, std::tr1::hash<long int>, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true> >> = {<No data fields>},
          _M_node_allocator = {<__gnu_cxx::new_allocator<std::tr1::__detail::_Hash_node<std::pair<const long int, int>, false> >> = {<No data fields>}, <No data fields>},
          _M_buckets = 0x29013100, _M_bucket_count = 11, _M_element_count = 0, _M_rehash_policy = {_M_max_load_factor = 1, _M_growth_factor = 2,
            _M_next_resize = 11}}, <No data fields>}}
            char_manager = {<singleton<CHARACTER_MANAGER>> = {_vptr$singleton = 0x83b1fe0, static ms_singleton = 0xffffb62c}, m_iMobItemRate = 100,

     

    db.core bt full:

            Config = {<singleton<CConfig>> = {_vptr$singleton = 0x80b44d0, static ms_singleton = 0xffffcba8}, m_valueMap = {_M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x2880da40, _M_left = 0x2880dc20,
              _M_right = 0x2880d980}, _M_node_count = 18}}}}
            poller = {<CNetBase> = {_vptr$CNetBase = 0x80b4548, static m_fdWatcher = 0x28877b60}, <singleton<CNetPoller>> = {_vptr$singleton = 0x80b4558,
        static ms_singleton = 0xffffcbd0}, <No data fields>}
            DBManager = {<singleton<CDBManager>> = {_vptr$singleton = 0x80b4ec0, static ms_singleton = 0xffffcaf8}, m_mainSQL = {0x28821b00, 0x28822a00, 0x28823900,
        0x28824800}, m_directSQL = {0x28821100, 0x28822500, 0x28823400, 0x28824300}, m_asyncSQL = {0x28822000, 0x28822f00, 0x28823e00, 0x28824d00}, m_quit = 676861576}
            ClientManager = {<CNetBase> = {_vptr$CNetBase = 0x80b4568, static m_fdWatcher = 0x28877b60}, <singleton<CClientManager>> = {_vptr$singleton = 0x80b84e8,
        static ms_singleton = 0x0}, m_looping = 672001536, m_fdAccept = -1, m_peerList = {<std::_List_base<CPeer*,std::allocator<CPeer*> >> = {
          _M_impl = {<std::allocator<std::_List_node<CPeer*> >> = {<__gnu_cxx::new_allocator<std::_List_node<CPeer*> >> = {<No data fields>}, <No data fields>},
            _M_node = {_M_next = 0xffffc31c, _M_prev = 0xffffc31c}}}, <No data fields>}, m_pkAuthPeer = 0x0, m_map_pkLoginData = {
        table_ = {<boost::unordered_detail::hash_table<boost::unordered_detail::map<unsigned int, boost::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<const unsigned int, CLoginData*> > > >> = {<boost::unordered_detail::hash_buckets<std::allocator<std::pair<const unsigned int, CLoginData*> >,boost::unordered_detail::ungrouped>> = {buckets_ = 0x0, bucket_count_ = 11,
              allocators_ = {<boost::details::compressed_pair_imp<std::allocator<boost::unordered_detail::hash_bucket<std::allocator<std::pair<const unsigned int, CLoginData*> > > >,std::allocator<boost::unordered_detail::hash_node<std::allocator<std::pair<const unsigned int, CLoginData*> >, boost::unordered_detail::ungrouped> >,3>> = {<std::allocator<boost::unordered_detail::hash_bucket<std::allocator<std::pair<const unsigned int, CLoginData*> > > >> = {<__gnu_cxx::new_allocator<boost::unordered_detail::hash_bucket<std::allocator<std::pair<const unsigned int, CLoginData*> > > >> = {<No data fields>}, <No data fields>}, <std::allocator<boost::unordered_detail::hash_node<std::allocator<std::pair<const unsigned int, CLoginData*> >, boost::unordered_detail::ungrouped> >> = {<__gnu_cxx::new_allocator<boost::unordered_detail::hash_node<std::allocator<std::pair<const unsigned int, CLoginData*> >, boost::unordered_detail::ungrouped> >> = {<No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}}, <boost::unordered_detail::hash_buffered_functions<boost::hash<unsigned int>,std::equal_to<unsigned int> >> = {current_ = false, funcs_ = {{data_ = {
                    buf = "]", align_ = 93 ']'}}, {data_ = {buf = "(", align_ = 40 '('}}}}, size_ = 0, mlf_ = 1, cached_begin_bucket_ = 0x0,
            max_load_ = 0}, <No data fields>}}, m_map_pkLoginDataByLogin = {
        table_ = {<boost::unordered_detail::hash_table<boost::unordered_detail::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, CLoginData*> > > >> = {<boost::unordered_detail::hash_buckets<std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, CLoginData*> >,boost::unordered_detail::ungrouped>> = {buckets_ = 0x0,
              bucket_count_ = 11,
              allocators_ = {<boost::details::compressed_pair_imp<std::allocator<boost::unordered_detail::hash_bucket<std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, CLoginData*> > > >,std::allocator<boost::unordered_detail::hash_node<std::allocator<std::pair<const std::basic_string<c---Type <return> to continue, or q <return> to quit---

     

    And if we turn it on;
    file game
    core db.core

    #0  0x080af666 in CHARACTER::UseItemEx (this=0x286c2b36, item=0xffffb99c, DestCell={window_type = 0 '\0', cell = 0}) at char_item.cpp:5380
    #1  0x08050e68 in Acce_absorption_make (ch=0x1) at acce.cpp:679
    #2  0x0805051f in Acce_clean_item () at acce.cpp:253
    #3  0x08050868 in Acce_print () at acce.cpp:500
    #4  0x0804fefb in _lzo_config_check () at minilzo.c:1293
    #5  0x0804b8da in .dynstr ()
    #6  0x00000000 in ?? ()

    acce.cpp: https://pastebin.com/tBrbEfg9
    char_item.cpp: https://pastebin.com/KBAp6TAD
    minilzo.c: https://pastebin.com/TjTt2tr1

    Thanks, kind regards.

  2. Hi guys,
    sorry for my english.
    I have a problem, i will be glad if you help me.

     

    Core BT;

    #0  CHARACTER::GetName (this=0x0) at basic_string.h:280
    #1  0x08168c3a in CInputMain::Whisper (this=0x2b60649c, ch=0x543b8000, data=0x54be1000 "\023)", uiBytes=42) at input_main.cpp:471
    #2  0x0816a9ef in CInputMain::Analyze (this=0x2b60649c, d=0x2b606400, bHeader=<value optimized out>, c_pData=0x54be1000 "\023)") at input_main.cpp:3618
    #3  0x0814e81b in CInputProcessor::Process (this=0x2b60649c, lpDesc=0x2b606400, c_pvOrig=0x54be1000, iBytes=42, r_iBytesProceed=@0xffff94c4) at input.cpp:99
    #4  0x08116d33 in DESC::ProcessInput (this=0x2b606400) at desc.cpp:313
    #5  0x08285b34 in io_loop (fdw=0x2964a160) at main.cpp:1036
    #6  0x08286561 in idle () at main.cpp:919
    #7  0x08287c66 in main (argc=1, argv=0xffffcc2c) at main.cpp:576

     

    bt full: https://pastebin.com/WsEypKeE

    desc.cpp: https://pastebin.com/yEVVbEdd
    input.cpp: https://pastebin.com/RebhbpZe
    input_main.cpp: https://pastebin.com/hTvWqJ2x
    main.cpp: https://pastebin.com/L6i88Rp8

    I'm waiting for your help, thanks kind regards.

     

  3. Hi guys,
    First sorry my english.
    I need help.

    Channel1's game.core.
    Please can you help me?

    Game.core;

    #0  0x080741d3 in CHARACTER::SetWarpLocation () at char.cpp:5910
            gs_bgmVolEnable = false
            __gthread_active = -1
            gs_bgmInfoMap = {_M_t = {
        _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int,                                                                                         BGMInfo> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const un                                                                                        signed int, BGMInfo> > >> = {<No data fields>}, <No data fields>},
          _M_key_compare = {<> = {<No data fields>}, <No data fields>},
          _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x0,
            _M_right = 0x0}, _M_node_count = 0}}}
            NPOS = {window_type = 0 '\0', cell = 0}
            aiRecoveryPercents = {1, 5, 5, 5, 5, 5, 5, 5, 5, 5}
            singleton<CGuildManager>::ms_singleton = (CGuildManager *) 0x0
            singleton<P2P_MANAGER>::ms_singleton = (P2P_MANAGER *) 0x0
            singleton<CBanwordManager>::ms_singleton = (CBanwordManager *) 0x0
            singleton<CSkillManager>::ms_singleton = (CSkillManager *) 0x0
            singleton<quest::CQuestManager>::ms_singleton = (
        class quest::CQuestManager *) 0x0
            singleton<CTableBySkill>::ms_singleton = (CTableBySkill *) 0x0
            singleton<CShopManager>::ms_singleton = (CShopManager *) 0x0
            boost::unordered_detail::prime_list_template<unsigned int>::value = {
      5, 11, 17, 29, 37, 53, 67, 79, 97, 131, 193, 257, 389, 521, 769, 1031, 1543,
      2053, 3079, 6151, 12289, 24593, 49157, 98317, 196613, 393241, 786433,
    ---Type <return> to continue, or q <return> to quit---
      1572869, 3145739, 6291469, 12582917, 25165843, 50331653, 100663319,
      201326611, 402653189, 805306457, 1610612741, 3221225473, 4294967291}
            singleton<CPCBangManager>::ms_singleton = (CPCBangManager *) 0x0
            singleton<SECTREE_MANAGER>::ms_singleton = (SECTREE_MANAGER *) 0x0
            singleton<ITEM_MANAGER>::ms_singleton = (ITEM_MANAGER *) 0x0
            std::tr1::__detail::_Primes<4>::__primes = {2, 3, 5, 7, 11, 13, 17,
      19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 103,
      109, 113, 127, 137, 139, 149, 157, 167, 179, 193, 199, 211, 227, 241, 257,
      277, 293, 313, 337, 359, 383, 409, 439, 467, 503, 541, 577, 619, 661, 709,
      761, 823, 887, 953, 1031, 1109, 1193, 1289, 1381, 1493, 1613, 1741, 1879,
      2029, 2179, 2357, 2549, 2753, 2971, 3209, 3469, 3739, 4027, 4349, 4703,
      5087, 5503, 5953, 6427, 6949, 7517, 8123, 8783, 9497, 10273, 11113, 12011,
      12983, 14033, 15173, 16411, 17749, 19183, 20753, 22447, 24281, 26267, 28411,
      30727, 33223, 35933, 38873, 42043, 45481, 49201, 53201, 57557, 62233, 67307,
      72817, 78779, 85229, 92203, 99733, 107897, 116731, 126271, 136607, 147793,
      159871, 172933, 187091, 202409, 218971, 236897, 256279, 277261, 299951,
      324503, 351061, 379787, 410857, 444487, 480881, 520241, 562841, 608903,
      658753, 712697, 771049, 834181, 902483, 976369, 1056323, 1142821, 1236397,
      1337629, 1447153, 1565659, 1693859, 1832561, 1982627, 2144977, 2320627,
      2510653, 2716249, 2938679, 3179303, 3439651, 3721303, 4026031, 4355707,
      4712381, 5098259, 5515729, 5967347, 6456007, 6984629, 7556579, 8175383,
      8844859, 9569143, 10352717, 11200489, 12117689, 13109983, 14183539,
      15345007, 16601593, 17961079, 19431899, 21023161, 22744717, 24607243,
    ---Type <return> to continue, or q <return> to quit---
      26622317, 28802401, 31160981, 33712729, 36473443, 39460231, 42691603,
      46187573, 49969847, 54061849...}
            singleton<CMobManager>::ms_singleton = (CMobManager *) 0x0
            singleton<CDungeonManager>::ms_singleton = (CDungeonManager *) 0x0
            singleton<CXTrapManager>::ms_singleton = (CXTrapManager *) 0x0
            singleton<MessengerManager>::ms_singleton = (MessengerManager *) 0x0
            singleton<CHARACTER_MANAGER>::ms_singleton = (CHARACTER_MANAGER *) 0x0
            singleton<LogManager>::ms_singleton = (LogManager *) 0x0
            singleton<DBManager>::ms_singleton = (DBManager *) 0x0
            singleton<CPartyManager>::ms_singleton = (CPartyManager *) 0x0
            singleton<CMapLocation>::ms_singleton = (CMapLocation *) 0x0
            singleton<CHackShieldManager>::ms_singleton = (
        CHackShieldManager *) 0x0
            singleton<DESC_MANAGER>::ms_singleton = (DESC_MANAGER *) 0x0
            singleton<DSManager>::ms_singleton = (DSManager *) 0x0
            singleton<CMonarch>::ms_singleton = (CMonarch *) 0x0
            singleton<CPVPManager>::ms_singleton = (CPVPManager *) 0x0
            singleton<CMotionManager>::ms_singleton = (CMotionManager *) 0x0
            singleton<CHorseNameManager>::ms_singleton = (CHorseNameManager *) 0x0
            singleton<COfflineShopManager>::ms_singleton = (
        COfflineShopManager *) 0x0
            singleton<marriage::CManager>::ms_singleton = (class marriage::CManager
         *) 0x0
    ---Type <return> to continue, or q <return> to quit---
            singleton<CTargetManager>::ms_singleton = (CTargetManager *) 0x0
    #1  0x08168c3a in CInputMain::Whisper (this=0x5350159c, ch=0x52c51000,
        data=0x52803000 "\023)", uiBytes=42) at gthr-default.h:182
            pack = {bHeader = 0 '\0', wSize = 0, bType = 0 '\0',
      szNameFrom = "\000\000\004▒▒(\210\235▒▒▒▒▒(▒▒▒▒▒▒▒\177\n\000"}
            msg_1 = "\000\000\000\000\000\a\000\000\000\000\000\000\000▒▒▒▒▒▒▒\177\000\000\000\000[▒J(h\000\000\000 \000\000\000▒▒▒(\210\235▒▒B▒J(\024u▒( \000\000\000▒▒▒\004▒▒(Ȣ▒▒M▒▒(▒▒▒\000\000\000\000\n\000\000\000t▒▒(\221▒▒▒▒:\b\b\000\000\000\030\000\000\000\004\000\000\000\200\237▒▒\b\000\000\000`(K\b\b\000\000\000▒:\b\n\000\000\0005]▒)\024▒▒▒\n\000\000\000\003\000\000\000\004\000\000\000\003▒▒▒\001\000\000\000`(K\b\003\000\000\000P▒:\b\r\000\000\000 \032K\b\000\000\000\000\000\000\000\000g▒▒(\000\000\000\000\226N▒"...
            len = <value optimized out>
            buf = {buf = 0x52c016e0, forceDelete = true}
            iExtraLen = 13
            pkChr = 0x0
            pkDesc = 0x531f2100
            bOpponentEmpire = 3 '\003'
            __FUNCTION__ = "Whisper"
    #2  0x0816a9ef in std::__find_if<__gnu_cxx::__normal_iterator<char*, std::string>, int (*)(int)> (__first={_M_current = 0x5350159c "`U<\b▒\025PS*"}, __last=
          {_M_current = 0x53501500 "\020▒;\b\234\025PSx▒;\b\024\025PS"},
        __pred=0x52c51000) at stl_algo.h:264
    ---Type <return> to continue, or q <return> to quit---
            __trip_count = 1397757340
    #3  0x0814e81b in CInputHandshake::~CInputHandshake () at input.h:27
            __gthread_active = -1
            NPOS = {window_type = 0 '\0', cell = 0}
            singleton<CProfiler>::ms_singleton = (CProfiler *) 0x0
            singleton<P2P_MANAGER>::ms_singleton = (P2P_MANAGER *) 0x0
            g_vec_save = {<std::_Vector_base<SPlayerTable,std::allocator<SPlayerTable> >> = {
        _M_impl = {<std::allocator<SPlayerTable>> = {<__gnu_cxx::new_allocator<SPlayerTable>> = {<No data fields>}, <No data fields>}, _M_start = 0x0,
          _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}
            singleton<quest::CQuestManager>::ms_singleton = (
        class quest::CQuestManager *) 0x0
            g_sim = {_M_t = {
        _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, CLoginSim*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, CLoginSim*> > >> = {<No data fields>}, <No data fields>},
          _M_key_compare = {<> = {<No data fields>}, <No data fields>},
          _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x0,
            _M_right = 0x0}, _M_node_count = 0}}}
            singleton<TrafficProfiler>::ms_singleton = (TrafficProfiler *) 0x0
            singleton<DBManager>::ms_singleton = (DBManager *) 0x0
            singleton<CPrivManager>::ms_singleton = (CPrivManager *) 0x0
    ---Type <return> to continue, or q <return> to quit---
            singleton<DESC_MANAGER>::ms_singleton = (DESC_MANAGER *) 0x0
            g_simByPID = {_M_t = {
        _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const unsigned int, CLoginSim*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const unsigned int, CLoginSim*> > >> = {<No data fields>}, <No data fields>},
          _M_key_compare = {<> = {<No data fields>}, <No data fields>},
          _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x0,
            _M_right = 0x0}, _M_node_count = 0}}}
            singleton<LogManager>::ms_singleton = (LogManager *) 0x0
    #4  0x08116d33 in DESC::HandshakeProcess (this=0x52803000, dwTime=19,
        lDelta=-23356, bInfiniteRetry=255) at desc.cpp:683
            dwCurTime = 1397757340
            lNewDelta = <value optimized out>
            __FUNCTION__ = "HandshakeProcess"
    #5  0x08285b34 in ReadMapAttribute (dwAreaX=694105888, dwAreaY=3,
        c_pszFileName=0x3 <Address 0x3 out of bounds>) at test.cpp:264
            fp = (FILE *) 0x53501500
            wCC = <value optimized out>
            wWidth = <value optimized out>
            wHeight = <value optimized out>
            pbAttr = <value optimized out>
            dwStartX = <value optimized out>
            dwStartY = <value optimized out>
    ---Type <return> to continue, or q <return> to quit---
            dwEndX = <value optimized out>
            dwEndY = <value optimized out>
            __FUNCTION__ = "ReadMapAttribute"
    #6  0x08286561 in ConvertAttribute (c_pszCollisionDataFileName=0x0,
        c_pszMapDirectory=0x52ad7840 "\031▒$▒\026▒▒v[▒\214#f\vl▒\237\236▒▒\216mV\207\230\226▒C\027\036▒o\216\236") at test.cpp:808
            szFilename = "\205▒kb*\000\000\0000▒\024\b\000\025PSؤ▒▒3m\021\b\234\025PS\000\025PS\0000\200R*\000\000\000Ĥ▒▒Ĥ▒▒*\000\000\000▒>iR\024▒@)\000\000\000\000\205▒kb\000\025PS\003\000\000\000 7_)8▒▒▒4[(\b\000\025PS\025\000\000\000\003\000\000\000▒▒\004\000\004▒▒(\b▒▒▒\025e▒(\000\000\000\000\000\000\000\000\004\000\000\0008▒▒▒▒\003", '\0' <repeats 13 times>, "\220▒▒R\224▒@)\205▒kb\205▒kb\000\000\000\000▒▒\004\0008▒▒▒\230▒▒▒ae(\b 7_)▒▒\004\000▒\002\000\000▒9\000\000▒\003\000"...
            setting = {iIndex = 1387100224, iCellScale = 11, iBaseX = 1,
      iBaseY = 65536, iWidth = 11, iHeight = 138308372, posSpawn = {x = 1, y = 1,
        z = -23400}}
            iMapHeight = 1384132608
            iMapWidth = <value optimized out>
            bx = <value optimized out>
            by = <value optimized out>
            x = <value optimized out>
            y = <value optimized out>
            fp = <value optimized out>
    ---Type <return> to continue, or q <return> to quit---
            uiCompSize = <value optimized out>
            __FUNCTION__ = "ConvertAttribute"
    #7  0x08287c66 in ~singleton (this=0x206) at singleton.h:21
    No locals.
    #8  0x0804ea4a in lzo1x_1_compress (in=0xffffdc08 "(▒▒▒▒▒\004\b`▒J(\001",
        in_len=1651242629, out=0x83 <Address 0x83 out of bounds>,
        out_len=0x29408f88, wrkmem=0x3f800000) at minilzo.c:1783
            op = (unsigned char *) 0x206 <Address 0x206 out of bounds>
            t = <value optimized out>
    #9  0x0804e9b8 in lzo1x_1_compress (in=0xffffdc08 "(▒▒▒▒▒\004\b`▒J(\001",
        in_len=1, out=0x206 <Address 0x206 out of bounds>, out_len=0x804ea4a,
        wrkmem=0xffffdc08) at minilzo.c:1926
            tt = 4294958096
            ii = <value optimized out>
            op = (unsigned char *) 0x0
            t = 0


    The files mentioned;
    char.cpp: https://paste2.org/L5WDL23X
    desc.cpp: https://paste2.org/y19y8z5w
    input.h: https://paste2.org/UVhkNZUb
    test.cpp: https://paste2.org/6CceVVnU

    Thanx, kind regards.

  4. Hi guys,

    My problem,
    Ring closes with teleport

    This is my code, can you help me please

    Kind regards, thanks.

    Sorry for my bad english.

     

    quest antiexpsrc begin
        state start begin
    		when login begin
    			cmdchat("anti_index "..q.getcurrentquestindex())
    		end
    		when button or info begin
                if pc.getqf("antiexp") == 0 then
    			-- exp sifirla
    			local ep = pc.get_exp()
    			pc.give_exp2(-ep)
    			-- exp sifirla	
                    pc.block_exp()
                    pc.setqf("antiexp", 1)
                    syschat("Tanrica'nin laneti uzerinde. Laneti deaktif etmedikce tecrube kazanamayacaksiniz.")
                elseif pc.getqf("antiexp") == 1 then
    			-- exp sifirla
    			local ep = pc.get_exp()
    			pc.give_exp2(-ep)
    			-- exp sifirla	
                    pc.unblock_exp()
                    pc.setqf("antiexp", 0)
                    syschat("Tanrica'nin laneti kaldirildi. Artik tecrube kazabilirsiniz.")
    				end
    		end
    	end
    end

     

  5. 2 hours ago, Syreldar said:

    then that quest fits you, substitute the XXX with the vnum of the item you want to use and you are set.

    Thank you but,
    This will not happen that. If the time is reset and no task is given the time will not be reset for the 2nd time. If the time is reset and the task is given, The System Will be reset.
    Sorry for my bad English.
  6. 1 hour ago, Syreldar said:

    What do you mean by reuse of active? You mean you only want to make it possible to use this only once per player, on an item?

     

    if yes:

    Substitute XXX with the item vnum, and keep in mind the item's type must be 18 in order for the quest to work.

     

    
    quest biologist_reset begin
    	state start begin
    		function ResetBiologist()
    			local quest_names = {
    				[1] = "collect_quest_lv30",
    				[2] = "collect_quest_lv40",
    				[3] = "collect_quest_lv50",
    				[4] = "collect_quest_lv60",
    				[5] = "collect_quest_lv70",
    				[6] = "collect_quest_lv80",
    				[7] = "collect_quest_lv85",
    				[8] = "collect_quest_lv90",
    				[9] = "collect_quest_lv92",
    				[10] = "collect_quest_lv94"
    			};
    
    			for i = 1, table.getn(quest_names) do
    				pc.setf(quest_names[i], "duration", 0);
    			end -- for
    		end -- function
    
    		when XXX.use begin
    			say_title(string.format("%s:[ENTER]", item_name(item.get_vnum())))
    			if (pc.getqf("biologist_reset") == 0) then
    				say("Are you sure?")
    				say("You can only do this once.[ENTER]")
    				if (select("Yes", "Not now") == 1) then
    					pc.setqf("biologist_reset", 1);
    					biologist_reset.ResetBiologist();
    				end -- if
    			else
    				say("You already used it.")
    				say("You can't use it anymore.[ENTER]")
    			end -- if/else
    		end -- when
    	end -- state
    end -- quest

     

    Thank you bro,

    soory for my bad english.
    I could not explain exactly
    I want if the time is reset, prevent it from being used again.
    I appreciate your help.
    Thank you!

  7. 21 minutes ago, Source said:
    
    quest biolog_reset_time begin
    	state start begin
    		when 20094.chat."Reset Time" begin
    			say_title("Reset Time")
    			say(" ")
    			say("Do you want to reset the time?")
    			say(" ")
    			local s = option("Yes","No")
    			if s == 1 and pc.count_item(70001) >= 1 then
      				pc.setqf("collect_timewait", 0)
      				pc.remove_item(70001, 1)
      				say_title("Reset Time")
      				say(" ")	
      				say("Okay, done!")
      				say(" ")
      				return
      			elseif s == 1 and pc.count_item(70001) < 1 then
      				say_title("Reset Time")
      				say(" ")
      				say("You don't have "..item_name(70001).." !")
      				say("Come back when you have it...")
      				say(" ")
      				return
      			else
      				say_title("Reset Time")
      				say(" ")
      				say("Okay! See you later...")
      				say(" ")
      				return
      			end -- if
    		end -- when
    	end -- state
    end -- quest

     

    Thanks but this is not what I want.
    if duration is 0 means not to use item i want.

  8. Hi, 

    If it is active I want it not to run.
    Can you help me?
    Sorry for my bad English.

    Thanks,
    Good works.

    
    quest biolog_time_reset begin
    	state start begin
    		function remove_time()
    			local biologistDict = {
    				"collect_quest_lv30", "collect_quest_lv40",
    				"collect_quest_lv50", "collect_quest_lv60",
    				"collect_quest_lv70", "collect_quest_lv80",
    				"collect_quest_lv85", "collect_quest_lv90",
    				"collect_quest_lv92", "collect_quest_lv94"
    			}
    
    			for questName = 1, table.getn(biologistDict) do
    				pc.setf(biologistDict[questName], "duration", 0) -- SetFlag(questName + "." + stateName, iValue);
    				syschat(string.format("pc.setf(%s.duration, 0)", biologistDict[questName]))
    			end
    		end
    		when 20094.chat."Reset Time..." begin
    			if pc.count_item(70001) >= 1 then
    				say_title("Reset Biolog Time:")
    				say("reset time..")
    				say("")
    				say("")
    				say("")
    			local s = select("yes","no.")
    			if s == 1 then
    				say_title("reset time:")
    				say("")
    				say("your time reset")
    				pc.remove_item("70022",1)
    				biolog.remove_time();
    			else
    				say_title("reset time:")
    				say("")
    				say("ok, see you")
    				end
    			else
    				say_title("reset time")
    				say("")
    				say("no item")
    				say("find and come")
    				say("...")
    			end
    		end
    	end
    end

     

×
×
  • 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.