Jump to content

VitaminsizFerdi

Inactive Member
  • Posts

    11
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by VitaminsizFerdi

  1. vor 1 Stunde schrieb WeedHex:

    Remove the logs or understand why there's a null ptr on 

      Inhalt unsichtbar machen

        while (it != m_pPacketMap.end())
        {
            TPacketElement * p = it->second;

     

    void CPacketInfo::Log(const char * c_pszFileName)
    {
    	FILE * fp;
    
    	fp = fopen(c_pszFileName, "w");
    
    	if (!fp)
    		return;
    
    	std::map<int, TPacketElement *>::iterator it = m_pPacketMap.begin();
    
    	fprintf(fp, "Name             Called     Load       Ratio\n");
    
    	while (it != m_pPacketMap.end())
    	{
    		TPacketElement * p = it->second;
    		++it;
    
    		fprintf(fp, "%-16s %-10d %-10u %.2f\n",
    				p->stName.c_str(),
    				p->iCalled,
    				p->dwLoad,
    				p->iCalled != 0 ? (float) p->dwLoad / p->iCalled : 0.0f);
    	}
    
    	fclose(fp);
    }

     

  2. Hey,

    Have anybody some ideas? i get kick if im in a group and teleport to another core..

    Spoiler
    
    #0  0x2897b91e in ?? () from /usr/lib32/libstdc++.so.6
    (gdb) bt full
    #0  0x2897b91e in ?? () from /usr/lib32/libstdc++.so.6
    No symbol table info available.
    #1  0x081bd00a in CPacketInfo::Log (this=0x2d764cd8,
        c_pszFileName=0x859505c "packet_info.txt") at stl_tree.h:183
            p = (TPacketElement *) 0x0
            fp = (FILE *) 0x28bc34e8
    #2  0x081be02f in ~CPacketInfoCG (this=0x2d764cd8) at packet_info.cpp:252
    No locals.
    #3  0x08130b29 in ~DESC (this=0x2d764c00) at input.h:27
    No locals.
    #4  0x08135266 in DESC_MANAGER::DestroyDesc (this=0xffffd80c, d=0x2d764c00,
        bEraseFromSet=false) at desc_manager.cpp:263
    No locals.
    #5  0x081358f5 in DESC_MANAGER::DestroyClosed (this=0xffffd80c)
        at desc_manager.cpp:290
            d = 0x2d764c00
            ci = {<std::tr1::__detail::_Hashtable_iterator_base<DESC*,false>> = {
        _M_cur_node = 0x2d3def90, _M_cur_bucket = 0x299632b4}, <No data fields>}
            i = {<std::tr1::__detail::_Hashtable_iterator_base<DESC*,false>> = {
        _M_cur_node = 0x29d40890, _M_cur_bucket = 0x299632b8}, <No data fields>}
    #6  0x082aa813 in io_loop (fdw=0x2917eae0) at main.cpp:1036
            num_events = 1
            event_idx = <value optimized out>
    ---Type <return> to continue, or q <return> to quit---
            __FUNCTION__ = "io_loop"
    #7  0x082ab369 in idle () at main.cpp:983
            now = {tv_sec = 1562625225, tv_usec = 886821}
            passed_pulses = <value optimized out>
            t = 2019928
            pta = {tv_sec = 1562625225, tv_usec = 7755}
            process_time_count = 22
    #8  0x082acafb in main (argc=1, argv=0xffffdbe4) at main.cpp:623
            sectree_manager = {<singleton<SECTREE_MANAGER>> = {
        _vptr$singleton = 0x85a0fb8, static ms_singleton = 0xffffa808},
      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 = 0x2b1b8dc0, _M_left = 0x2c55a100,
              _M_right = 0x2e37e020}, _M_node_count = 10}}}, 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---Type <return> to continue, or q <return> to quit---
    <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 = 0x2dd73c70,
              _M_left = 0x2dd73c70, _M_right = 0x2dd73c70}, _M_node_count = 1}}},
      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 = 0x2c3a2000,
            _M_finish = 0x2c3a3858,
            _M_end_of_storage = 0x2c3a4600}}, <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 = 0x2dd4d900, _M_left = 0x2e52e860,
    ---Type <return> to continue, or q <return> to quit---

     

    + i found in syserr this;

    P2PJoin: member is not in same channel PID: 6838 channel 99, this channel 1

  3. Hey com,

    I try to insert Great Offline shop. I did this without problems. Now if i try to login & after i select my character in select character window i will be kicked & i got no errors Serverside/Clientside

    Can anybody help?

    edit++

    Spoiler

    190407 12:27:25 mysqld_safe Logging to '/var/db/mysql/devsib.err'.
    190407 12:27:25 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
    2019-04-07 12:27:26 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2019-04-07 12:27:26 0 [Note] /usr/local/libexec/mysqld (mysqld 5.6.43) starting as process 2712 ...
    2019-04-07 12:27:26 2712 [Note] Plugin 'FEDERATED' is disabled.
    2019-04-07 12:27:26 2712 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2019-04-07 12:27:26 2712 [Note] InnoDB: The InnoDB memory heap is disabled
    2019-04-07 12:27:26 2712 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2019-04-07 12:27:26 2712 [Note] InnoDB: Memory barrier is not used
    2019-04-07 12:27:26 2712 [Note] InnoDB: Compressed tables use zlib 1.2.11
    2019-04-07 12:27:26 2712 [Note] InnoDB: Not using CPU crc32 instructions
    2019-04-07 12:27:26 2712 [Note] InnoDB: Initializing buffer pool, size = 128.0M
    2019-04-07 12:27:26 2712 [Note] InnoDB: Completed initialization of buffer pool
    2019-04-07 12:27:26 2712 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 0 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
    2019-04-07 12:27:26 2712 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
    2019-04-07 12:27:26 2712 [ERROR] Plugin 'InnoDB' init function returned error.
    2019-04-07 12:27:26 2712 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    2019-04-07 12:27:26 2712 [ERROR] Unknown/unsupported storage engine: InnoDB
    2019-04-07 12:27:26 2712 [ERROR] Aborting

    2019-04-07 12:27:26 2712 [Note] Binlog end
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'partition'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_FT_DELETED'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_METRICS'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_CMPMEM'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_CMP_RESET'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_CMP'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_LOCKS'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'INNODB_TRX'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'BLACKHOLE'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'ARCHIVE'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'MRG_MYISAM'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'MyISAM'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'MEMORY'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'CSV'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'sha256_password'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'mysql_old_password'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'mysql_native_password'
    2019-04-07 12:27:26 2712 [Note] Shutting down plugin 'binlog'
    2019-04-07 12:27:26 2712 [Note] /usr/local/libexec/mysqld: Shutdown complete

    190407 12:27:26 mysqld_safe mysqld from pid file /var/db/mysql/devsib.pid ended
     

    edit, i fix the syserr from /var/db and it solves not my problem

     

    edit+ 

    habe nun folgende syserr:

    Spoiler

    SYSERR: Apr  7 13:46:01 :: GetServerLocation: location error name teeestpvp mapindex 0 959403 x 271850 empire 3
    SYSERR: Apr  7 13:46:01 :: GetServerLocation: cannot find server for mapindex 0 969600 x 278400 (name teeestpvp)

    Habe nach dem Fehler gesucht & gegooglet dennoch kein ergebnis


  4. root@cloud604753:/usr/home/game/Channel1/Kern1 # gdb
    GNU gdb 6.1.1 [FreeBSD]
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB.  Type "show warranty" for details.
    This GDB was configured as "amd64-marcel-freebsd".
    (gdb) file game
    game: No such file or directory.
    (gdb)
     

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