I'm currently working at an script called Training System, which is nearly finished just a few things left to test.
The problem is I can't get the easiest part to work q.q.
I have here the part which bugs, dunno what could cause it....
// Recieving Weapon
set @weap_id,getequipid(4);
getitem @weap_id,1;
// Looping till the correct weap has been equipped
while( getequiprefinerycnt(EQI_HAND_R) != 0 && getequipcardcnt(EQI_HAND_R) != 0 && getequipid(4) != 0) {
equip @weap_id;
sleep2 500;
}
The way to the error:
Weapon ID: 1505 (Mace[4])
I recieve the Weapon normally, but when it's about to equip it per "equip @weap_id;",the client tells me ingame "State to ban the wearing to be worn." (Not even english, imo xD)
Two pictures:
When I equip the empty mace during the script it works just fine..., I tried already what I could think of.
Question
llchrisll
Hello guys,
I'm currently working at an script called Training System, which is nearly finished just a few things left to test.
The problem is I can't get the easiest part to work q.q.
I have here the part which bugs, dunno what could cause it....
The way to the error:
Weapon ID: 1505 (Mace[4])
I recieve the Weapon normally, but when it's about to equip it per "equip @weap_id;",the client tells me ingame "State to ban the wearing to be worn." (Not even english, imo xD)
Two pictures:
When I equip the empty mace during the script it works just fine..., I tried already what I could think of.
Server Revision: rAthena 17267 SQL Trunk
Client: 20120410
I hope someone can help me with this
.
Regards,
Chris
Edited by llchrisll4 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.