- Function GetSoption(ref) As String
- GetSoption = " Un-Defined " + CStr(ref)
- Select Case ref
- Case 2
- GetSoption = " Gender "
- Case 3
- GetSoption = " Birthstone "
- Case 4
- GetSoption = " Job "
- Case 5
- GetSoption = " Union "
- Case 7
- GetSoption = " Reputation "
- Case 8
- GetSoption = " Face "
- Case 9
- GetSoption = " Hair "
- Case 10
- GetSoption = " Strength "
- Case 11
- GetSoption = " Dexterity "
- Case 12
- GetSoption = " Inteligence "
- Case 13
- GetSoption = " Concentration "
- Case 14
- GetSoption = " Charm "
- Case 15
- GetSoption = " Sense "
- Case 31
- GetSoption = " Level "
- Case 32
- GetSoption = " Stat points "
- Case 34
- GetSoption = " PK Level "
- Case 37
- GetSoption = " Skill points "
- Case 40
- GetSoption = " Money "
- Case 81
- GetSoption = " Junon Order Union points "
- Case 83
- GetSoption = " Righteous Crusaders Union points "
- Case 84
- GetSoption = " Arumic Union points "
- Case 85
- GetSoption = " Ferrel Guild Union points "
- Case 89
- GetSoption = " Kuro-Tejina Union Points " 'Special union added into KTRose pre-evo client
- End Select
- End Function
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:
}