bgamez23 - Jun 16, 2013 8:05
after i edit the [i]MAX_SEARCH[/i] on [url="https://github.com/HerculesWS/Hercules/blob/35dcafcc79892075bfbd5087b44116c6328cc533/src/map/itemdb.h"]src/map/itemdb.h[/url] into 1000 it should posted all the monster that will drop that item right?
i try to search 607 [b]Yggdrasil Berry[/b]
so it should be posted all monsters who will drop that item right?
i use rms to see all mobs who drop this item.
[img]http://s15.postimg.org/n4mzi7yrf/111.jpg[/img]
but on the server side. not all monsters are displayed?
[img]http://s23.postimg.org/6vqkrdlor/screen_Hercules000.jpg[/img]
bgamez23 - Jun 18, 2013 9:09
bump
Ind - Jun 19, 2013 13:17
Treasure Chests are excluded in @whodrops by design (I dont know why, but it is intended)
in mob.c:[code=auto:0]
if( db->dropitem[i].p && (class_ < 1324 || class_ > 1363) && (class_ < 1938 || class_ > 1946) )
{ //Skip treasure chests.
if (id->maxchance == -1 || (id->maxchance < db->dropitem[i].p) ) {
id->maxchance = db->dropitem[i].p; //item has bigger drop chance or sold in shops
}
for (k = 0; k< MAX_SEARCH; k++) {
if (id->mob[k].chance <= db->dropitem[i].p)
break;
}
if (k == MAX_SEARCH)
continue;
if (id->mob[k].id != class_)
memmove(&id->mob[k+1], &id->mob[k], (MAX_SEARCH-k-1)*sizeof(id->mob[0]));
id->mob[k].chance = db->dropitem[i].p;
id->mob[k].id = class_;
}
[/code]
bgamez23 - Jun 19, 2013 14:35
[quote name="Ind" timestamp="1371647854"]
Treasure Chests are excluded in @whodrops by design (I dont know why, but it is intended)
in mob.c:[code=auto:0]
if( db->dropitem[i].p && (class_ < 1324 || class_ > 1363) && (class_ < 1938 || class_ > 1946) )
{ //Skip treasure chests.
if (id->maxchance == -1 || (id->maxchance < db->dropitem[i].p) ) {
id->maxchance = db->dropitem[i].p; //item has bigger drop chance or sold in shops
}
for (k = 0; k< MAX_SEARCH; k++) {
if (id->mob[k].chance <= db->dropitem[i].p)
break;
}
if (k == MAX_SEARCH)
continue;
if (id->mob[k].id != class_)
memmove(&id->mob[k+1], &id->mob[k], (MAX_SEARCH-k-1)*sizeof(id->mob[0]));
id->mob[k].chance = db->dropitem[i].p;
id->mob[k].id = class_;
}
[/code][/quote]
lol it's not the issue. the issue is some of the mobs like baphomet the MVP boss?
malufett - Jun 19, 2013 14:50
[quote]
lol it's not the issue. the issue is some of the mobs like baphomet the MVP boss?[/quote]
because MVP bonus item/reward is not droppable I mean the item automatically goes on your inventory...so it is not consider a drop...:D
:meow:
bgamez23 - Jun 19, 2013 15:55
[quote name="malufett" timestamp="1371653401"][quote]
lol it's not the issue. the issue is some of the mobs like baphomet the MVP boss?[/quote]because MVP bonus item/reward is not droppable I mean the item automatically goes on your inventory...so it is not consider a drop... :D
:meow:[/quote]
oh i see. thanks