Jump to content
  • 0

Increasing max status values (above 2.147 billion)


Question

Posted (edited)

Hello,

Recently I've got the old files of a custom server (L2 Insolence, similar to L2cz or L2 Getwork).

Sadly, people reach the max status allowed by the client int32 variables pretty fast(image attached), so its hard to keep up with how much itens are actually increasing the status. So I'm trying to figure it out how I could increase these values. 

I think the server is L2J, not sure how much that affects it.

Thanks in advance 😃

 

download.png

Edited by Vision

9 answers to this question

Recommended Posts

  • 0
Posted
4 hours ago, scantraxx7777 said:

Not big enough already ? 😄

Are there really people interested playing this ? 

Yeah, its mostly nostalgic for me at the moment, since its a custom server.

  • 0
Posted
On 1/5/2023 at 9:50 AM, scantraxx7777 said:

Not big enough already ? 😄

Are there really people interested playing this ? 

I remember playing L2Getwork when I was 12 years old and enchanting my fists 3 days straight. Got em to +8000 😄

This is more of a 'PvE' gameplay servers, enjoyed by many people who love these type of 'idle' games (where u can turn your brain off and spam clicks to progress, this is very similar).

 

-

 

The easy way to do it is by providing players with a custom panel with enough space to display everything and you can use any number u wish, check http://l2kairos.com/ they provide status in community board cause u can reach over 100kkk patk/matk etc.

 

If you got money to pay/experience you can modify the interface to display the stats on existing windows, but it can be tricky if you never did smth similar (that's why I said money to pay).

  • 0
Posted
9 hours ago, An4rchy said:

I remember playing L2Getwork when I was 12 years old and enchanting my fists 3 days straight. Got em to +8000 😄

This is more of a 'PvE' gameplay servers, enjoyed by many people who love these type of 'idle' games (where u can turn your brain off and spam clicks to progress, this is very similar).

 

-

 

The easy way to do it is by providing players with a custom panel with enough space to display everything and you can use any number u wish, check http://l2kairos.com/ they provide status in community board cause u can reach over 100kkk patk/matk etc.

 

If you got money to pay/experience you can modify the interface to display the stats on existing windows, but it can be tricky if you never did smth similar (that's why I said money to pay).



Exactly! It becomes more of a "PVE gameplay" with idle gaming...could even be considered one of those auto battle/idle games from mobiles, where its more about management than skill(unless you do PvP of course).

And yes, I have no idea how to do it, but I'll give it a look on the kairos server so I can have an idea of what can be done, thank you 🙂

  • 0
Posted
9 hours ago, toann2222 said:



Exactly! It becomes more of a "PVE gameplay" with idle gaming...could even be considered one of those auto battle/idle games from mobiles, where its more about management than skill(unless you do PvP of course).

And yes, I have no idea how to do it, but I'll give it a look on the kairos server so I can have an idea of what can be done, thank you 🙂

 

Basically stats are usually 'double' type and not 'int' server-side, so the only thing you would have to do in order to properly display big stats is make a html and display them there rather than send them to the client which treats them like 'int' and u get the 2kkk max value. It should be very simple to do.

  • 0
Posted
8 hours ago, An4rchy said:

 

Basically stats are usually 'double' type and not 'int' server-side, so the only thing you would have to do in order to properly display big stats is make a html and display them there rather than send them to the client which treats them like 'int' and u get the 2kkk max value. It should be very simple to do.

in case anyone tries something like this, what I did was to follow An4rchy tip and use the already created shift+click function to show mobs stats/drops, to show the player stats too.

so in the L2NpcActionShift.java file, I changed this line to show the extra stats 🙂

final StringBuilder html1 = StringUtil.startAppend(1000, "<html><body>" + "<br><center><font color=\"LEVEL\">[My Stats]</font></center>" + "<table border=0 width=\"100%\">" + "</td></tr>" + "<tr><td>P.Atk.</td><td>", String.valueOf(activeChar.getPAtk(null)), "</td></tr><tr><td>M.Atk.</td><td>", String.valueOf(activeChar.getMAtk(null, null)), "</td></tr>" + "<tr><td>Magic Crit. Rate.</td><td>", String.valueOf(activeChar.getMCriticalHit(null,null)), "</td></tr>"  + "</table>" + "<br><center><font color=\"LEVEL\">[Combat Stats]</font></center>" + "<table border=0 width=\"100%\">" + "<tr><td>Max.HP</td><td>", String.valueOf(((L2Character) target).getMaxHp() / hpMul), "*", String.valueOf(hpMul), "</td><td>Max.MP</td><td>", String.valueOf(((L2Character) target).getMaxMp()), "</td></tr>" + "<tr><td>P.Atk.</td><td>", String.valueOf(((L2Character) target).getPAtk(null)), "</td><td>M.Atk.</td><td>", String.valueOf(((L2Character) target).getMAtk(null, null)), "</td></tr>" + "<tr><td>P.Def.</td><td>", String.valueOf(((L2Character) target).getPDef(null)), "</td><td>M.Def.</td><td>", String.valueOf(((L2Character) target).getMDef(null, null)), "</td></tr>" + "<tr><td>Accuracy</td><td>", String.valueOf(((L2Character) target).getAccuracy()), "</td><td>Evasion</td><td>", String.valueOf(((L2Character) target).getEvasionRate(null)), "</td></tr>" + "<tr><td>Critical</td><td>", String.valueOf(((L2Character) target).getCriticalHit(null, null)), "</td><td>Speed</td><td>", String.valueOf(((L2Character) target).getRunSpeed()), "</td></tr>" + "<tr><td>Atk.Speed</td><td>", String.valueOf(((L2Character) target).getPAtkSpd()), "</td><td>Cast.Speed</td><td>", String.valueOf(((L2Character) target).getMAtkSpd()), "</td></tr>" + "<tr><td>Race</td><td>", ((L2Npc) target).getTemplate().getRace().toString(), "</td><td></td><td></td></tr>" + "</table>" + "<br><center><font color=\"LEVEL\">[Basic Stats]</font></center>" + "<table border=0 width=\"100%\">" + "<tr><td>STR</td><td>", String.valueOf(((L2Character) target).getSTR()), "</td><td>DEX</td><td>", String.valueOf(((L2Character) target).getDEX()), "</td><td>CON</td><td>", String.valueOf(((L2Character) target).getCON()), "</td></tr>" + "<tr><td>INT</td><td>", String.valueOf(((L2Character) target).getINT()), "</td><td>WIT</td><td>", String.valueOf(((L2Character) target).getWIT()), "</td><td>MEN</td><td>", String.valueOf(((L2Character) target).getMEN()), "</td></tr>" + "</table>");


Thanks for the help

Screenshot_4.png

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...