Jump to content
  • 0

*equip problem - Client error


Question

Posted (edited)

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

 

// 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:

hc5y.png
2ueb.png
 

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 llchrisll

4 answers to this question

Recommended Posts

Posted

Thanks for your reply GmOcean, but what I wanted to know why I recieved that message, like I'm using an client which is too old or like that.

After some after-thoughts I believe I'm gonna drop that part in case I don't get a way around it,also since it was stupid idea, but still thanks for your reply once again.

 

Regards,

Chris

Posted (edited)

It shouldn't be an issue with your client. Perhaps you have this disabled?

conf/battle/items.conf

// Allow changing of equipment while interacting with NPCs? (Note 1)
// Default: yes
item_enabled_npc: yes

Because I'm unable to reproduce your issue :/

Edited by GmOcean
Posted (edited)

Oho gonna check that later, thx for the hint.

Edit: That setting is on yes, maybe it's the *equip commands fault gonna update my svn.

Edited by llchrisll

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...