Issue information

Issue ID
#6143
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jul 1, 2012 9:45
Last Post
Hercules Elf Bot
Jul 1, 2012 14:16
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - Jul 1, 2012 9:45

Originally posted by [b]Llediarth[/b]
I noticed a problem with Administrator Michael's script that results in him not giving a Paradise Hat and a Paradise Manteau when he should.

When a Swordsman skips the first stage of training, then goes on to complete the second stage and chooses the Slayer as their weapon they will receive a Paradise Hat II and a Paradise Manteau II instead of the first versions as seen in this part of the script from eden_quests.txt line 2355
[code]if (para_suv02 == 0) {
mes "[Michael]";
mes "You don't have a record of receiving any supplies";
mes "so, you'll receive the Eden Group Hat and Manteau aswell.";
set para_suv01,23;
set para_suv02,2;
getitem 1192,1; //P_Slayer1
getitem 18514,1; //Para_Team_Hat2
getitem 2571,1; //Para_Team_Manteau2
getitem 2457,1; //Para_Team_Boots2
getitem 15010,1; //Para_Team_Uniform2
next;
mes "[Michael]";
mes "Check your supplies again and look after it.";
close;
}[/code]
There wrong item IDs are being used and the should be changed from 18514 and 2571 to 5583 and 2560.

When a Mage skips the first stage of the training exercises and then goes onto complete the second stage they get everything they should except the hat and manteau, here is the script from eden_quests.txt line 2695
[code]if (para_suv02 == 0) {
mes "[Michael]";
mes "You don't have a record of receiving any supplies";
mes "so, you'll receive the Eden Group Hat and Manteau aswell.";
set para_suv01, 23;
set para_suv02, 2;
getitem 1650,1; //P_Staff1
getitem 2457,1; //Para_Team_Boots2
getitem 15010,1; //Para_Team_Uniform2
set Para_Team_Hat,Para_Team_Hat+1;
set Para_Team_Manteau,Para_Team_Manteau+1;
next;
mes "[Michael]";
mes "Check your supplies again and look after it.";
close;
}[/code]

As you can see for some reason the variables Para_Team_Hat and Para_Team_Manteau are being set but they aren't used anywhere after being set. Rather than set these variables I suspect there should be the following code that is used elsewhere
[code]getitem 5583,1; //Para_Team_Hat
getitem 2560,1; //Para_Team_Manteau[/code]

Hercules Elf Bot - Jul 1, 2012 14:16

Originally posted by [b]Masao[/b]
Fixed in [rev=16362] .