Jump to content
  • 0
Sign in to follow this  
ShankS

costume conveter NPC cant Click

Question

anyone here familiar with thie error? can you guys help me :D 

 


// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// Script Name : Headgear to Costume converter
// --------------------------------------------------------------------------
// Description :
// Allows a user to convert the equipped headgear (on Top, Mid or Low) into a
// costume item. It will remove any card and refine of the Item.
// --------------------------------------------------------------------------
 
prontera,153,181,4 script Costume Converter 430,{
mes "[Costume Converter]";
mes "I can convert your original headgear into a costume headgear.";
mes " ";
mes "Note: Stats, Cards & Refine will be removed. Costume is placed in your Costume Tab (ALT+Q)";
next;
 
setarray .@Position$[1],"Top","Mid","Low";
setarray .@Position[1],     1,    9,   10;
 
set .@Menu$,"";
for( set .@i, 1; .@i < 4; set .@i, .@i + 1 )
{
if( getequipisequiped(.@Position[.@i]) )
set .@Menu$, .@Menu$ + .@Position$[.@i] + " - " + "[ " + getequipname(.@Position[.@i]) + " ]";
 
set .@Menu$, .@Menu$ + ":";
}
 
set .@Part, .@Position[ select(.@Menu$) ];
if( !getequipisequiped(.@Part) )
{
mes "[Costume Converter]";
mes "Your not wearing anything there...";
close;
}
 
mes "[Costume Converter]";
mes "Are you sure you want to make your headgear into a costume?";
mes " ";
mes "Note: Stats, Cards & Refine will be removed. Costume is placed in your Costume Tab (ALT+Q)";
next;
if( select("No, I am sorry.:Yes, please convert my item.") == 2 )
{
costume .@Part; // Convert the Headgear
mes "[Costume Converter]";
mes "Done, enjoy your costume headgear!";
close;
}
mes "[Costume Converter]";
mes "Need some time to think about it, huh?";
mes "Alright, I can understand.";
close;
}
 
// --------------------------------------------------------------------------
// Use duplicates to put your npc on different cities
// --------------------------------------------------------------------------
 
//prontera,155,180,4 duplicate(Costume-IT) Costume-IT#1 864
 

 

34xji41.jpg

Edited by ShankS

Share this post


Link to post
Share on other sites

17 answers to this question

Recommended Posts

  • 0

is there any guide how to apply the .diff?

 

Sorry if i cant help you.. as far as i know eAmod source is different from Herc. source. anyways all you have to do is to find all the lines from diff to your eAmod.. 

Share this post


Link to post
Share on other sites
  • 0

no sir .. im now using your files .. and i have the same problem

i also dont know witch script i should put in my src files ..

i dont understand the files inside .diff :D

Share this post


Link to post
Share on other sites
  • 0

no sir .. im now using your files .. and i have the same problem

i also dont know witch script i should put in my src files ..

i dont understand the files inside .diff :D

Please use Notepad++ so that you can read it more easily..

Share this post


Link to post
Share on other sites
  • 0

I Succesfully Managed the costume system 2.1.diff  in my src with no error in compiling, but i can't still click the Clown NPC

and still got this [Error]:

 

21m9qg6.jpg

Edited by ShankS

Share this post


Link to post
Share on other sites
  • 0

I Succesfully Managed the costume system 2.1.diff  in my src with no error in compiling, but i can't still click the Clown NPC

and still got this [Error]:

 

21m9qg6.jpg

Means you did not succeed in applying *costume system in your source... please double check it..

 

and Please avoid double posting... you can edit your previous post and add there the idea that you have.

Share this post


Link to post
Share on other sites
  • 0

 

I Succesfully Managed the costume system 2.1.diff  in my src with no error in compiling, but i can't still click the Clown NPC

and still got this [Error]:

 

21m9qg6.jpg

Means you did not succeed in applying *costume system in your source... please double check it..

 

and Please avoid double posting... you can edit your previous post and add there the idea that you have.

i did it 4 times, but still cant click the clown,

can i post my atcommand.c , battle.c/h, map.c,pc.c,script.c,status.c here?

Share this post


Link to post
Share on other sites
  • 0

I saw that you not properly follow the diff.

 

it has a missing Declaration.. Please scan again the Diff check it one by one..

 

for instance you miss to declare this:

+		// Costume System+		BUILDIN_DEF(costume,"i"),+		

Please recheck it again..

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.