Jump to content

Question

9 answers to this question

Recommended Posts

Posted (edited)

Or just change the item code to one of the following

SC_FOOD_STR_CASH
SC_FOOD_AGI_CASH
SC_FOOD_VIT_CASH
SC_FOOD_DEX_CASH
SC_FOOD_INT_CASH
SC_FOOD_LUK_CASH

Edited by nanakiwurtz
  • Upvote 1
Posted

try these...

inside this file

trunk/src/map/status.c

find these..

 switch (i)
 { //Type 0: PC killed -> Place here statuses that do not dispel on death.
 case SC_ELEMENTALCHANGE://Only when its Holy or Dark that it doesn't dispell on death
  if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK )
   break;

add below...

 case SC_FOOD_STR:
 case SC_FOOD_AG:
 case SC_FOOD_VIT:
 case SC_FOOD_DEX:
 case SC_FOOD_INT:
 case SC_FOOD_LUK:

or any other food name / status name....

recompile...

  • Upvote 1
Posted

Or just change the item code to one of the following

SC_FOOD_STR_CASH
SC_FOOD_AGI_CASH
SC_FOOD_VIT_CASH
SC_FOOD_DEX_CASH
SC_FOOD_INT_CASH
SC_FOOD_LUK_CASH

thank you.

try these...

inside this file

trunk/src/map/status.c

find these..

 switch (i)
 { //Type 0: PC killed -> Place here statuses that do not dispel on death.
 case SC_ELEMENTALCHANGE://Only when its Holy or Dark that it doesn't dispell on death
  if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK )
break;

add below...

 case SC_FOOD_STR:
 case SC_FOOD_AG:
 case SC_FOOD_VIT:
 case SC_FOOD_DEX:
 case SC_FOOD_INT:
 case SC_FOOD_LUK:

or any other food name / status name....

recompile...

thanks also to emistry.

and can you guys help me here?

http://rathena.org/board/topic/78123-curse-water-and-converters/

i would really really appreciate

Posted (edited)

they should be in src/map/skill.c

find

//case SC_SAVAGE_STEAK: case SC_COCKTAIL_WARG_BLOOD: case SC_MINOR_BBQ:

//case SC_SIROMA_ICE_TEA: case SC_DROCERA_HERB_STEAMED: case SC_PUTTI_TAILS_NOODLES:

remove the comments and recompile

Edited by QQfoolsorellina
Posted

try these...

inside this file

trunk/src/map/status.c

find these..

 switch (i)
 { //Type 0: PC killed -> Place here statuses that do not dispel on death.
 case SC_ELEMENTALCHANGE://Only when its Holy or Dark that it doesn't dispell on death
  if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK )
break;

add below...

 case SC_FOOD_STR:
 case SC_FOOD_AG:
 case SC_FOOD_VIT:
 case SC_FOOD_DEX:
 case SC_FOOD_INT:
 case SC_FOOD_LUK:

or any other food name / status name....

recompile...

emistry i tried this but im getting errors when recompile..

status.c: In function 'status_change_clear':
status.c:9030: error: 'SC_FOOD_STR' undeclared (first use in this function)
status.c:9030: error: (Each undeclared identifier is reported only once
status.c:9030: error: for each function it appears in.)
status.c:9031: error: 'SC_FOOD_AG' undeclared (first use in this function)
status.c:9032: error: 'SC_FOOD_VIT' undeclared (first use in this function)
status.c:9033: error: 'SC_FOOD_DEX' undeclared (first use in this function)
status.c:9034: error: 'SC_FOOD_INT' undeclared (first use in this function)
status.c:9035: error: 'SC_FOOD_LUK' undeclared (first use in this function)

Posted

they should be in src/map/skill.c

find

//case SC_SAVAGE_STEAK: case SC_COCKTAIL_WARG_BLOOD: case SC_MINOR_BBQ:

//case SC_SIROMA_ICE_TEA: case SC_DROCERA_HERB_STEAMED: case SC_PUTTI_TAILS_NOODLES:

remove the comments and recompile

 

It helps. Thanks! :)

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