Jump to content
  • 0

Error script item buildin_unequip: No item equipped at pos 18 (CID=150103/AID=2000035).


yodaGG

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.01
  • Content Count:  44
  • Reputation:   0
  • Joined:  02/14/22
  • Last Seen:  

hi guys, can someone help me?
i just try make 3rd job suit, but need to off shadow shoes when click the item for equiped,  but they can use back shadow shoes after the suit equiped
 

Quote


[Debug]: Source (NPC): FAKE_NPC (invisible/not on a map)

[Error]: buildin_unequip: No item equipped at pos 18 (CID=150103/AID=2000035).

 


my db

Quote

31025,3rd_Job_Suit,3rd Job Suit,12,1000,,300,,3,,1,0xFFFFFFFF,7,2,65536,,0,1,0,{},{ bonus bAllStats,1; unequip EQI_SHADOW_SHOES; changebase roclass(eaclass()|EAJL_THIRD); },{ unequip EQI_SHADOW_SHOES; changebase Class; }

Thankyouu guys

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

Add a check right before:

if(getequipid(EQI_SHADOW_SHOES))unequip EQI_SHADOW_SHOES;

 

//Idea

Maybe we need an event label:

OnPCEquipEvent <trigger bitmask; ex. 128>:

OnPCEquipEvent <EQI_*>:

Same for Unequip

Should have a variable of item ID.

 

And a list of items who trigger the event.

 

ID - trigger bitmask

512 128

 

So it whould be easier to do stuff on/unequip item. Of course for specified EQI_* so we don't need to edit every shadow shoes if we want that they cannot wear if we have a specified variable set to one or else.

 

Rynbef~

Edited by Rynbef
Added idea
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...