Issue information

Issue ID
#5664
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Apr 28, 2012 23:44
Last Post
Hercules Elf Bot
May 23, 2012 8:42
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - Apr 28, 2012 23:44

Originally posted by [b]Vali[/b]
The quest is giving 900.000 exp instead of 90.000.

The code must be:

[CODE]
bra_in01,206,188,1 script Open Manhole#todunbra 844,{
if (brazil_ghost == 7) {
enablenpc "Ghost#bra_end";
mes "[Ghost]";
mes "I am a ghost who died while wandering the jungle many years ago.";
next;
mes "[Ghost]";
mes "I found a pipeline in the jungle and followed the voice of a man to this very spot.";
next;
mes "[Ghost]";
mes "That's also where I hurt one of my eyes while walking around in the dark.";
next;
mes "[Ghost]";
mes "I wandered these sewers for days until I found the end of this line connected to the toilet in the museum. I shouted forever begging for help but no one answered my calls.";
next;
mes "[Ghost]";
mes "You finally answered my call but it's already way too late. Thank you for at least checking. No one else has bothered to this day.";
next;
mes "[Ghost]";
mes "There are many dangerous creatures at the end of this sewer.";
mes "You seem brave though. I bet you wouldn't worry about the monsters there anyways.";
next;
mes "[Ghost]";
mes "I guess now I can finally rest in peace.";
mes "Thank you friend.";
set brazil_ghost,8;
//completequest 2208;
completequest 60355;
getexp 90000,0;
disablenpc "Ghost#bra_end";
close;
}
warp "bra_dun01",87,47;
end;
}
[/CODE]

Vali~

Hercules Elf Bot - May 14, 2012 14:13

Originally posted by [b]Masao[/b]
Anyone can confirm this? Muad_Dib?

Hercules Elf Bot - May 21, 2012 17:18

Originally posted by [b]Masao[/b]
I think i read somewhere that quest exp is exp / 10 in renewal, so this value should be correct and the script / quest is working as intended.

Hercules Elf Bot - May 21, 2012 17:49

Originally posted by [b]Vali[/b]
Then the quest was giving 9.000.000 before renewal? I really think that the preRE exp is 900000. More than WAS we need more information before change the status to be sure...

I know that the exp was /10 in RE, for that reason I reported it, because I think that 900000 is the preRE exp and 90000 is the RE exp. But if you think that is correct... ok.

This post has been edited by Vali on May 21, 2012 17:57

Hercules Elf Bot - May 21, 2012 17:56

Originally posted by [b]Masao[/b]
No, i think before renewal it was giving 900'000exp, and in renewal the exp are / 10 so it is 90'000 as you stated above, so everything seems correct for me.

Hercules Elf Bot - May 21, 2012 18:00

Originally posted by [b]Vali[/b]
But if you check the file you will see that is giving 900'000 now instead of 90'000:

http://sourceforge.net/apps/trac/rathena/browser/trunk/npc/quests/quests_brasilis.txt?rev=16136 line 4082

Hercules Elf Bot - May 21, 2012 18:05

Originally posted by [b]Masao[/b]
*bumps head against wall*

Vali, you know i like you and how you help us with bugs and such, but sometimes you really act like an complete retard dude xD

As you may know, exp calculation is done in the source of every eAthena/rAthena Server, and we here in rAthena have this switch if you want to run your server in renewal mode or in pre-renewal mode.

So if you set your server in renewal mode, the source will calculate 900'000 / 10 = 90'000 and give you 90'000 exp. If it's set to pre-renewal you'll just straight receive the full 900'000 exp.

Hercules Elf Bot - May 21, 2012 18:08

Originally posted by [b]Vali[/b]
Ok, my mistake then. I'm sorry. Well, nobody is perfect in this world :)

I was missing that part and only looking into the NPC script.