Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/10/15 in all areas

  1. use this *checkequipedcard(<card id>) This function will return 1 if the card specified by its item ID number is inserted into any equipment they have in their inventory, currently equipped or not. or else use this method to check. *getinventorylist {<char_id>}; This command sets a bunch of arrays with a complete list of whatever the invoking character has in their inventory, including all the data needed to recreate these items perfectly if they are destroyed. Here's what you get: @inventorylist_id[] - array of item ids. @inventorylist_amount[] - their corresponding item amounts. @inventorylist_equip[] - whether the item is equipped or not. @inventorylist_refine[] - for how much it is refined. @inventorylist_identify[] - whether it is identified. @inventorylist_attribute[] - whether it is broken. @inventorylist_card1[] - These four arrays contain card data for the items. @inventorylist_card2[] These data slots are also used to store names @inventorylist_card3[] inscribed on the items, so you can explicitly check @inventorylist_card4[] if the character owns an item made by a specific craftsman. @inventorylist_expire[] - expire time (Unix time stamp). 0 means never expires. @inventorylist_bound[] - whether it is bound to the character @inventorylist_count - the number of items in these lists. This could be handy to save/restore a character's inventory, since no other command returns such a complete set of data, and could also be the only way to correctly handle an NPC trader for carded and named items who could resell them - since NPC objects cannot own items, so they have to store item data in variables and recreate the items. Notice that the variables this command generates are all temporary, attached to the character, and integer. Be sure to use @inventorylist_count to go through these arrays, and not 'getarraysize', because the arrays are not automatically cleared between runs of 'getinventorylist'.
    1 point
  2. here are the list that I saw on rA wiki maybe it can help you out... https://rathena.org/wiki/Getequipid https://rathena.org/wiki/Getequipcardcnt
    1 point
  3. The problem is relevant. Is there a solution?
    1 point
  4. All the other custom projects went to archive why should this be any different. If he comes back to continue he can either ask a moderator to pull it back or start a fresh topic.
    1 point
×
×
  • Create New...