Issue information

Issue ID
#4393
Status
Invalid
Severity
None
Started
Hercules Elf Bot
Aug 19, 2010 14:11
Last Post
Hercules Elf Bot
Mar 5, 2012 15:58
Confirmation
N/A

Hercules Elf Bot - Aug 19, 2010 14:11

Originally posted by [b]SirKaldarin[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4393

Hello,

i will make it short:

there is a little mistake in the custom wedding script (same sex).
The Female-Female wedding working fine but you can't marriage M-F or M-M because the script tests if the tuxedo ist equiped on groom
and we all know the tuxedo is'n an equipable item so i had made a little changes:

File: npc/custom/marriage.txt

around line 401
CODE
if (sex && getequipid(2) != 7170) {

replase with:
CODE
if (sex && countitem(7170) = 0) {


and around line 700 find:
CODE
if (getequipid(2) != @item) {

and replase with:
CODE
if (countitem(@item) = 0) {


Please test and verify someone. I could not test because i don't have own RO realm and at this time i am at work (IMG:style_emoticons/default/wink.gif)

This post has been edited by SirKaldarin: Aug 19 2010, 07:46 AM

Hercules Elf Bot - Dec 20, 2011 9:22

Originally posted by [b]calciumkid[/b]
Use the equipable version commented out in the DB.