Jump to content

Recommended Posts

Posted

U can do it server side.

 

for(L2PcInstance p : player.getParty().getPartyMembers())

       p.setNameColor("#FF00FF");

 

Something like that i guess

Posted (edited)

Thanks, that's nice to know. (It would be "#00FF00" for green though I think)

 

But It probably can be done client side, cant it ?

Edited by Ellone
Posted

Thanks, that's nice to know. (It would be "#00FF00" for green though I think)

 

But It probably can be done client side, cant it ?

No. You can't add the name color by editing client side.

This is java side.

 

Also, you'll need to check the player on leave party. (Return the namecolor back to normal).

Posted

It would be a lot harder to edit game client, this would require messing in Engine.dll

 

It is easier to make it in server core. What Solomun suggested will not work well, it will make party color to be seen by all players, not only by party members. If you are not into java, it will be hard to be done.

 

You need to:

- Check how CharInfo gets color of the nickname, it should have different method than UserInfo and any other call.

- CharInfo should provide PcInstance that is about to receive the color.

- Returned value should be different than original, if players are party members.

Posted

It would be a lot harder to edit game client, this would require messing in Engine.dll

 

It is easier to make it in server core. What Solomun suggested will not work well, it will make party color to be seen by all players, not only by party members. If you are not into java, it will be hard to be done.

 

You need to:

- Check how CharInfo gets color of the nickname, it should have different method than UserInfo and any other call.

- CharInfo should provide PcInstance that is about to receive the color.

- Returned value should be different than original, if players are party members.

 

This is the second way i would suggest but i thought it would be the same. I can see the difference now :)

 

But this would need to refresh userInfo when a new party is created, right?

Posted

No. When any user joins party, his UserInfo is sent to nearby players anyway. That broadcast is required to refresh relations.

Posted

No. When any user joins party, his UserInfo is sent to nearby players anyway. That broadcast is required to refresh relations.

Ok i got it...Its just that im rusted since i didnt touch l2 coding for 4 years :)

Posted (edited)

1 question

Setnamecolor(int)

but rgb colors have letters, when i set the int to String i get error

 

Edit:

What ive done:

private int afsd;
    private final int _PartyColorName = 0000;
if (_activeChar.isInParty() == true)
        {
            afsd = _activeChar.getAppearance().getNameColor();
            _activeChar.getAppearance().setNameColor(_PartyColorName);
        }
        else if (_activeChar.isInParty() == false)
        {
            _activeChar.getAppearance().setNameColor(afsd);
        }
Edited by ganjaradio
Posted (edited)

 

1 question

Setnamecolor(int)

but rgb colors have letters, when i set the int to String i get error

 

Edit:

What ive done:

private int afsd;
    private final int _PartyColorName = 0000;
if (_activeChar.isInParty() == true)
        {
            afsd = _activeChar.getAppearance().getNameColor();
            _activeChar.getAppearance().setNameColor(_PartyColorName);
        }
        else if (_activeChar.isInParty() == false)
        {
            _activeChar.getAppearance().setNameColor(afsd);
        }
	private int _Color = 0xFFFF77;
	private int _PartyColorName = your color;
	
	activeChar.getAppearance().setNameColor(activeChar.isInParty() ? _PartyColorName : _Color);
Edited by melron

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

    • - New Features in Anosim https://anosim.net -   You can now share your numbers with others via a unique link - no need to give them access to your account! How to Share Number https://prnt.sc/K83lxOjS-Fyb   How to Revoke Accsess: https://prnt.sc/jkVIQS2lhxvA   --- --- --- --- --- --- --- New OTP / SMS Activation Locations: - USA  - Australia - Honduras - Kenia
    • How to Create Multi-Accounts For TikTok, Youtube, Gmail....   Short Guide to Managing Multiple TikTok Accounts TikTok's anti-spam systems detect duplicate accounts via device IDs, IP addresses, and behavior. To avoid bans, follow these methods. 1. For 3-5 Accounts (Easiest) Use TikTok's built-in feature to add accounts in your app settings. Limitation: Frequent switching on the same device/IP can still trigger restrictions. 2. For Bulk Accounts (Safest) To make each account appear unique, you need to mask your digital footprint. Unique Emails & Proxies: Use a separate email and a residential/mobile proxy (e.g., MoMoProxy) for each account. Avoid free proxies. Anti-Detect Browsers: Use tools like AdsPower or Multilogin to create unique browser profiles, each with its own proxy and randomized digital fingerprint.   MoMoProxy Integrate with Adspower Browser   Process: In each unique browser profile, log into a separate Gmail and then create the TikTok account. 3. For One Device (Limited Use) Use app cloners like Parallel Space (Android) or Dual Space (iOS). Limitation: Not foolproof, as TikTok can sometimes detect cloned apps. Key Best Practices to Avoid Bans: Isolation: Use one proxy and one device/browser profile per account. Warm-Up: Act organically—watch videos, like, and comment—before posting content. Appear Unique: Use different usernames, bios, and profile pictures for each account. Avoid VPNs: Standard VPN IPs are often detected and flagged.   Youtube Video On How to Create TikTok Accounts  https://youtu.be/ZUihXj7BO4M  
    • How to Create Multi-Accounts For TikTok, Youtube, Gmail....   Short Guide to Managing Multiple TikTok Accounts TikTok's anti-spam systems detect duplicate accounts via device IDs, IP addresses, and behavior. To avoid bans, follow these methods. 1. For 3-5 Accounts (Easiest) Use TikTok's built-in feature to add accounts in your app settings. Limitation: Frequent switching on the same device/IP can still trigger restrictions. 2. For Bulk Accounts (Safest) To make each account appear unique, you need to mask your digital footprint. Unique Emails & Proxies: Use a separate email and a residential/mobile proxy (e.g., MoMoProxy) for each account. Avoid free proxies. Anti-Detect Browsers: Use tools like AdsPower or Multilogin to create unique browser profiles, each with its own proxy and randomized digital fingerprint.   MoMoProxy Integrate with Adspower Browser   Process: In each unique browser profile, log into a separate Gmail and then create the TikTok account. 3. For One Device (Limited Use) Use app cloners like Parallel Space (Android) or Dual Space (iOS). Limitation: Not foolproof, as TikTok can sometimes detect cloned apps. Key Best Practices to Avoid Bans: Isolation: Use one proxy and one device/browser profile per account. Warm-Up: Act organically—watch videos, like, and comment—before posting content. Appear Unique: Use different usernames, bios, and profile pictures for each account. Avoid VPNs: Standard VPN IPs are often detected and flagged.   Youtube Video On How to Create TikTok Accounts  https://youtu.be/ZUihXj7BO4M        
    • If you created it yourself for the first races just duplicate it in the same way for the other races (that is make the animations for the other races as well) and everything will work
    • OpenCV bot working for all l2 clients... but need special set for each server
  • Topics

×
×
  • Create New...

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