The level 0 profile fix
|
|
If your script shows level 0 as your boss level on the FBMW+ menu, this fix will update it to show your current level. searh for these lines:
case 'profile':
if (Page.c_page == 'profile' && Page.c_params.user_id == Page.c_user)
under them you will find
var result = header1.match(/"(.*)", Level [0-9]+ (\w+)/);
this.name = result[1]; // boss name
this.type = result[2]; // boss type
change those to:
var result = header.match(/"(.*)", Level ([0-9]+) (\w+)/);
this.name = result[1];
this.level = result[2];
this.type = result[3];
and you should have your current level showing. |