Re: Dev-Rev4 Updates
Posted: Sun Jul 08, 2018 8:10 am
raventrix wrote:Hello Great devs of this forum!
Im not a programmer, but i can understand things! Currently we are trying to make a server out from this dev rev 4! Currently we can run the server and players can connect already! We are now fixing bugs one by one!
Heres the case: The case is about valor points. When we do the quest, it went just fine. Valor points was added when you finished the quests, the problem is when you relog, the valor points you've earned was removed! Any solution for this guys? hopefully somebody will help!
To fix this problem: Edit file QuestActions.cpp in the (WORLD SERVER/QUEST) folder
case 81: //LMA: Union Points (no break, it's NOT a mistake)...
{
if (curAbil->iType==81)
{
// client->CharInfo->union01+=curAbil->iValue; JEDI:
// client->CharInfo->union01+=curAbil->iValue*client->pc_up/100; JEDI:
client->CharInfo->Honor+=curAbil->iValue;
client->CharInfo->Honor+=curAbil->iValue*client->pc_up/100;
client->savedata(); // JEDI:
}
}
case 82:
{
if (curAbil->iType==82)
{
//client->CharInfo->union02+=curAbil->iValue; JEDI:
//client->CharInfo->union02+=curAbil->iValue*client->pc_up/100; JEDI:
client->CharInfo->Valor+=curAbil->iValue;
client->CharInfo->Valor+=curAbil->iValue*client->pc_up/100;
client->savedata(); // JEDI:
}