[PAID SERVICE] LF 6/7 bonus system
Similar Content
-
Activity
-
0
AsyncSQL m_stHost and MYSQL_OPT_RECONNECT deprecation
I just updated my server to be compatible with MySQL80. I have two question: 1. in AsyncSQL.cpp CAsyncSQL::Connect function the m_stHost value is lost after mysql_init. fprintf(stdout, "before m_stHost %s\n", m_stHost.c_str()); if (0 == mysql_init(&m_hDB)) { fprintf(stderr, "mysql_init failed\n"); return false; } fprintf(stdout, "after m_stHost %s\n", m_stHost.c_str()); Output: before m_stHost 127.0.0.1 after m_stHost Why is it happening? I can't see any relation to m_stHost. There's surely something I'm not seeing here. The other variable like m_stUser doesn't affected. It doesn't cause any problem because later the mysql_real_connect function convert the empty host value to "localhost", so it works except the console print at the function end will display "AsyncSQL: connected to " (I know i can do something like copy m_stHost to m_stHost2 and display that in the change "AsyncSQL: connected to %s" but I really want to know why it's happening..) My whole AsyncSQL.cpp if needed: [Hidden Content] -------------------------------------------------------------------- 2. MYSQL_OPT_RECONNECT is deprecated. "WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version." Has anyone dealt with this yet? It's just a warning as of now but my guess is they'll remove it pretty soon since it related to some security issue. -
1423
[40250] Reference Serverfile + Client + Src [15 Available Languages]
I did as in the guide, the translation worked correctly, but I added reading _proto from sql and suddenly only npc names have the default translation it doesn't read from the conf folder anymore (it's changed to my language), only from the client, but I also have the language there, the names of the monsters are there, but there is no npc ;d -
1423
[40250] Reference Serverfile + Client + Src [15 Available Languages]
Where u change npc names? You must modify the file mob_names in conf folder into server If you do not need to change the names of the monsters, make edits to mob_proto in locale_xx -
1423
[40250] Reference Serverfile + Client + Src [15 Available Languages]
when changing the language, the npc names did not change, and I have my own translation -
17
-
25
Compare Item ToolTIP System
Hey @ Mali Do you have any idea why dragonsoul doesn't work like that? else if (Type == CItemData::ITEM_TYPE_DS) { switch (SubType) { case CItemData::DS_SLOT1: idx = c_DragonSoul_Equip_Start; break; case CItemData::DS_SLOT2: idx = c_DragonSoul_Equip_Start+1; break; case CItemData::DS_SLOT3: idx = c_DragonSoul_Equip_Start+2; break; case CItemData::DS_SLOT4: idx = c_DragonSoul_Equip_Start+3; break; case CItemData::DS_SLOT5: idx = c_DragonSoul_Equip_Start+4; break; case CItemData::DS_SLOT6: idx = c_DragonSoul_Equip_Start+5; break; } } -
-
0
Country Flag
I want to know how to remove flags from general chat and next to the player's name -
25
Compare Item ToolTIP System
Hahaha official used this idea. Since they aim to make money from every feature, you need an premium item for comparison.- 3
-
-
Recently Browsing
- No registered users viewing this page.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now