Jump to content

Finch

Banned
  • Posts

    131
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Finch

  1. #0  0x082836e9 in mysql_real_query () at atomicity.h:51
    51        { return __sync_fetch_and_add(__mem, __val); }
    [New Thread 28c04300 (LWP 100099/game)]
    (gdb) bt
    #0  0x082836e9 in mysql_real_query () at atomicity.h:51
    #1  0x0839c8e7 in CAsyncSQL::DirectQuery ()
    #2  0x080da850 in __LoadExpTableFromDB () at config.cpp:328
    #3  0x080dad87 in config_init (st_localeServiceName=@0xbfbfb8f4)
        at config.cpp:375
    #4  0x08220418 in start (argc=1, argv=0xbfbfeed8) at main.cpp:630
    #5  0x08220dfb in main (argc=1, argv=0xbfbfeed8) at main.cpp:425
    (gdb)
    static bool __LoadExpTableFromDB(void)
    {
    	std::auto_ptr<SQLMsg> pMsg(AccountDB::instance().DirectQuery("SELECT level, exp FROM exp_table"));
    	if (pMsg->Get()->uiNumRows == 0)
    		return false;
    
    	static DWORD new_exp_table[PLAYER_MAX_LEVEL_CONST+1];
    	if (exp_table != NULL)
    		memcpy(new_exp_table, exp_table, (PLAYER_MAX_LEVEL_CONST+1)*sizeof(DWORD));
    
    	MYSQL_ROW row = NULL;
    	while ((row = mysql_fetch_row(pMsg->Get()->pSQLResult)))
    	{
    		DWORD level = 0;
    		DWORD exp = 0;
    		str_to_number(level, row[0]);
    		str_to_number(exp, row[1]);
    		if (level > PLAYER_MAX_LEVEL_CONST)
    			continue;
    		new_exp_table[level] = exp;
    		// printf("new_exp_table[%u] = %u;\n", level, exp);
    	}
    	exp_table = new_exp_table;
    	return true;
    }

     

  2. On 05.04.2017 at 4:01 PM, MrLibya said:

    Hello everyone !
    I've been away from metin2 for about 6 months and i've get back from less then a month and made thoes systems , i've start selling them but i didn't sell it to anyone and i got bored from metin2 again so i'm going to release it and go off from metin2 for ever .


    about the Advance Refine System here some info:

      Reveal hidden contents
    • You can select which npc vnum u want for the refien set , from db ( player.refine_proto).
    • Default npc vnum is the BLACKSMITH ( 20016 ).
    • Easily enable or disable and get back to normal mode.
    • Clean code.

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif[/IMG]


    https://youtu.be/tqoduF5g8x0
     

     


    so download and have fun biggrin.gif

     

    Advance Refine System.rar

    Soul Bind System.rar

    Cheque System.rar

  3. On 01.02.2017 at 10:54 AM, AshaMt2 said:

    hello, hwo can help me ?

    I changed three versions of VirtualBox and I always had the same problem, I tried with VirtualBox 4.3.20 like in this video, and I followed every step, 5 times.. 
    please someone can help me ? Thanks!

    Capture.PNG

     

    5 hours ago, InDeepTerror said:

    Instead of using the 9.3 version, get the latest version (iso file i386 aswell). Support for dialog4ports for 9.3 is not available anymore, so you need to get the latest version

    https://forums.freebsd.org/threads/59383/ fix

  4. 1016 23:36:07374 :: CResourceManager::GetResourcePointer: filename error!
    1016 23:37:15307 :: CResourceManager::GetResourcePointer: filename error!
    1016 23:38:46653 :: CResourceManager::GetResourcePointer: filename error!
    1016 23:38:04651 :: CResourceManager::GetResourcePointer: filename error!
    1016 23:38:08687 :: CResourceManager::GetResourcePointer: filename error!
    1016 23:39:56403 :: CResourceManager::GetResourcePointer: filename error!
    1016 23:39:00466 :: CResourceManager::GetResourcePointer: filename error!
    1016 23:39:10634 :: CResourceManager::GetResourcePointer: filename error!

     

     

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