Jump to content
  • 0

@costumeitem / Costume NPC: item weight and restrictions.


Zaon

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   0
  • Joined:  07/30/12
  • Last Seen:  

Hello.

 

I used this src edit / npc script that Sehrentos fixed and got it to properly work on my server by changing this line

-  if (i == EQI_AMMO || i == EQI_COSTUME_TOP || i == EQI_COSTUME_MID || i == EQI_COSTUME_LOW) // Costume item edit
+  if (i == EQI_AMMO || i == EQI_COSTUME_HEAD_TOP || i == EQI_COSTUME_HEAD_MID || i == EQI_COSTUME_HEAD_LOW) // Costume item edit

My problem is that the items that are turned into costumes still retain their Weight, Level Requirements and Class Restrictions.

 

I found this fix for rAmod but when I tried to apply it to my server, it returned an error. (see spoiler)

 

74f91e4e39.png

 

Anyone know how to fix this?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

You didn't make my edits correctly, forgot to edit this part:

 

78650d40f0.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   0
  • Joined:  07/30/12
  • Last Seen:  

You didn't make my edits correctly, forgot to edit this part:

 

78650d40f0.png

Ohh damn.

 

is this part the same as your quote?

struct item_data *item;
 
nullpo_retr(ITEM_EQUIP_ACK_FAIL, sd);
 
item = sd->inventory_data[n];

Nevermind. I fixed it, thank you for pointing out my mistake and helping me :D

 

Oh sorry, I fixed the problem with the item restrictions but the weight factor is still there. Do you know how to remove it?

Edited by Zaon
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...