Jump to content
  • 0

About client crash – CPaletteRes :: Cannot find : palette\몸\검사_남_24929.pal


slazenCharlie

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.08
  • Content Count:  2
  • Reputation:   0
  • Joined:  04/30/25
  • Last Seen:  

rAthena commit: 7a057f7f4a853c3a5de6f93bfd9d7a5741549ada, dated 2013/07/21, #define PACKETVER 20091130
Client version: Episode 13.2, 2009/11/30

Right now, the client launches fine and connects to my local server. I can register a new account (using the xxx_M naming format) and create characters without issues. However, after creating a character—or when I log in with an existing account and it tries to display the character select screen—the client crashes.

Looking at the error, it seems like the client is trying to load palette\몸\검사_남_24929.pal from data.grf, but when I checked the palette folder, most of the palette files are named something like xxx_0 to xxx_4. So 24929 definitely looks like an invalid value.

I traced the server code in char.c—the mmo_chars_fromsql function correctly reads the values from the MySQL database. But it might be that something goes wrong in mmo_char_tobuf, or maybe the client interprets the data differently after receiving it? I'm wondering if anyone else has run into a similar issue?


Additional test I did:
I manually renamed palette\몸\검사_남_4.pal to palette\몸\검사_남_24929.pal inside the data.grf. That stopped the crash, and the character select screen worked. But when I changed the hair_color value for the character in the database, the visual result on the character list screen wasn’t a hair color change—it actually changed the headgear model.

Obviously, I only did this as a test to see whether the .pal file would actually be loaded and rendered correctly.

When the client crashes, a small window first pops up with the message CPaletteRes :: Cannot find : palette\몸\검사_남_24929.pal, and then a larger error window shows up afterward :
 

Module Name: C:\Program Files (x86)\Gravity\RO\ragexe.exe
Time Stamp: 0x4b136d0e - Mon Nov 30 14:58:22 2009


Exception Type: 0xc0000005

0x00417a64    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x0040dbed    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x00459008    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x004d6e34    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x004de3a5    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x005e0ddd    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x005e08a8    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x006d1dad    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x006e6bbc    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x75b17d69    C:\WINDOWS\System32\KERNEL32.DLL
0x773abb9b    C:\WINDOWS\SYSTEM32\ntdll.dll
0x773abb1f    C:\WINDOWS\SYSTEM32\ntdll.dll

eax: 0x00000076    ebx: 0x0efb02c0
ecx: 0x0efb02e2    edx: 0x00000000
esi: 0x00000011    edi: 0x00000110
ebp: 0x0019ffec    esp: 0x0019ffe4

stack 0019ffe4 - 001a03e4
0019FFE4 : FF FF FF FF 24 8E 3D 77 00 00 00 00 00 00 00 00 
0019FFF4 : DC 6A 6E 00 00 60 2B 00 00 00 00 00 41 63 74 78 
001A0004 : 20 00 00 00 01 00 00 00 F0 32 00 00 DC 00 00 00 
001A0014 : 00 00 00 00 20 00 00 00 00 00 00 00 14 00 00 00 
001A0024 : 01 00 00 00 07 00 00 00 34 00 00 00 7C 01 00 00 
001A0034 : 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
001A0044 : 00 00 00 00 00 00 00 00 02 00 00 00 4E EF 26 1A 
001A0054 : 98 02 00 00 44 00 00 00 E0 02 00 00 54 02 00 00 
001A0064 : 00 00 00 00 BA 71 32 F3 34 05 00 00 4A 00 00 00 
001A0074 : 80 05 00 00 36 03 00 00 00 00 00 00 5B 49 59 2D 
001A0084 : B8 08 00 00 32 00 00 00 EC 08 00 00 FA 02 00 00 
001A0094 : 00 00 00 00 CD EA CE 32 E8 0B 00 00 42 00 00 00 
001A00A4 : 2C 0C 00 00 30 03 00 00 00 00 00 00 C8 5F 50 38 
001A00B4 : 5C 0F 00 00 5E 00 00 00 BC 0F 00 00 56 03 00 00 
001A00C4 : 00 00 00 00 44 05 28 B1 14 13 00 00 56 00 00 00 
001A00D4 : 6C 13 00 00 86 03 00 00 10 00 00 00 09 00 00 00 

Launch Info 
0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 

Job : Novice
 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1840
  • Reputation:   289
  • Joined:  08/03/12
  • Last Seen:  

2 hours ago, slazenCharlie said:

rAthena commit: 7a057f7f4a853c3a5de6f93bfd9d7a5741549ada, dated 2013/07/21, #define PACKETVER 20091130
Client version: Episode 13.2, 2009/11/30

Right now, the client launches fine and connects to my local server. I can register a new account (using the xxx_M naming format) and create characters without issues. However, after creating a character—or when I log in with an existing account and it tries to display the character select screen—the client crashes.

Looking at the error, it seems like the client is trying to load palette\몸\검사_남_24929.pal from data.grf, but when I checked the palette folder, most of the palette files are named something like xxx_0 to xxx_4. So 24929 definitely looks like an invalid value.

I traced the server code in char.c—the mmo_chars_fromsql function correctly reads the values from the MySQL database. But it might be that something goes wrong in mmo_char_tobuf, or maybe the client interprets the data differently after receiving it? I'm wondering if anyone else has run into a similar issue?


Additional test I did:
I manually renamed palette\몸\검사_남_4.pal to palette\몸\검사_남_24929.pal inside the data.grf. That stopped the crash, and the character select screen worked. But when I changed the hair_color value for the character in the database, the visual result on the character list screen wasn’t a hair color change—it actually changed the headgear model.

Obviously, I only did this as a test to see whether the .pal file would actually be loaded and rendered correctly.

When the client crashes, a small window first pops up with the message CPaletteRes :: Cannot find : palette\몸\검사_남_24929.pal, and then a larger error window shows up afterward :
 

Module Name: C:\Program Files (x86)\Gravity\RO\ragexe.exe
Time Stamp: 0x4b136d0e - Mon Nov 30 14:58:22 2009


Exception Type: 0xc0000005

0x00417a64    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x0040dbed    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x00459008    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x004d6e34    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x004de3a5    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x005e0ddd    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x005e08a8    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x006d1dad    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x006e6bbc    C:\Program Files (x86)\Gravity\RO\ragexe.exe
0x75b17d69    C:\WINDOWS\System32\KERNEL32.DLL
0x773abb9b    C:\WINDOWS\SYSTEM32\ntdll.dll
0x773abb1f    C:\WINDOWS\SYSTEM32\ntdll.dll

eax: 0x00000076    ebx: 0x0efb02c0
ecx: 0x0efb02e2    edx: 0x00000000
esi: 0x00000011    edi: 0x00000110
ebp: 0x0019ffec    esp: 0x0019ffe4

stack 0019ffe4 - 001a03e4
0019FFE4 : FF FF FF FF 24 8E 3D 77 00 00 00 00 00 00 00 00 
0019FFF4 : DC 6A 6E 00 00 60 2B 00 00 00 00 00 41 63 74 78 
001A0004 : 20 00 00 00 01 00 00 00 F0 32 00 00 DC 00 00 00 
001A0014 : 00 00 00 00 20 00 00 00 00 00 00 00 14 00 00 00 
001A0024 : 01 00 00 00 07 00 00 00 34 00 00 00 7C 01 00 00 
001A0034 : 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
001A0044 : 00 00 00 00 00 00 00 00 02 00 00 00 4E EF 26 1A 
001A0054 : 98 02 00 00 44 00 00 00 E0 02 00 00 54 02 00 00 
001A0064 : 00 00 00 00 BA 71 32 F3 34 05 00 00 4A 00 00 00 
001A0074 : 80 05 00 00 36 03 00 00 00 00 00 00 5B 49 59 2D 
001A0084 : B8 08 00 00 32 00 00 00 EC 08 00 00 FA 02 00 00 
001A0094 : 00 00 00 00 CD EA CE 32 E8 0B 00 00 42 00 00 00 
001A00A4 : 2C 0C 00 00 30 03 00 00 00 00 00 00 C8 5F 50 38 
001A00B4 : 5C 0F 00 00 5E 00 00 00 BC 0F 00 00 56 03 00 00 
001A00C4 : 00 00 00 00 44 05 28 B1 14 13 00 00 56 00 00 00 
001A00D4 : 6C 13 00 00 86 03 00 00 10 00 00 00 09 00 00 00 

Launch Info 
0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 
0000 0000 0000 0000 0000 0000 0000 0000 

Job : Novice
 

did u enable palette that big ? as default the palette is 0 so it should read correctly. see also your client.conf about the hair color .

btw use clean rathena https://github.com/rathena/rathena I dont even know if u have customized or something that breaks those 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.08
  • Content Count:  2
  • Reputation:   0
  • Joined:  04/30/25
  • Last Seen:  

Yes, I downloaded the rAthena project from here:
https://github.com/rathena/rathena
Then I checked out this specific commit: 7a057f7f4a853c3a5de6f93bfd9d7a5741549ada—because the commit message said it was for EP13, and my client executable is for EP13.2.

I only made a few changes:

Changed packet_db_ver from default to 25.

Set packet_ver_flag to 0x00010000, which seemed the most appropriate for a late-2009 client like EP13.2.
As for packet_ver_flag2, I couldn’t find a matching version, so I tried a few different values, but none of them made any real difference.

Commented out map names that don’t exist in the database—otherwise, map-server_sql.exe would throw a ton of errors when starting.

Other than that, I just configured the localhost and DB credentials. Since I can create characters just fine, I think those parts are working correctly.
The client itself comes from an installation disc released in Taiwan around 2009 by the local publisher.

Here’s roughly the process I followed:

Installed XAMPP, created a MySQL database called ragnarok, and imported the following SQL files in order from rathena/sql-files:
main.sql, item_db.sql, item_db2.sql, mob_db.sql, and mob_db2.sql.

Created grf_files.txt under rathena/tools/mapcache/, pointing it to my client’s data.grf, then used mapcache.exe to generate the map cache.

Opened data.grf using GRF Editor and edited clientinfo.xml to:

<address>127.0.0.1</address>  
<version>25</version>  
I wasn’t sure what to set for <langtype>, so I just left it as the original value: 4.

Launched Apache, MySQL, login-server_sql.exe, char-server_sql.exe, and map-server_sql.exe in order.

Opened Ragnarok.exe from the main client folder.

Once I get to the character select screen, if there are any character entries, the client crashes—because it tries to load an invalid .pal file: palette\몸\검사_남_24929.pal.

I'm starting to wonder if the client itself also needs to be modified—maybe the data format it's receiving doesn't match what it expects, and that’s what’s causing the crash?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1840
  • Reputation:   289
  • Joined:  08/03/12
  • Last Seen:  

51 minutes ago, slazenCharlie said:

Yes, I downloaded the rAthena project from here:
https://github.com/rathena/rathena
Then I checked out this specific commit: 7a057f7f4a853c3a5de6f93bfd9d7a5741549ada—because the commit message said it was for EP13, and my client executable is for EP13.2.

I only made a few changes:

Changed packet_db_ver from default to 25.

Set packet_ver_flag to 0x00010000, which seemed the most appropriate for a late-2009 client like EP13.2.
As for packet_ver_flag2, I couldn’t find a matching version, so I tried a few different values, but none of them made any real difference.

Commented out map names that don’t exist in the database—otherwise, map-server_sql.exe would throw a ton of errors when starting.

Other than that, I just configured the localhost and DB credentials. Since I can create characters just fine, I think those parts are working correctly.
The client itself comes from an installation disc released in Taiwan around 2009 by the local publisher.

Here’s roughly the process I followed:

Installed XAMPP, created a MySQL database called ragnarok, and imported the following SQL files in order from rathena/sql-files:
main.sql, item_db.sql, item_db2.sql, mob_db.sql, and mob_db2.sql.

Created grf_files.txt under rathena/tools/mapcache/, pointing it to my client’s data.grf, then used mapcache.exe to generate the map cache.

Opened data.grf using GRF Editor and edited clientinfo.xml to:

<address>127.0.0.1</address>  
<version>25</version>  
I wasn’t sure what to set for <langtype>, so I just left it as the original value: 4.

Launched Apache, MySQL, login-server_sql.exe, char-server_sql.exe, and map-server_sql.exe in order.

Opened Ragnarok.exe from the main client folder.

Once I get to the character select screen, if there are any character entries, the client crashes—because it tries to load an invalid .pal file: palette\몸\검사_남_24929.pal.

I'm starting to wonder if the client itself also needs to be modified—maybe the data format it's receiving doesn't match what it expects, and that’s what’s causing the crash?

as u said it asking for that palette. so recheck your character is it really use that palette. check from your mysql db

If yes, thats weird since new character should use default palette color which is really limited since you said u use very old client.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...