Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

LOG FILE: [Ty-ERR][Ex-KID: There is no monster prototype corresponding to 0.]

Newbie Spellweaver
Joined
Jun 1, 2020
Messages
22
Reaction score
28
Hello everyone, I want to share an error that appeared in zone 12 and how I solved it.

The error that appeared at the beginning was this:

Code:
[TABLE="width: 64"]
[TR]
[TD="width: 64"][B][SIZE=1][COLOR=#ff0000][Ty-ERR][Tm-2020-08-09  05:37:06][Ex-KID : 0 ¿¡ ÇØ´çÇÏ´Â ¸ó½ºÅÍ ÇÁ·ÎÅäŸÀÔÀÌ  ¾ø½À´Ï´Ù.][/COLOR][Rt-CCellManager::LoginMonster][FN-D:\SS\v.2240]\Server\RylServerProject\RylGameLibrary\Map\FieldMap\CellManager.cpp][LN-580][/SIZE][/B][/TD]
[/TR]
[/TABLE]

Which after translating it into English looks like this:

Code:
[TABLE="width: 64"]
[TR]
[TD="width: 64"][B][SIZE=1][COLOR=#ff0000][Ty-ERR][Tm-2020-08-09  05:37:06][Ex-KID: There is no monster prototype corresponding to  0.][/COLOR][Rt-CCellManager::LoginMonster][FN-D:\SS  \v.2240]\Server\RylServerProject\RylGameLibrary\Map\FieldMap\CellManager.cpp][LN-580][/SIZE][/B][/TD]
[/TR]
[/TABLE]

What I understood is that in Zone 12 they were trying to create a monster with Id = 0, so I went to "Arragement12.txt" and when I opened it I could actually verify that in the first line it had a monster with Id = 0.

I found it exactly like this:
Code:
[B]CID         KID         PID       X      Y      Z   Scout         MovingPattern          RespawnArea[/B]
0x80000000    [COLOR=#ff0000][B]0[/B][/COLOR]    0x00000000    3253    0    3495    0                  0                    32
0x80000001    1    0x00000000    2954    0    2528    0                  0                    32
0x80010001    1    0x00000000    2952    0    2531    0                  0                    32
0x80020001    1    0x00000000    2526    0    2462    0                  0                    32
0x80030001    1    0x00000000    2968    0    2519    0                  0                    32
0x80040001    1    0x00000000    2959    0    2514    0                  0                    32
0x80050001    1    0x00000000    2952    0    2540    0                  0                    32
0x80060001    1    0x00000000    2943    0    2524    0                  0                    32
0x80070001    1    0x00000000    2964    0    2532    0                  0                    32
0x80080001    1    0x00000000    2547    0    2475    0                  0                    32
0x80090001    1    0x00000000    2944    0    2522    0                  0                    32

So I went to the file "monsterprototype" and I could see that there is no Monster with ID = 0, the monsters start from ID = 1 which is the merman, so to test if it was that, change in the "Arragement12.txt" that 0 for 1 and restart the server.After powering on, I went back to the .log file and found that the error had now changed to this:
Code:
[TABLE="width: 101"]
[TR]
[TD="width: 101"][B][SIZE=1][COLOR=#ff0000][Ty-ERR][Tm-2020-08-17  00:29:48][Ex-À߸øµÈ KID¸¦ °¡Áø ¸ó½ºÅ͸¦ »ý¼ºÇÏ·Á ÇÕ´Ï´Ù(CID Á¤º¸¿Í  Ʋ¸³´Ï´Ù).][/COLOR][Rt-CCellManager::LoginMonster][FN-D:\SS\v.2240]\Server\RylServerProject\RylGameLibrary\Map\FieldMap\CellManager.cpp][LN-414][/SIZE][/B][/TD]
[/TR]
[/TABLE]

Which after translating it into English looks like this:
Code:
[TABLE="width: 101"]
[TR]
[TD="width: 101"][B][SIZE=1][COLOR=#ff0000][Ty-ERR]  [Tm-2020-08-17 00:29:48] [Ex-Attempting to create monster with wrong KID  (wrong CID information)][/COLOR] [Rt-CCellManager :: LoginMonster] [FN- D: \ SS \  v.2240] \ Server \ RylServerProject \ RylGameLibrary \ Map \ FieldMap \  CellManager.cpp] [LN-414][/SIZE][/B][/TD]
[/TR]
[/TABLE]

Now the problem was apparently in the CID of this monster. That in the Arragement12.txt is 0x80000000, that passed to Decimal is 0, I assumed that the same could happen as with the IDs of the monsters, and the CID column cannot be null, that is, it must start the at 1,which in exadecimal is 0x80000001. So I chose to remove this monster and let the Arragement12.txt start fresh on the next monster, and after making this modification and restarting the server, the error disappeared.

The arragement12.txt looked like this:

Code:
[B]CID         KID         PID       X      Y      Z   Scout         MovingPattern          RespawnArea[/B]
[COLOR=#00ff00][B]0x80000001    1    0x00000000    2954    0    2528    0                  0                    32[/B][/COLOR]
0x80010001    1    0x00000000    2952    0    2531    0                  0                    32
0x80020001    1    0x00000000    2526    0    2462    0                  0                    32
0x80030001    1    0x00000000    2968    0    2519    0                  0                    32
0x80040001    1    0x00000000    2959    0    2514    0                  0                    32
0x80050001    1    0x00000000    2952    0    2540    0                  0                    32
0x80060001    1    0x00000000    2943    0    2524    0                  0                    32
0x80070001    1    0x00000000    2964    0    2532    0                  0                    32
0x80080001    1    0x00000000    2547    0    2475    0                  0                    32
0x80090001    1    0x00000000    2944    0    2522    0                  0                    32

Well, I hope this can serve someone else who may have the same error, greetings to all.
 
Back
Top