Jump to content
  • 0

Custom Halter Lead bug?


Question

Posted

i made a custom halter lead i just copy it

The Original

12622,Reins_Of_Mount,Reins Of Mount,11,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ setmounting(); },{},{}

i make for Ninja/ SL

12623,Ancient_Frog_Summoner,Ancient Frog Summoner,11,0,,10,,,,,0x02100000,7,2,,,,,,{ setmounting(); },{},{}

the mount is okay but when im on the mount i tried to click again but the mount doesn't release

how to fix it?

2 answers to this question

Recommended Posts

Posted (edited)

I guess is in pc.c

/* Items with delayed consume are not meant to work while in mounts except reins of mount(12622) */
if( sd->inventory_data[n]->flag.delay_consume ) {
 if( nameid != 12622 && sd->sc.option&OPTION_MOUNTING )
  return 0;
 else if( pc_issit(sd) )
  return 0;
}

Add your item ID with pipe line in to nameid :o

Edited by darristan
Posted (edited)

I guess is in pc.c

/* Items with delayed consume are not meant to work while in mounts except reins of mount(12622) */
if( sd->inventory_data[n]->flag.delay_consume ) {
 if( nameid != 12622 && sd->sc.option&OPTION_MOUNTING )
  return 0;
 else if( pc_issit(sd) )
  return 0;
}

Add your item ID with pipe line in to nameid :o

so it will look like this?

if( nameid != 12622 || nameid != 12623 && sc->sc.option&OPTION_MOUNTING )

or

if ( nameid != 12622,12623 &&  sc->sc.option&OPTION_MOUNTING )

Edited by bVersatile

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