Jump to content

Question

11 answers to this question

Recommended Posts

Posted

just comment out the SC_MANHOLE

@clif.c


if (sd->sc.count &&
(sd->sc.data[sC_TRICKDEAD] ||
sd->sc.data[sC_AUTOCOUNTER] ||
sd->sc.data[sC_BLADESTOP] ||
sd->sc.data[sC__MANHOLE] || 
sd->sc.data[sC_CURSEDCIRCLE_ATKER] ||
sd->sc.data[sC_CURSEDCIRCLE_TARGET] ))
return;

Posted

oh..wait..what are you asking enabling

All jobs can use pots and can attack while in manhole

or fixing it???

i think he just want to disable using pots and making an attack while the character is inside the manhole.

Posted

oh..wait..what are you asking enabling

All jobs can use pots and can attack while in manhole

or fixing it???

According to iRO wiki: http://irowiki.org/wiki/Manhole

Manholed players can still use items as normal.

So I don't think it needs to be fixed o_O

yah that's what i want. . is it possible?

I believe this is what Malufett was referring to: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/clif.c

if (sd->sc.count &&
(sd->sc.data[sC_TRICKDEAD] ||
sd->sc.data[sC_AUTOCOUNTER] ||
sd->sc.data[sC_BLADESTOP] ||
//sd->sc.data[sC__MANHOLE] ||
sd->sc.data[sC_CURSEDCIRCLE_ATKER] ||
sd->sc.data[sC_CURSEDCIRCLE_TARGET] ))
return;

Posted

my players can still attack while in the manhole

oh..wait..what are you asking enabling

All jobs can use pots and can attack while in manhole

or fixing it???

According to iRO wiki: http://irowiki.org/wiki/Manhole

Manholed players can still use items as normal.

So I don't think it needs to be fixed o_O

yah that's what i want. . is it possible?

I believe this is what Malufett was referring to: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/clif.c

if (sd->sc.count &&
(sd->sc.data[sC_TRICKDEAD] ||
sd->sc.data[sC_AUTOCOUNTER] ||
sd->sc.data[sC_BLADESTOP] ||
//sd->sc.data[sC__MANHOLE] ||
sd->sc.data[sC_CURSEDCIRCLE_ATKER] ||
sd->sc.data[sC_CURSEDCIRCLE_TARGET] ))
return;

my players can still attack while in the manhole xD

Posted

the code above in clif.c is the one that makes the target under manhole to stop them from attacking...

and to stop targets to use item @pc.c

//Prevent mass item usage. [skotlex]
if( DIFF_TICK(sd->canuseitem_tick, tick) > 0 ||
 (itemdb_iscashfood(sd->status.inventory[n].nameid) && DIFF_TICK(sd->canusecashfood_tick, tick) > 0)
)
 return 0;

if( sd->sc.count && (
sd->sc.data[sC_BERSERK] ||
(sd->sc.data[sC_GRAVITATION] && sd->sc.data[sC_GRAVITATION]->val3 == BCT_SELF) ||
 sd->sc.data[sC_TRICKDEAD] ||
 sd->sc.data[sC_HIDING] ||
 sd->sc.data[sC__SHADOWFORM] ||
 (sd->sc.data[sC_NOCHAT] && sd->sc.data[sC_NOCHAT]->val1&MANNER_NOITEM)
))
 return 0;

just add 'sd->sc.data[sC__MANHOLE]'

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