Jump to content
  • 0

[Question-Request] Palettes crashes ?


wisekreker

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  01/01/12
  • Last Seen:  

Hello all,

I did add s stylist npc in my server. It has a lot of palette numbers but the color really doesn't change that much on each numbers.

My main problem is, there are some players you used the said npc had their clients crashed, not only their own client but to all the characters near. I personally encountered the error and got my main GM character stuck. Every time I login the client doesn't seem to read the color of the bugged character, it crashes the client right away even in the character select menu once I move left or right to select my main GM it crahes. What I suspect is maybe I lack some color paletter or sprites maybe to support that color. Please help me, there are players affected with this they cannot use their character. I would really appreciate if you guys could shed some light to me regarding this and will be great if you can share your sprites-palette that support the stylist npc that I downloaded on Rathena too. /ok

Thank you so much! :(

Link to comment
Share on other sites

12 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

Did you use a client who can show you error messages ? You should activate it for have an idea from which element the problem comes.

Crash in character selection can comes from a hairstyle not supported or a vewid (hat) not supported too.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  01/01/12
  • Last Seen:  

Aerie,

Thank you so much for the prompt response. I'm not really sure about the client that I'm using if it shows error message or not. I'm sorry I'm new and noob to this server thing, the VPS that hosts my server already had trunk and everything installed when they give me the access, for my part I only installed the npcs, did some configs for ingames like exp rates and creating the patcher. Everything else already came with the VPS package. /ok

How will I find the error message of my client, is there such a location or logs maybe that might give me a clue what caused the crash thing? The players who got the issue used the "Clothes Color" option from the npc menu, then keep pushing Return to find the desired color then the crash happens and won't be able to login.

Sorry about my English. I will really appreciate your help. I'm really doomed as of the moment. :(

Thank you so kindly.

Did you use a client who can show you error messages ? You should activate it for have an idea from which element the problem comes.

Hello Aerie,

I changed my client to a non hexed/diffed one and it gave me an error. Please see below.

Time Stamp: 0x4c46520f - Tue Jul 20 18:49:03 2010

Exception Type: 0xc0000005

0x0041d8a3 SpesialHostingRO.exe

0x0045ec95 SpesialHostingRO.exe

0x004fbb64 SpesialHostingRO.exe

0x00505175 SpesialHostingRO.exe

0x0060d782 SpesialHostingRO.exe

0x0060d238 SpesialHostingRO.exe

0x007008d3 SpesialHostingRO.exe

0x00714e0d SpesialHostingRO.exe

0x0a000000

eax: 0x0348b720 ebx: 0x00000000

ecx: 0x00000000 edx: 0x00000000

esi: 0x0630c510 edi: 0x000002c4

ebp: 0x0012f5b4 esp: 0x0012f5b4

stack 0012f5b4 - 0012f9b4

0012F5B4 : 38 FB 12 00 95 EC 45 00 00 00 00 00 00 00 00 00

0012F5C4 : D8 89 7D 00 10 C5 30 06 F0 70 31 06 00 00 00 00

0012F5D4 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F5E4 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F5F4 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F604 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F614 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F624 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F634 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F644 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F654 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F664 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F674 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0012F684 : C0 67 CD 76 A8 F6 12 00 71 67 CD 76 A0 03 C7 06

0012F694 : 08 5A 31 06 F0 59 31 06 00 00 00 00 05 0B 00 00

0012F6A4 : 0F 00 85 01 F0 F6 12 00 AA 3A 40 00 53 09 01 58

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


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

How many palettes have you add to your server ? Maybe your script (pr server) allow more palettes than clients gets. Check your conf/battle/client.conf (for number of palettes) and also your stylist script. (How many did he allow ?)

What pack of palettes are you using ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  01/01/12
  • Last Seen:  

I am using Arian's Palette. I tried reducing the number palettes in client conf, it can only change up to 10 colors at the moment. But at least it prevent crash problem. But the issue is still not resolved it will still cause crash if I enable all colors.

Here is my Stylist.txt I don't see any number of palettes allowed, sorry I'm still a beginner in scripting.

prontera,168,179,3	script	Stylist	122,{
mes "[^FF8000Stylist^000000]";
mes "I'm the greatest stylist in all of Rune-Midgard~~!";
mes "I can change your hair style or color!";
mes "What do you wish to change?";
next;
switch(select("Hair style:Hair color:Cloth color:Nothing")){
case 1:
	set .@what,1;
	set .@min,getbattleflag("min_hair_style");
	set .@max,getbattleflag("max_hair_style");
	set .@what$,"hairstyle";
	break;
case 2:
	set .@what,6;
	set .@min,getbattleflag("min_hair_color");
	set .@max,getbattleflag("max_hair_color");
	set .@what$,"haircolor";
	break;
case 3:
	set .@what,7;
	set .@min,getbattleflag("min_cloth_color");
	set .@max,getbattleflag("max_cloth_color");
	set .@what$,"cloth color";
	break;
default:
	mes "[^FF8000Stylist^000000]";
	mes "Well come again.";
	close;
}
mes "[^FF8000Stylist^000000]";
mes "Do you want to browse through the choices, or do you know what you want?";
next;
if(select("Browse:I know what I want") == 2){
	mes "[^FF8000Stylist^000000]";
	mes "Great!  Now just pick a "+.@what$+" and I'll get started!";
	next;
	mes "[^FF8000Stylist^000000]";
	mes "Please pick a "+.@what$+" number ^0000FFbetween "+.@min+" and "+.@max+"^000000.";
	mes "Number "+.@min+", by the way, is the default "+.@what$+" for your character.";
	next;
	while(1){
		input .@set,.@min,.@max;
		setlook .@what,.@set;
		mes "[^FF8000Stylist^000000]";
		mes "Is this good, or do you want a different "+.@what$+"?";
		next;
		if(select("This is good:Different "+.@what$+", please") == 1) break;
	}
} else {
	mes "[^FF8000Stylist^000000]";
	mes "Okay, here we go~! Just stop me when you see something you like, okay?";
	set .@look,.@min;
	while(1){
		next;
		mes "[^FF8000Stylist^000000]";
		setlook .@what,.@look;
		mes "This is "+.@what$+" Number^FF9009 "+.@look+" ^000000!";
		if(.@look == .@min)
			select("Keep going::I like this one");
		else if(.@look == .@max)
			select(":Go back:I like this one");
		else if(.@direction)
			select("Go back:Keep going:I like this one");
		else
			select("Keep going:Go back:I like this one");
		if(.@direction && !(.@look == .@max || .@look == .@min)) {
			if(@menu == 1) {
				set .@look,.@look-1;
				set .@direction,1;
			} else if(@menu == 2) {
				set .@look,.@look+1;
				set .@direction,0;
			} else
				break;
		} else {
			if(@menu == 1) {
				set .@look,.@look+1;
				set .@direction,0;
			} else if(@menu == 2) {
				set .@look,.@look-1;
				set .@direction,1;
			} else
				break;
		}
	}
}
next;
mes "[^FF8000Stylist^000000]";
mes "You look great~!  I love it~! ";
close;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

As Aerie stated, open /conf/battle/client.conf and edit the following values:


min_hair_style: 0
max_hair_style: 27
min_hair_color: 0
max_hair_color: 8
min_cloth_color: 0
max_cloth_color: 4

Change them to your max colors you have in your GRF and then @reloadbattleconf in-game, or simply reboot the game services, and then you should be able to use more palettes if you have them in your GRF.

RE: https://rathena.svn....tle/client.conf

Since you said you can only use up to 10 palettes before your client crashes, you need to find a package that has all palettes enabled, or, diff your client exe to ignore missing palette errors so the client no longer crashes when there are missing .pal files for classes/specific numbers. Most palette packages used by people contain around 543 clothing palettes and 250 hair palettes. I believe there's a few such packages available here on the rA message board, so a quick search should provide results that will fix your crash problems.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  01/01/12
  • Last Seen:  

jTynne,

A lot of thanks for replying. I am actually using

<a href="http://code.google.com/p/aerie-pinkpanther/downloads/detail?name=[NoH]Palettes-Skins.rar&can=2&q=">this palette pack</a>

, I am getting confused by now as to where these palette really be load. Should I load to my server's GRF file (myserver.grf)? or should I put it under data.grf or sdata.grf? ^^ I am using Jikari's Patcher and the current setting in my .ini config is;

1 = my server's grf

2 = data.grf

3 = i left it blank i get error on patching when I put sdata.grf on it.

in my patchlist.txt i put;

1000 1 GRF thepalettes.grf

I also tried

//1000 1 GRF thepalettes.grf

10001 2 GRF thepalettes.grf

both patched fine but i still have same crash problem.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

What I typically do is something like..

1=Server-1.grf

2=ServerPalettes.grf

3=rdata.grf

4=data.grf

That is to say, I keep my palette GRF file separate from everything else (because repacking 50,000+ files is a PAIN and takes forever to do). If you have a .grf containing your palette files, I believe Jikari can patch in an entire file by archiving it in a .rar then making it a file patch. It's been years since I've used Jikari, so I don't remember the exact syntax to do it, but I'm fairly certain I've done it before when using it.

So, what I would do if I were you is to edit your DATA.ini file on your computer and make 2= your palette GRF, make 3=rdata.grf 4=data.grf (don't use sdata, it's no longer used), and then test if you crash with your palettes in-game. If you don't, then make it a file patch in Jikari, and also be sure to patch in a new DATA.ini for your players as well. That SHOULD fix your problems.

Let us know if otherwise and good luck!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  01/01/12
  • Last Seen:  

Thank you for replying jTynne /ok. I am still confused, I tried adding a small patch for testing purposes, I loaded a new look of prontera named it prtnew.grf. First I loaded it under my own GRF, it did not work. But I tried loading to in data.grf, it worked and I got a new prontera look right now. But i tired loading in the palettes, which took really long it didn't work. I have not tried what you said yet because it will screw up players patcher because their ,ini config only has;

1=myserver.grf

2=data.grf

I have a question, how does the GRF work? does it work filename based? or does any GRF will be detected by the RO client once they're in the RO folder? You said I should put my palettes in a separate GRF which is really cool but I was wondering how would that work or be picked up by the client if for example I name it mypalette.grf and I will on RO folder? Even my server's GRF, which is in my case it's the first GRF in my patch config, it only patch but it doesn't put the effect of the patch in the game. It only downloads but the patch does not apply in the game. Is there something I need to do to make the client pick up all the patches from a certain GRF like my own GRF perhaps?

Thank you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

For be read by the client a GRF must be linked in the data.ini. There is a priority of reading : 1= (It'll be the first one read and loaded)

A GRF can have any name, but when you're diffing the executable, you have to enable the : "Read multi-GRF option".

Generally we separate palettes from ressources because palettes are too many (more than20k files) so each time you want patch or edit your GRF it'll be long, very long ...

For take effect a GRF must be read at first (if he replaces an existant file) or the oldest version of the file will be read. So if your using your main data for patch (If we refer to jTynne proposition, the 4= one) others GRF will be read first so effects can't be enabled is another version of the file existing in another GRF.

Is there something I need to do to make the client pick up all the patches from a certain GRF like my own GRF perhaps?

Are you asking for make a patch ? There is some tools needed for make patches : http://rathena.org/wiki/Thor_Patcher

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  01/01/12
  • Last Seen:  

Hello Aerie,

SO you are saying that the patches added won't effect if the old one exist? how do I remove the old one? for example the palette, I been loading palettes and hair style in my server but it doesn't take effect.. I tried putting it to a different GRFs already like data.grf, myserver.grf etc. They only thing that take effect was the new prontera design. I changed the prontera to a new look, it worked when i put it under data.grf. But the palettes, hairstyles and other customs doesn't work. :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

You don't have to delete the old one, just erase it by adding new ressources in the same GRF.

Do you diff your client for enable more hairstyles ?

And also what happens when you try different hstyle / ccolor / ... ? With class did you use for test ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  01/01/12
  • Last Seen:  

I haven,t tried Diffing yet, the one I'm using was already provided by the VPS host and it's already diffed. I edited my client.conf and allowed more hairstyles and palettes.

The client crashes when i try some more hairstyles/color. I noticed that I crash on Hairstyle number 0 and number 27. I needed to edit the hairstyle from MYSQL and make it hairstyle number 1 before the character can login again.

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...