Jump to content
  • 0

Added Item To Inventory Check


Jupeto

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

Are there any ways to check an item that was added to character's inventory?

Scenarios:

  1. Player A bought an item from a vendor ( Player B ), ( dispbottom "Player A bought <Item Name> from Player B"; )
  2. Player A successfully traded an item to Player B, ( dispbottom "Player A traded <Item Name> to Player B"; )
  3. Player A looted an item from a monster drop, ( dispbottom "Player A got <Item Name> from <Monster Name>"; )

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

query from log is easiest way

http://www.eathena.ws/board/index.php?showtopic=247755

I did proposed something that I can't write it myself XD

though I think this patch is ...

I hardly found it useful ... though

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

Don't know why there is an "Item Loot Event" idea flash in my mind suddenly :P

makeitem 512,~,~,~,~;
makeitem 619,~,~,~,~;
OnPCLootEvent:
if (map == "eventmap" || itemid == 512) {
@eventpoint, @eventpoint + 5;
delitem 512, 1;
end;
} else if (itemid == 619) {
@eventpoint, @eventpoint - 5;
delitem 619,1;
end;
}

Sounds stupid tho. Hahaha

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

query from log is easiest way

http://www.eathena.w...howtopic=247755

I did proposed something that I can't write it myself XD

though I think this patch is ...

I hardly found it useful ... though

isn't that for eAthena?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Alot of eA's src mods can be added to rA, with little to no edits at all, they would just need to be added in manually, as rA's src file is different so diff's won't be compatible.

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