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

    • Hi everyone,   In 2014, I completely stepped away from developing L2 servers and doing L2J-related work. Since then, I’ve only opened this server about once a year and helped a few servers and individuals for free. I haven’t taken on any paid L2J work since then.   LINEAGE2.GOLD is a project that has reached about Season 6. The first season launched at the end of 2020 and was a fully rebuilt Gold-style server on the Classic client (protocol 110). It featured many custom systems and enhancements. After several seasons, I decided to abandon the Mobius-based project and move to Lucera, as my goal was to get as close as possible to Interlude PTS behavior while still staying on the L2J platform.   The current project was once again completely rebuilt, this time on the Essence client (protocol 306), and is based on Lucera. Because of that, acquiring a license from Deazer is required.   My Lucera extender includes, but is not limited to: Formulas.java Basic anti-bot detection, which proved quite effective, we caught most Adrenaline users using relatively simple server-side logic, logged them, and took staff action. Simple admin account lookup commands based on IP, HWID, and similar identifiers. In-game Captcha via https://lineage2.gold/code, protected by Cloudflare, including admin commands for blacklisting based on aggression levels and whitelisting. Additional admin tools such as Auto-Play status checks, Enchanted Hero Weapon live sync, force add/remove clans from castle sieges, item listeners for live item monitoring, and more. A fully rewritten Auto-Play system with support for ExAutoPlaySetting, while still using the Auto-Play UI wheel, featuring: Debuff Efficiency Party Leader Assist Respectful Hunting Healer AI Target Mode Range Mode Summoner buff support Dwarf mechanics Reworked EffectDispelEffects to restore buffs after Cancellation. Raid Bomb item support. Reworked CronZoneSwitcher. Prime Time Raid Respawn Service. Community Board features such as Top rankings and RB/Epic status. Custom systems for Noblesse, Subclasses, support-class rewards, and much more.   Depending on the deal, the project can include: The lineage2.gold domain The website built on the Laravel PHP framework The server’s Discord Client Interface source Server files and extender source The server database (excluding private data such as emails and passwords)   I’m primarily looking for a serious team to continue the project, as it would be a shame to see this work abandoned. This is not cheap. You can DM me with offers. If you’re wondering why I’m doing this: I’ve felt a clear lack of appreciation from the L2 community, and I’m not interested in doing charity work for people who don’t deserve it. I’m simply not someone who tolerates BS. Server Info: https://lineage2.gold/info Server for test: https://lineage2.gold/download Over 110 videos YouTube playlist: https://www.youtube.com/watch?v=HO7BZaxUv2U&list=PLD9WZ0Nj-zstZaYeWxAxTKbX7ia2M_DUu&index=113
    • ACTUALIZATION > SAMURAI CROW PRICE. 500$ (P542) 300$ (P520) 200$ (P509)  
  • 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..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock