Jump to content
  • 0

Boots [1] (Stormy's MvP Reward)


Question

Posted (edited)

Hi everyone :)

 

When @mi'ing Stormy on my pre-renewal server, I get this :

 

yoyon.jpg

 

Problem is with the boots, which should appear as "Boots [1]" (item #2406)

 

In fact, I :

  • checked the monster db, Stormy DOES drop the right boots (2406,275)
  • #item'ed 2406, it spawns the correct item, some [1] boots
  • @mi'ed ungoliant (it also drops boots[1]), and with this mob the boot slot is shown

 

So basically my problem is the [1] not appearing in the stormy's MvP Items drop description for some reason....

 

Thanks for the help.



Any clue anyone ?

Edited by Adam

6 answers to this question

Recommended Posts

Posted

inside  trunk/src/map/atcommand.c

 

try find

    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);
    }

 

and change to this

   if (mob->mvpitem[i].p > 0) {
        j++;
        if (j == 1){
            if (item_data->slot){
                sprintf(atcmd_output2, " %s[%d]  %02.02f%%", item_data->jname, item_data->slot, (float)mob->mvpitem[i].p / 100);
            }else{
                sprintf(atcmd_output2, " %s  %02.02f%%", item_data->jname, (float)mob->mvpitem[i].p / 100);
            }    
        }else{
            if (item_data->slot){
                sprintf(atcmd_output2, " - %s[%d]  %02.02f%%", item_data->jname, item_data->slot, (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);
    }

and recompile ....

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...