Jump to content
  • 0

Custom Halter Lead bug?


PewN

Question


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

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?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

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