RyokoMVP Posted September 8, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 209 Reputation: 3 Joined: 11/28/11 Last Seen: May 2, 2019 Share Posted September 8, 2012 how to make a few item ( example MVP Equip Drops ) Will Announce if drop from monster ? example : xxxx has got hunting spear from MVP fallen bishop @map xxxxx , @time xxxxx map ( map name ) time ( time when mvp died ) and teach me how to add more MVP Drops because i want to know who get mvp equip drops in my server but not from picklog / mvplog , announce more better ~ ( maybe can inserted to phpmyadmin ) my MVP DROP item is 20% , so i can't use rare_Drop_announce Quote Link to comment Share on other sites More sharing options...
Euphy Posted September 8, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1130 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted September 8, 2012 Via script, it's not possible to announce item drops as they're calculated independently from the script engine (you could theoretically shift all drops into a massive script-drop database, but that's very impractical...). You can announce when an MVP is killed, though: if (getmonsterinfo(killedrid,22)) { announce strcharinfo(0)+" has killed "+strmobinfo(1,killedrid)+"!",0; } Quote Link to comment Share on other sites More sharing options...
Brynner Posted September 8, 2012 Group: Members Topic Count: 118 Topics Per Day: 0.03 Content Count: 1942 Reputation: 197 Joined: 01/08/12 Last Seen: Wednesday at 11:39 AM Share Posted September 8, 2012 try to checl this http://rathena.org/board/topic/64203-specify-item-drop-announce/ Quote Link to comment Share on other sites More sharing options...
RyokoMVP Posted September 10, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 209 Reputation: 3 Joined: 11/28/11 Last Seen: May 2, 2019 Author Share Posted September 10, 2012 try to checl this http://rathena.org/b...-drop-announce/ thanks b4 , but can i get without src editing? Via script, it's not possible to announce item drops as they're calculated independently from the script engine (you could theoretically shift all drops into a massive script-drop database, but that's very impractical...). You can announce when an MVP is killed, though: if (getmonsterinfo(killedrid,22)) { announce strcharinfo(0)+" has killed "+strmobinfo(1,killedrid)+"!",0; } it's announce if MVP Killed? i need announce for MVP Drops equip because the drops is 20% so i can't use announce_drop_rare Quote Link to comment Share on other sites More sharing options...
Brynner Posted September 10, 2012 Group: Members Topic Count: 118 Topics Per Day: 0.03 Content Count: 1942 Reputation: 197 Joined: 01/08/12 Last Seen: Wednesday at 11:39 AM Share Posted September 10, 2012 what do you mean?you only want to announce the player who killed the mvp? Quote Link to comment Share on other sites More sharing options...
RyokoMVP Posted September 11, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 209 Reputation: 3 Joined: 11/28/11 Last Seen: May 2, 2019 Author Share Posted September 11, 2012 i only want announce if MVP equip drops from MVP Monster example player xxxx has kill MVP xxx and get Icepick ( example ) i need info for MVP Equip oonly... Quote Link to comment Share on other sites More sharing options...
clydelion Posted September 11, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Share Posted September 11, 2012 this will announce all weapons and armors dropped by MVPs.(excludes those in MVP drop field) Index: map/mob.c =================================================================== --- map/mob.c (revision 16608) +++ map/mob.c (working copy) @@ -2406,6 +2406,12 @@ //MSG: "'%s' won %s's %s (chance: %0.02f%%)" intif_broadcast(message,strlen(message)+1,0); } + if(mvp_sd && md->db->mexp && (it->type == IT_ARMOR || it->type == IT_WEAPON)){ + char message[128]; + sprintf (message, msg_txt(541), mvp_sd->status.name, md->name, it->jname, (float)drop_rate/100); + //MSG: "'%s' won %s's %s (chance: %0.02f%%)" + intif_broadcast(message,strlen(message)+1,0); + } // Announce first, or else ditem will be freed. [Lance] // By popular demand, use base drop rate for autoloot code. [skotlex] mob_item_drop(md, dlist, ditem, 0, md->db->dropitem[i].p, homkillonly); Quote Link to comment Share on other sites More sharing options...
Brynner Posted September 11, 2012 Group: Members Topic Count: 118 Topics Per Day: 0.03 Content Count: 1942 Reputation: 197 Joined: 01/08/12 Last Seen: Wednesday at 11:39 AM Share Posted September 11, 2012 i only want announce if MVP equip drops from MVP Monster example player xxxx has kill MVP xxx and get Icepick ( example ) i need info for MVP Equip oonly... on item_announce. just put only the item that you wanted to be announce. Quote Link to comment Share on other sites More sharing options...
RyokoMVP Posted September 11, 2012 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 209 Reputation: 3 Joined: 11/28/11 Last Seen: May 2, 2019 Author Share Posted September 11, 2012 i only want announce if MVP equip drops from MVP Monster example player xxxx has kill MVP xxx and get Icepick ( example ) i need info for MVP Equip oonly... on item_announce. just put only the item that you wanted to be announce. where is that? at conf/battle/drops.conf? i only want announce if MVP equip drops from MVP Monster example player xxxx has kill MVP xxx and get Icepick ( example ) i need info for MVP Equip oonly... on item_announce. just put only the item that you wanted to be announce. where is that?at conf/battle/drops.conf? this will announce all weapons and armors dropped by MVPs.(excludes those in MVP drop field) Index: map/mob.c =================================================================== --- map/mob.c (revision 16608) +++ map/mob.c (working copy) @@ -2406,6 +2406,12 @@ //MSG: "'%s' won %s's %s (chance: %0.02f%%)" intif_broadcast(message,strlen(message)+1,0); } + if(mvp_sd && md->db->mexp && (it->type == IT_ARMOR || it->type == IT_WEAPON)){ + char message[128]; + sprintf (message, msg_txt(541), mvp_sd->status.name, md->name, it->jname, (float)drop_rate/100); + //MSG: "'%s' won %s's %s (chance: %0.02f%%)" + intif_broadcast(message,strlen(message)+1,0); + } // Announce first, or else ditem will be freed. [Lance] // By popular demand, use base drop rate for autoloot code. [skotlex] mob_item_drop(md, dlist, ditem, 0, md->db->dropitem[i].p, homkillonly); yes i know about src , but i hope i can use script only , so i don't edit src~ ( maybe ) if impossible...i'll edit my src Quote Link to comment Share on other sites More sharing options...
Question
RyokoMVP
how to make a few item ( example MVP Equip Drops ) Will Announce if drop from monster ?
example : xxxx has got hunting spear from MVP fallen bishop @map xxxxx , @time xxxxx
map ( map name )
time ( time when mvp died )
and teach me how to add more MVP Drops because i want to know who get mvp equip drops in my server
but not from picklog / mvplog , announce more better ~ ( maybe can inserted to phpmyadmin )
my MVP DROP item is 20% , so i can't use rare_Drop_announce
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.