[Help] MUEMU S6 ViewReset (server/client)
Hello. In the client from the database received several positions, following the example ViewReset = lpMsg->ViewReset;. Having received several successful fields - noticed that they can add a certain amount. Maybe someone knows where to look #define?
When you enter the game by selecting a character, the game's xyentry hangs. If I remove any previous position - everything works ...
Re: [Help] MUEMU S6 ViewReset (server/client)
Quote:
Originally Posted by
Gendrixon
Hello. In the client from the database received several positions, following the example ViewReset = lpMsg->ViewReset;. Having received several successful fields - noticed that they can add a certain amount. Maybe someone knows where to look #define?
When you enter the game by selecting a character, the game's xyentry hangs. If I remove any previous position - everything works ...
Well, it was hard to extract anything from what you said but if I understood right you tried to add variables to the same struct of the variable ViewResets hoping this new variable would be ready to use in the client.
If that is right, you may be missing the part where you modify the DB tables to store this new variable and the part where you (at least) recompile the client patch dll with the new struct. If the struct in the client is the old one or is different in size, you probably will end up with a process crash (or worse).
Re: [Help] MUEMU S6 ViewReset (server/client)
Yes. In the same structures added several new items (server, client, date server). All of them work and I correctly get information to the client from the database. I recently needed another 1 item. Added as before, I go into the game and the client hangs. Checked everything, everything is fine. I commented on ViewReset (server, client, server date) and normally entered the game. Accordingly, there is some limit (about 75).
Re: [Help] MUEMU S6 ViewReset (server/client)
So. In User.h (GS), OBJECTSTRUCT added 12 new items after
int Reset;
int MasterReset;
Then, SIMILAR with the Reset and the MasterReset got all the data from 12 positions in the client. Quest system and other additions.
Example:
int QuestInfo1
int QuestInfo2
int QuestInfo3
int QuestInfo4
int QuestInfo5
int QuestInfo6
int QuestInfo7
int QuestInfo8
int QuestInfo9
int QuestInfo10
int QuestInfo11
int QuestInfo12
Everything was tested and working properly. Recently I had to add 1 more position to the quest system (QuestInfo13). Added as before (GS, DS, Main.dll). I go into the game - the client hangs ... Screen
Log GS: 18:28:16 [ObjectManager][9000] AddCharacterInfo (Test)
Having checked the details of the changes, I came to the conclusion that there is a limit. Commented ONLY in GS int QuestInfo12 and normally went into the game... Maybe someone knows the problem?
Re: [Help] MUEMU S6 ViewReset (server/client)
Could you run the game client under a debugger (ollydbg or x64dbg for the sake of simplicity) and share the print of the crash error?
Also, after compiling your client patch dll, put its .pdb in the same folder as the dll to help the debugger show more informations about the error.
Re: [Help] MUEMU S6 ViewReset (server/client)
Quote:
Originally Posted by
ptr0x
Could you run the game client under a debugger (ollydbg or x64dbg for the sake of simplicity) and share the print of the crash error?
Also, after compiling your client patch dll, put its .pdb in the same folder as the dll to help the debugger show more informations about the error.
The fact is that there is no error in the logs. In addition, most likely you need to look at the server side. Because as Commenting specifically in the server one of the positions - I normally went into the game. The client and the server date still have 13 positions left. And in the server 12.
Re: [Help] MUEMU S6 ViewReset (server/client)
Quote:
Originally Posted by
Gendrixon
The fact is that there is no error in the logs. In addition, most likely you need to look at the server side. Because as Commenting specifically in the server one of the positions - I normally went into the game. The client and the server date still have 13 positions left. And in the server 12.
Buddy I can't understand what you are saying. Which is your native language?