Hi there, I have this Costume maker script. The script works but it can't detect the correct Items on the correct Location.
In example, It should only make a menu for Upper, Middle, Lower headgears. But what's happening is, the script only detects right hand equipment.
maybe somebody can help me with this issue, I had about the same issue for my card remover script but was then fixed when I grabbed the updated one in rathena github. But unfortunately cannot find anything regarding this issue.
I will provide some of the script for you to see.
Here:
setarray .@Position$[1],"Top","Mid","Low";
setarray .@Position[1],1,9,10;
set .@Menu$,"";
for( set .@i, 1; .@i < 10; 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 "[Costumizer]";
mes "Your not wearing anything there...";
close;
}
mes "[Costumizer]";
mes "You want to Costume your " + getitemname(getequipid(.@Part)) + "?";
next;
if( select("Yes, proceed:No, I am sorry.") == 2 ) {
mes "[Costumizer]";
mes "Need some time to think about it, huh?";
mes "Alright, I understand.";
close;
}
Question
Yami
Hi there, I have this Costume maker script. The script works but it can't detect the correct Items on the correct Location.
In example, It should only make a menu for Upper, Middle, Lower headgears. But what's happening is, the script only detects right hand equipment.
maybe somebody can help me with this issue, I had about the same issue for my card remover script but was then fixed when I grabbed the updated one in rathena github. But unfortunately cannot find anything regarding this issue.
I will provide some of the script for you to see.
Here:
Thank you in advanced!!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.