Hello. Im seeking some help for a strange issue that has appeared recently and I tried many things to resolve the issue but can't figure out the issue. Was told its best to post here even tho its not rAthena related.
For the past 10 years ive used Visual Studio 2008 on my windows XP system to work on the development of my project 3CeAM and never used anything newer due to needing a newer system to support a newer OS and VS 2010's IntelliSense was broken on C code. But now I got a newer system with Windows 8.1 (finally) and Visual Studio 2015. Loading the VS 2010 Solution in it updated it to a VS 2015 solution and also updated the project files. I had to change a few things to resolve some compile errors. I added a check to cbasetypes.h for the snprintf
I added _WINSOCK_DEPRECATED_NO_WARNINGS to the preprocessor flags, and set the ignore default libraries to blank. And then compiled the login, char, and map. They compile fine with a warning or 2 which isnt anything to worry about. So I start up the server, connect, and mess around in-game for a while. Everything seems perfectly fine. But then I found this bug that never existed on VS 2008 compiles.
When logging out, everything goes as it should and character data is saved. But if I do certain things, like change from 1st job to a 2nd job, die once, or start a Taekwon mission, and then log out, the char server crashes. From what I can figure out these things affect something called registry variables. So the above things changes registry variables on the character like jobchange_level, PC_DIE_COUNTER, and TK_MISSION_ID. Loading in the crash to VS's debug shows this....
If I add registry variable data for jobchange_level to the save data and then try to log on, the map server will crash on login and show this....
I tried running some server exe's on this system that were compiled in VS 2008 and they save/load the registry variable data with no issues. So clearly something is going on in VS 2015 but I can't figure out what the cause of the issue is. The only clue seen in these pics is the negative packet length??? I could try to find the cause of this and fix it but im wondering if this is a sign of a deeper problem that could likely cause other hidden problems I haven't found yet. If anyone can help with fixing this problem I would be very thankful.
Question
Rytech
Hello. Im seeking some help for a strange issue that has appeared recently and I tried many things to resolve the issue but can't figure out the issue. Was told its best to post here even tho its not rAthena related.
For the past 10 years ive used Visual Studio 2008 on my windows XP system to work on the development of my project 3CeAM and never used anything newer due to needing a newer system to support a newer OS and VS 2010's IntelliSense was broken on C code. But now I got a newer system with Windows 8.1 (finally) and Visual Studio 2015. Loading the VS 2010 Solution in it updated it to a VS 2015 solution and also updated the project files. I had to change a few things to resolve some compile errors. I added a check to cbasetypes.h for the snprintf
I added _WINSOCK_DEPRECATED_NO_WARNINGS to the preprocessor flags, and set the ignore default libraries to blank. And then compiled the login, char, and map. They compile fine with a warning or 2 which isnt anything to worry about. So I start up the server, connect, and mess around in-game for a while. Everything seems perfectly fine. But then I found this bug that never existed on VS 2008 compiles.
When logging out, everything goes as it should and character data is saved. But if I do certain things, like change from 1st job to a 2nd job, die once, or start a Taekwon mission, and then log out, the char server crashes. From what I can figure out these things affect something called registry variables. So the above things changes registry variables on the character like jobchange_level, PC_DIE_COUNTER, and TK_MISSION_ID. Loading in the crash to VS's debug shows this....
If I add registry variable data for jobchange_level to the save data and then try to log on, the map server will crash on login and show this....
I tried running some server exe's on this system that were compiled in VS 2008 and they save/load the registry variable data with no issues. So clearly something is going on in VS 2015 but I can't figure out what the cause of the issue is. The only clue seen in these pics is the negative packet length??? I could try to find the cause of this and fix it but im wondering if this is a sign of a deeper problem that could likely cause other hidden problems I haven't found yet. If anyone can help with fixing this problem I would be very thankful.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.