Jump to content
  • 0

@mobinfo and @iteminfo Edits for Every server


Rayan

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

Hi,

I m requesting modification in @mi and @ii for things like , they wont show the drop rates, Just whts needed is @mi would show the monster all info other than rates and for @ii it would show by whome dropped thats all,

Emulator For My Server : eAthena.

Please modify code according to my emulator, A request!!

I m asking for this modifications because many server have issues with droprates and players actually eat out you head just for drop rate changes.

Developers Please consider This Request.

Regards,

Ryax

Edited by Ryax
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

bump!

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

try remove these..

trunk/src/map/atcommand.c

 j = 0;
 for (i = 0; i < MAX_MOB_DROP; i++) {
  int droprate;
  if (mob->dropitem[i].nameid <= 0 || mob->dropitem[i].p < 1 || (item_data = itemdb_exists(mob->dropitem[i].nameid)) == NULL)
continue;
  droprate = mob->dropitem[i].p;
  if (item_data->slot)
sprintf(atcmd_output2, " - %s[%d]  %02.02f%%", item_data->jname, item_data->slot, (float)droprate / 100);
  else
sprintf(atcmd_output2, " - %s  %02.02f%%", item_data->jname, (float)droprate / 100);
  strcat(atcmd_output, atcmd_output2);
  if (++j % 3 == 0) {
clif_displaymessage(fd, atcmd_output);
strcpy(atcmd_output, " ");
  }
 }
 if (j == 0)
  clif_displaymessage(fd, msg_txt(1246)); // This monster has no drops.
 else if (j % 3 != 0)
  clif_displaymessage(fd, atcmd_output);

 // mvp
 if (mob->mexp) {
  sprintf(atcmd_output, msg_txt(1247), mob->mexp); //  MVP Bonus EXP:%u
  clif_displaymessage(fd, atcmd_output);
  strcpy(atcmd_output, msg_txt(1248)); //  MVP Items:
  j = 0;
  for (i = 0; i < MAX_MVP_DROP; i++) {
if (mob->mvpitem[i].nameid <= 0 || (item_data = itemdb_exists(mob->mvpitem[i].nameid)) == NULL)
 continue;
if (mob->mvpitem[i].p > 0) {
 j++;
 if (j == 1)
  sprintf(atcmd_output2, " %s  %02.02f%%", item_data->jname, (float)mob->mvpitem[i].p / 100);
 else
  sprintf(atcmd_output2, " - %s  %02.02f%%", item_data->jname, (float)mob->mvpitem[i].p / 100);
 strcat(atcmd_output, atcmd_output2);
}
  }
  if (j == 0)
clif_displaymessage(fd, msg_txt(1249)); // This monster has no MVP prizes.
  else
clif_displaymessage(fd, atcmd_output);
 }

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