Jump to content
  • 0

Possible for loot item?


Jayz

Question


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

When you loot certain item like 1201 auto announce

if possible how to script? give me example thanks

Problem Solved by cydh

Edited by Zack-
Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

active at when getting item or holding ?

Edited by goddameit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

auto map announce when looting the item in the floor

Edited by Zack-
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

auto map announce when looting the item in the floor

looting the item in the floor?

so how to active? when drop something? when pick up something? when hold something?

Edited by goddameit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

auto map announce when looting the item in the floor

looting the item in the floor?

so how to active? when drop something? when pick up something? when hold something?

when pick up the item have auto map announce

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

auto map announce when looting the item in the floor

looting the item in the floor?

so how to active? when drop something? when pick up something? when hold something?

when pick up the item have auto map announce

suggest to edit src

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  205
  • Reputation:   19
  • Joined:  10/12/12
  • Last Seen:  

Try to give a shoot at this.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

i dont know how to make :( thats why im here requesting thread if this is src @mod please move to the right section

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

will not suggest using script to complete, here is why

1. you have to make a loop event on player to make sure when something change you will know it

2. during the loop event, you have to check is there specify item in your area by using getareadropitem

3. if that specify item is in your area, now check did it disappear after cold time (loop event)

4. if it disappear, now check your inventory and see did you have new item that is that specify item

5. if yes, do announce

-

but in source, you only have to add some new commands in clif_parse_TakeItem (clif.c)

ex :

if( fitem->item_data.nameid == blabla ){ do announce }

Edited by goddameit
Link to comment
Share on other sites


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

hmmm.. maybe

1. make the db/item_loot_db.txt

2. every pc_additem and the item is listed on db/item_loot_db.txt, will be announced

Edited by cydh
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

hmmm.. maybe

1. make the db/item_loot_txt

2. every pc_takeitem and the item is listed on db/item_loot_txt, will be announced

yah thats i need

Link to comment
Share on other sites


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

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