Skip to content

Community status for player

Featured Replies

How i can make to show on alt+b max p atk after 2.147 kkk? Now i have this

 

image.png.6c3380e796935998985d405d8fc98d90.png

 

It is more than 2,147 kkk. How i can set more?

 

content = content.replace("%patk%", String.valueOf(activeChar.getPAtk(activeChar)));

 

 

Edited by 0flee

i'm a little confused with your question,

Quote

content = content.replace("%patk%", String.valueOf(activeChar.getPAtk(activeChar)));

this one shows the p atk of the player in one html file, if there is a method to retrieve the max p atk  you should do it like 

replace("%maxPAtk%",String.valueOf(player.getMaxPAtk())) or something

If i understand something wrong please make your self more clear

  • Author

Well, if player reach 3 kkk p atk, i want he to view that on alt+b. Client have limit on alt+t

And i don't have this getMaxPAtk on L2PcInstance.

I try to do like Adena it is. With method in Config. Useless. Still no show more than 2,147 kkk with some HIGH LETTERS something like 2.147E08O87... something like that. I must change 

writeD((int) _activeChar.getPAtk(null)); from Userinfo.java?

Edited by 0flee

before the string parse, cast the value to long

Edited by melron

  • Author

For this line?
 

content = content.replace("%patk%", String.valueOf(activeChar.getPAtk(activeChar)));

Or i must make in another package a setting

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.