Jump to content
  • 0

storage and pots


jadedlight

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  53
  • Reputation:   0
  • Joined:  08/14/15
  • Last Seen:  

anyone knows where to find or edit the configurations for normal players to use pots while the storage are opened up? 

 

some told me it was in item restrictions but cant seem to find it :/ and guess on how to enable this?

 

TIA <3

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

try find on pc.c::pc_isUseitem, just find & follow this line

 

	if (sd->state.storage_flag && item->type != IT_CASH) {
		clif_colormes(sd->fd, color_table[COLOR_RED], msg_txt(sd,388));
		return false; // You cannot use this item while storage is open.
	}
it disables item usage while storage is opened, except cash_item (in item_db, the one that type 18)
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

try find on pc.c::pc_isUseitem, just find & follow this line

 

	if (sd->state.storage_flag && item->type != IT_CASH) {
		clif_colormes(sd->fd, color_table[COLOR_RED], msg_txt(sd,388));
		return false; // You cannot use this item while storage is open.
	}
it disables item usage while storage is opened, except cash_item (in item_db, the one that type 18)

 

 

Cydh i have a question, how to make a limit in inventory only 200 pcs Pots? i want the 547 (Condensed White Potion) ONLY?

if else, it will say "Sorry it's not allow to have more than 200 547 (Condensed White Potion) in your inventory.

sorry if it is not related my topic.

 

Thank yoi in advance!

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  53
  • Reputation:   0
  • Joined:  08/14/15
  • Last Seen:  

will try this :3 thank you will update if it worked so others can have reference :3


what do i put btw XD sorry its new to me to edit this kinds.. still a newbie :3

 

TIA


nvm found it under the SRC folders :3

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

try find on pc.c::pc_isUseitem, just find & follow this line

	if (sd->state.storage_flag && item->type != IT_CASH) {
		clif_colormes(sd->fd, color_table[COLOR_RED], msg_txt(sd,388));
		return false; // You cannot use this item while storage is open.
	}
it disables item usage while storage is opened, except cash_item (in item_db, the one that type 18)

Cydh i have a question, how to make a limit in inventory only 200 pcs Pots? i want the 547 (Condensed White Potion) ONLY?

if else, it will say "Sorry it's not allow to have more than 200 547 (Condensed White Potion) in your inventory.

sorry if it is not related my topic.

Thank yoi in advance!

That's a completely different request, and barely fits the theam of posters request. Should post a new topic so things are easier to search

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