piktorvik 20 Posted September 1, 2022 Share Posted September 1, 2022 (edited) Dear everyone! I'm trying to solve this issue, but i didn't find anything. I'm ask for your help guys maybe someone can suggest something. Serverfile: martysama 5.4 (boughted). In the source i have vegas multilanguage + pickup (boughted). LLDB: input_login.cpp 85 line (sometimes it's item_drop_bonus etc..): exp_bonus = CPrivManager::instance().GetPriv(ch, PRIV_EXP_PCT); it's chatpacket: ch->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("°ćÇčġ %d%% Ăß°ˇ Čąµć ŔĚşĄĆ® ÁßŔÔ´Ď´Ů."), exp_bonus); (When entering the game i see this chat message and it's working fine.) GDB: Syslog: Quote Sep 1 09:10:47 :: SHOW: Poison 723756x502591x0 Sep 1 09:10:47 :: AddAffect Poison type 215 apply 0 0 flag 28 duration 5 Sep 1 09:10:47 :: ENTERGAME: Poison 723756x502591x0 45.134.238.92 map_index 71 Sep 1 09:10:47 :: HORSE STAMINA CONSUME EVENT CANCEL 0x0 -> NULL Sep 1 09:10:47 :: HORSE STAMINA REGEN EVENT CREATE 0x31f90100 Sep 1 09:10:47 :: SendLandList map 71 count 0 elem_size: 0 What do you think? The server is crashing very often when someone entering the game. I've checked the locale_strings line by line, translates, source chatpackets, but i didn't find the issue. Marty and VegaS tried to help me, but it was not enough. I don't expect anyone to help me for free. I can pay for your help & time. Thank you in advance! Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
UdvAtt108 110 Posted September 1, 2022 Share Posted September 1, 2022 Hi, as far as i see, the problem at ChatPacket format argument, it comes from LC_TEXT, the memory address what comes from Vegas's LC_TEXT modificated function is empty, freed region or something is not correct inside that function, and the vsnprintf cant acces to that correctly. I dont know that multilanguage system, but it is a possible point to the problem location. I dont know the full history of this problem, but it is my tip in first look. Have a good luck. 1 All wolves are gray in the dark. Link to comment Share on other sites More sharing options...
Premium Malagama 1 Posted December 11, 2024 Premium Share Posted December 11, 2024 Hello, Have you solved this issue? Link to comment Share on other sites More sharing options...
piktorvik 20 Posted December 29, 2024 Author Share Posted December 29, 2024 On 12/11/2024 at 7:10 PM, Malagama said: Hello, Have you solved this issue? Hi, unfortunately not. That project was frozen there and then. Are you struggling with the same thing? Link to comment Share on other sites More sharing options...
Premium Malagama 1 Posted December 29, 2024 Premium Share Posted December 29, 2024 (edited) 5 hours ago, piktorvik said: Hi, unfortunately not. That project was frozen there and then. Are you struggling with the same thing? Hello. Thank you for your answer! Yes, same thing. Marty source, Vegas multilang and crash core at ChatPacket. I haven't checked the issue in depth, I wanted to ask here first since I've seen you encountered the same issue thinking that it will save me some time. Issue not happening on same ChatPacket call, it happens at random it seems. UPDATE: I think I fixed it. I used to replicate it easily now I can't anymore. I think it had to do with the locale_string format or maybe some unsupported characters of the other languages. I replaced them with my english locale that was good and works fine now. I can't explain but it worked so far. Edited December 29, 2024 by Malagama update Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now