bumxd 16 Posted February 2, 2016 Share Posted February 2, 2016 hi, when i do sometime teleports i have crash client syserr: 0202 15:22:44679 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\project\metin2\main\assets\npc\lion\lion.psd 0203 00:29:25257 :: Traceback (most recent call last): 0203 00:29:25271 :: File "game.py", line 615, in OnChangePKMode 0203 00:29:25282 :: File "interfaceModule.py", line 802, in OnChangePKMode 0203 00:29:25283 :: File "uiCharacter.py", line 560, in RefreshAlignment 0203 00:29:25283 :: TypeError 0203 00:29:25283 :: : 0203 00:29:25283 :: __pack_import() takes at most 4 arguments (5 given) 0203 00:29:25283 :: 0203 01:34:08525 :: Unknown packet header: 183, last: 126 19 can anybody help how to fix it? i think problem in packets .. how to fix it in source? Link to comment Share on other sites More sharing options...
Mr.Slime 116 Posted February 2, 2016 Share Posted February 2, 2016 Wrong packet.. Use Mainline Server / Novaline Client for good packet Link to comment Share on other sites More sharing options...
ds_aim 241 Posted February 2, 2016 Share Posted February 2, 2016 1 hour ago, Mr.Slime said: Wrong packet.. Use Mainline Server / Novaline Client for good packet Dude. Stop saying mainline server / novaline client. There is no difference between packets. Link to comment Share on other sites More sharing options...
Mr.Slime 116 Posted February 2, 2016 Share Posted February 2, 2016 Sure man Link to comment Share on other sites More sharing options...
bumxd 16 Posted February 3, 2016 Author Share Posted February 3, 2016 im so use.. novaline src client, mainline src game\db.. how can fix it problem? 1x error Unknown packet header: 183, last: 126 19 Link to comment Share on other sites More sharing options...
ds_aim 241 Posted February 3, 2016 Share Posted February 3, 2016 22 hours ago, Mr.Slime said: Sure man Come, say how to solve packet error. He use like you said. 1 hour ago, bumxd said: im so use.. novaline src client, mainline src game\db.. how can fix it problem? 1x error Unknown packet header: 183, last: 126 19 Link to comment Share on other sites More sharing options...
bumxd 16 Posted February 3, 2016 Author Share Posted February 3, 2016 1 hour ago, ds_aim said: Come, say how to solve packet error. He use like you said. i think you too don`t know how fix it) cuz i checked: im try find 183 in client(packet.h) src game(packet.h) common\tables.h but don`t find 183 nothing.. Link to comment Share on other sites More sharing options...
ds_aim 241 Posted February 3, 2016 Share Posted February 3, 2016 1 hour ago, bumxd said: i think you too don`t know how fix it) cuz i checked: im try find 183 in client(packet.h) src game(packet.h) common\tables.h but don`t find 183 nothing.. Here is the fix.https://msdn.microsoft.com/en-us/library/2e70t5y1.aspx Read documentation and i'am sure you will fix all packets. Link to comment Share on other sites More sharing options...
bumxd 16 Posted February 3, 2016 Author Share Posted February 3, 2016 1 hour ago, ds_aim said: Here is the fix.https://msdn.microsoft.com/en-us/library/2e70t5y1.aspx Read documentation and i'am sure you will fix all packets. ehm.. if you don`t know how fix it, so and say what you don`t know.. Link to comment Share on other sites More sharing options...
Active Member enzi 840 Posted February 3, 2016 Active Member Share Posted February 3, 2016 Post here packet.h and tables.h i will check it Link to comment Share on other sites More sharing options...
ds_aim 241 Posted February 3, 2016 Share Posted February 3, 2016 1 hour ago, bumxd said: zxczx #pragma pack instructs the compiler to pack structure members with particular alignment. Most compilers, when you declare a struct, will insert padding between members to ensure that they are aligned to appropriate addresses in memory (usually a multiple of the type's size). This avoids the performance penalty (or outright error) on some architectures associated with accessing variables that are not aligned properly. For example, given 4-byte integers and the following struct: struct Test { char AA; int BB; char CC; }; The compiler could choose to lay the struct out in memory like this: | 1 | 2 | 3 | 4 | | AA(1) | pad.................. | | BB(1) | BB(2) | BB(3) | BB(4) | | CC(1) | pad.................. | and sizeof(Test) would be 4 × 3 = 12, even though it only contains 6 bytes of data. The most common use case for the #pragma (to my knowledge) is when working with hardware devices where you need to ensure that the compiler does not insert padding into the data and each member follows the previous one. With #pragma pack(1), the struct above would be laid out like this: | 1 | | AA(1) | | BB(1) | | BB(2) | | BB(3) | | BB(4) | | CC(1) | And sizeof(Test) would be 1 × 6 = 6. With #pragma pack(2), the struct above would be laid out like this: | 1 | 2 | | AA(1) | pad.. | | BB(1) | BB(2) | | BB(3) | BB(4) | | CC(1) | pad.. | And sizeof(Test) would be 2 × 4 = 8. This is a hint. I'am not working for you. This forum it's called question/answers not work for me. Read pragmas effects. Link to comment Share on other sites More sharing options...
bumxd 16 Posted February 3, 2016 Author Share Posted February 3, 2016 1 hour ago, enzi said: Post here packet.h and tables.h i will check it packet.h client? Link to comment Share on other sites More sharing options...
Ken 904 Posted February 3, 2016 Share Posted February 3, 2016 The packet mechanism is calculating the struct size with sizeof() function. Ohm, if you have any error like that, you should check the static packets. Also, you can find the packet with using breakpoint in visual studio. Best Regards Ken Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Active Member enzi 840 Posted February 3, 2016 Active Member Share Posted February 3, 2016 1 hour ago, bumxd said: packet.h client? Yes Link to comment Share on other sites More sharing options...
bumxd 16 Posted February 3, 2016 Author Share Posted February 3, 2016 1 hour ago, enzi said: Post here packet.h and tables.h i will check it common\tables.h This is the hidden content, please Sign In or Sign Up packet.h (game) This is the hidden content, please Sign In or Sign Up packet.h (client) This is the hidden content, please Sign In or Sign Up 3 1 Link to comment Share on other sites More sharing options...
Active Member enzi 840 Posted February 3, 2016 Active Member Share Posted February 3, 2016 Try it Client -> Packet.h Server -> tables.h This is the hidden content, please Sign In or Sign Up 2 1 Link to comment Share on other sites More sharing options...
bumxd 16 Posted February 3, 2016 Author Share Posted February 3, 2016 1 hour ago, enzi said: Try it Client -> Packet.h Server -> tables.h This is the hidden content, please Sign In or Sign Up but you nothing don`t changed? Link to comment Share on other sites More sharing options...
Active Member enzi 840 Posted February 3, 2016 Active Member Share Posted February 3, 2016 1 hour ago, bumxd said: but you nothing don`t changed? These are my old files Try it because i don´t find any problem in your files.. Link to comment Share on other sites More sharing options...
bumxd 16 Posted February 3, 2016 Author Share Posted February 3, 2016 3 hours ago, enzi said: These are my old files Try it because i don´t find any problem in your files.. your files copy as me files.. i think this don`t helped;) 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