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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Which file is responsible for the text in the footer on the login screen? The text at the very bottom... I've been searching for two days and I can't figure out how to edit it. Could someone help? I think I've checked almost all the files in the system and still can't find it.
    • I can see that the admins arent taking any action, yet they still seem willing to share information about various other people names and IP addresses. But when it comes to scams, no one reacts.      
    • Server Info Chronicle:  Interlude                                                                                                                                    XP: 100x | SP: 100x | Drop: 50x | Adena: 75x Enchant: Safe +3 |  Max +21 Website: Website Link Discord: Discord Link   WHY? When I was a teenager I had this idea. Build my own Lineage 2 server. My own rules. My own world. I wasn't a programmer. I had no idea how any of it worked. I tried, hit a wall, and quit. But the idea never left. I came back years later. Got further. Quit again. Watched friends try similar things. The idea stayed stuck in my head for fifteen years. I'm a developer now. I finally finished it. Not because I suddenly had more time - I have a full-time job and real responsibilities. An hour before bed if I'm lucky. That's actually exactly why I finished it.   The problem I kept running into I still love this game. But every server I tried as an adult made that one hour feel worthless. Log in, kill a few mobs, make no real progress, log out frustrated. The game was designed for someone with unlimited time. That person doesn't exist in my life anymore. I looked around. Everyone I used to play with has the same problem. Same love for the game. Same lack of time. Jobs, families, maybe an hour late at night. So I stopped waiting for someone else to build it.           WHAT? Custom starting zone in Gludin (up until 2nd profession start) Talent system - rebirth at level 80 and choose your talents Bounty hunter system - daily tasks to kill random monsters to receive great reward! Potion crafting system - custom HP/MP potions and recipes Custom 1st & 2nd class quests (shorter) Scheme buffer Shop until C grade   Visit our website to get more info: Website Link   The philosophy 95% of the game is completely soloable. No clan required. No raid schedules. No guilt when you have to log off. You are the solo director of your own session. Log in, pursue your goal for an hour, log out on your own terms. When you've conquered what you wanted - you stop naturally. A new season drops with fresh Talent Tree changes and you come back to build something completely different. No endless stretched grind. No pay-to-win. No shady admin decisions. No surprise wipes. I'm one developer who built this because I love it.                                          This is the server I needed fifteen years ago. Glad I finally had the skills to build it. Come see what I made. [Forever Lineage]
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..