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

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

    • try this one instead. The one he shared affects every single NPC/player character in the game, the one I posted only affects player characters  https://drive.google.com/file/d/1UtccbD9e50x3WEnQBab2PTZnBHwpcGYM/view?usp=sharing or perhaps i misunderstood; if you could please post a full explanation of the problem you're having with the files, unfortunately i think whatever you're using to translate to english is a bit bad nevermind, i got what you mean, here's the fix   https://drive.google.com/file/d/1av7OHaGSdnVQtcBgb9MhtiIkxVXy3P2y/view?usp=sharing   CanIngnoreCollision=True CanBeIngnoredCollision=True  
    • <dailyReward days="28" autoOpen="true" minimumOnlineTimeSeconds="30" oneRewardPerIP="true" resetIfMissDay="true">   For now, I have these settings in the XML—this is the V1 version I created, though I plan to make further improvements over time. Of course, I’ll also add more protections—MAC, HWID, and perhaps others like account-based restrictions—to make it more secure. We can also implement non-tradable items to further enhance the system's security. I’ll keep posting updates and refining both the system and the interface. I might make a video tomorrow; if you look at the top, you'll see the "auto-open" feature can be toggled on or off, allowing users to rely solely on the `.daily` command. Cheers! Note: If I sell it in this state, I’ll provide support and roll out updates to users. I’m not forcing anyone to buy anything; I’d even provide the patch files so that anyone with the necessary skills can add features, modify it, or improve it further.
    • If the problem is that the target is lost, the action of aiming at another character, upon losing collision, does not allow aiming.   This one works as it should, allowing you to target characters
    • MICROTEXT AND WATERMARKS BREAK MOST RENDERINGS Microtext and watermarks aren’t just small decorative details. They are one of the most common reasons a document fails verification, even when it looks decent at first glance. The issue is that these elements are almost impossible to reproduce “by eye.” Microtext requires precise geometry and legibility at a very small size, while a watermark needs the correct density, transparency, and accurate placement relative to other security features. Any deviation becomes obvious during detailed inspection. ▪ What’s most often done wrong: - microtext is drawn too thick or blurry - the watermark is made either too visible or almost invisible - the positioning between microtext and watermark is ignored - the original printing technology isn’t taken into account when choosing density and shape - The stronger the document’s security features, the less room there is for approximation. What matters here isn’t visual similarity, but accurate reproduction of the original technical characteristics. If your document contains microtext and watermarks, this is always an area that requires extra attention. Write to us in DMs. We’ll review your case and point out exactly which details need the highest precision during rendering. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #drawing #microtext #photoshop #editing #watermarks
  • 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..