Tutorial - Give all PvE Titles MyWeb Function | hrace009 Community ✅

Tutorial Give all PvE Titles MyWeb Function

hrace009

Administrator
Staff member
It overwrites already owned titles
Gives all PvE complex titles + War Avatar Titles

PHP:
$api = My::app()->getApi();
$role = CAuth::selectedRoleId();
$roleData = $api->getRole($role);

if ($roleData['status']['title_data'] != '00005a00000089058705850583058b058805860584058a057b057c057d057e057f058005810582056106620663066406150516051705180519051a051b051c051d051e051f052005210523052405250522052a0538053a053b05400541054205430528052c05300539053f0548054a0529052b052d052e053105330534053c05440526052f05320535053d054f053705460547054e05500551055205560559054c0553055405550557056f05700578057105740575057605770500000000'){
   
    $roleData['status']['title_data'] = '00005a00000089058705850583058b058805860584058a057b057c057d057e057f058005810582056106620663066406150516051705180519051a051b051c051d051e051f052005210523052405250522052a0538053a053b05400541054205430528052c05300539053f0548054a0529052b052d052e053105330534053c05440526052f05320535053d054f053705460547054e05500551055205560559054c0553055405550557056f05700578057105740575057605770500000000';

    if($api->putRole($role, $roleData)) {
        echo 'success';
    }else {
        echo 'system error';
    }
}
 
Top