Jump to content

Costume NPC and @costumeitem


Rebel

Recommended Posts


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

Turn every headgear you wear (TOP,MID,LOWER) into costume headgear.
Removing the refine, stats and cards.

 

Also you can revert back your Costume Headgear to its original state. :D

But not the refine, stats and cards.

Working with the Revision 17306

Feel free to use  :D Hahaha! ENJOY!

 

Credits to Rebel, Zephyrus

 

EDIT : I don't support this anymore. :)

Costume_System_v1.diff

costume.txt

Edited by Rebel
  • Upvote 8
  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Turn every headgear you wear (TOP,MID,LOWER) into costume headgear.

Removing the refine, stats and cards.

 

Also you can revert back your Costume Headgear to its original state. :D

But not the refine, stats and cards.

Working with the Revision 17306

-- Not accepting suggestion..  :)

Feel free to use  :D Hahaha! ENJOY!

 

Credits to Rebel, Zephyrus

You forgot the link buddy.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

downloaded. :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

Thanks Cydh. :D^_^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

I got error

pc.c:69: error: âEQP_COSTUME_GARMENTâ undeclared here (not in a function)
pc.c:69: warning: excess elements in array initializer
pc.c:69: warning: (near initialization for âequip_posâ)

 

+static unsigned short equip_pos[EQI_MAX]={EQP_ACC_L,EQP_ACC_R,EQP_SHOES,EQP_GARMENT,EQP_HEAD_LOW,EQP_HEAD_MID,EQP_HEAD_TOP,EQP_ARMOR,EQP_HAND_L,EQP_HAND_R,EQP_AMMO,EQP_COSTUME_HEAD_TOP,EQP_COSTUME_HEAD_MID,EQP_COSTUME_HEAD_LOW,EQP_COSTUME_GARMENT};

 


 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

Maybe you are not using updated revision.. latest revision supports now costume garment.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

20 downloads :)

  • Upvote 1
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  05/05/12
  • Last Seen:  

npc script is not working

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

npc script is not working

 

Do you have any explanation why is it not working? Any error in the console??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  05/05/12
  • Last Seen:  

i already fixed the error tnx for the reply :)

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   0
  • Joined:  02/17/12
  • Last Seen:  

Awesome +1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

it can use only npc or both (need src to)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

it can use only npc or both (need src to)

 

what?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  187
  • Reputation:   7
  • Joined:  09/04/12
  • Last Seen:  

I want to know when I turn the Apple_Of_Archer into Costume....will it keep the state dex+3?

while i wear the 2 of Apple_Of_Archer on normal headgear and Costume headgear, will it change my dex increase to 6?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

When you turn your normal headgear to custom stats bonus will be removed.. also refine bonus and cards attached will removed..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  187
  • Reputation:   7
  • Joined:  09/04/12
  • Last Seen:  

When you turn your normal headgear to custom stats bonus will be removed.. also refine bonus and cards attached will removed..

Does it mean that any headgear turn into Costume, it only have appearance(no bonus, cannot refine, cannot add card) ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

When you turn your normal headgear to custom stats bonus will be removed.. also refine bonus and cards attached will removed..

Does it mean that any headgear turn into Costume, it only have appearance(no bonus, cannot refine, cannot add card) ?

 

Yes.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  187
  • Reputation:   7
  • Joined:  09/04/12
  • Last Seen:  

Okay。

when I put this item which headgear turn into costume on the vending,how other player know it is costume or not?

I found one bug. If you got two same headgear on the inventory, then you cannot restore successful.
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   4
  • Joined:  07/10/13
  • Last Seen:  

Okay。

when I put this item which headgear turn into costume on the vending,how other player know it is costume or not?

 

I found one bug. If you got two same headgear on the inventory, then you cannot restore successful.

Well since there is no item id for the specific costume then no one would really know if that item is a costume or not, only if they equip it.

 

I suggest that if we can add some script to the items that has been converted to costume be untradaeble or even un-vendable since all they have to do is convert it back to being a normal equipment and then thats the time they can sell it.

 

about the bug though, maybe you can just put the other one in your storage that simple.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

Turn every headgear you wear (TOP,MID,LOWER) into costume headgear.

Removing the refine, stats and cards.

 

Also you can revert back your Costume Headgear to its original state. :D

But not the refine, stats and cards.

Working with the Revision 17306

Feel free to use  :D Hahaha! ENJOY!

 

Credits to Rebel, Zephyrus

 

 

hy zephyruz :) i found error in your patch error when i will compiling in latest Rathena

 

atcommand.c(5575): error C2065: 'costume' : undeclared identifier

 

just this but i has been check in this atcomand c i see declare.because

 

int number = 0, item_id, flag = 0, bound = 0, costume = 0;

 

it must declare..hm...how to fix this?

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  153
  • Reputation:   14
  • Joined:  07/07/12
  • Last Seen:  

Prompt, how to forbid to sell costume equipment or to put it in a cart?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

I have the following problem someone knows how to solve?

 

[spoiler=error] CC chrif.c
CC clif.c
CC pc.c
pc.c:83: warning: excess elements in array initializer
pc.c:83: warning: (near initialization for âequip_posâ)
pc.c:83: warning: excess elements in array initializer
pc.c:83: warning: (near initialization for âequip_posâ)
pc.c:83: warning: excess elements in array initializer
pc.c:83: warning: (near initialization for âequip_posâ)
CC status.c
status.c: In function âstatus_calc_pc_â:
status.c:2569: warning: array subscript is above array bounds
status.c:2662: warning: array subscript is above array bounds
CC npc.c
CC npc_chat.c
CC chat.c
CC path.c
CC itemdb.c
CC mob.c
CC script.c
script.c: In function âbuildin_costumeâ:
script.c:18011: error: too few arguments to function âlog_pick_pcâ
script.c:18026: error: too few arguments to function âlog_pick_pcâ
make[1]: *** [obj_sql/script.o] Error 1
make[1]: Leaving directory `/home/ragnarok/emulador/src/map'
make: *** [map_sql] Error 2

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   5
  • Joined:  03/09/12
  • Last Seen:  

where to put the Costume_System_v1.diff  anyways?



bump



wetwew



Turn every headgear you wear (TOP,MID,LOWER) into costume headgear.
Removing the refine, stats and cards.

 

Also you can revert back your Costume Headgear to its original state. :D

But not the refine, stats and cards.

Working with the Revision 17306

Feel free to use  :D Hahaha! ENJOY!

 

Credits to Rebel, Zephyrus

 

EDIT : I don't support this anymore. :)

Help

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   5
  • Joined:  03/09/12
  • Last Seen:  

anyone?



ohh isee let me try

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   3
  • Joined:  07/08/13
  • Last Seen:  

Nice script, I convert it to Hercules and it works like a charm :) +1 @TS

 

 

 

mljgaa.jpg



anyone?



ohh isee let me try

Diff it using tortoise be sure that you are using  rAthena Revision 17306.

Edited by sevenzz23
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
Reply to this topic...

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