Jump to content

Recommended Posts

Posted (edited)

Hello guys , i am having a problem , i am using acis pack and the problem is that i am not able to see other players CP in interface i will give you a screenshot to see what i am talking about , any kind of hints or explication would be verry usefull for me . Thank you !

 

image.png.488a44f1b39d6b08fbf5cf9a14835886.png

in this image you can see from the party window that player AmonRa has ~75%CP , HP 100% , but when i target it i can see only hes hp and cp is displayed as 0 , why ?

btw, i am asking in this section , i don't think is interface problem because when i use same system files on other server is working.

Edited by arm4729
Posted
5 minutes ago, arm4729 said:

Hello guys , i am having a problem , i am using acis pack and the problem is that i am not able to see other players CP in interface i will give you a screenshot to see what i am talking about , any kind of hints or explication would be verry usefull for me . Thank you !

 

image.png.488a44f1b39d6b08fbf5cf9a14835886.png

in this image you can see from the party window that player AmonRa has ~75%CP , HP 100% , but when i target it i can see only hes hp and cp is displayed as 0 , why ?

btw, i am asking in this section , i don't think is interface problem because when i use same system files on other server is working.

Moved to client section since this is a client issue. Although, i would suggest you not to use encrypted interfaces.

Posted (edited)

Brother i dont think this is client problem, is server-side problem , same interface files are working on other servers , look i just changed interface to another one and have same problem , this is not from interface is a java issue side but i don't know where to look for

 image.png.73ab9884e518b69f426c001f3fcdf310.png

 

How can be client side if same interface works on other server look screenshot i logged on other server with same interface and worksimage.png.218fd788520d50021b09d6ed735943fd.png

 

Can this thing be implemented in other files than interface.u/interface.xdat ?

Edited by arm4729
Posted (edited)

Yes is wellinton v3 , i don't really know for sure i thnk this is server-side problem , like something missing server side , it may be from the client tho .. maybe someone will bring us to light 🙂

 

//UPDATE:

Shot00064.png

Problem is partially solved , i found on forum a tool mxendec v2.1 and decrypted interface.xdat , i edited it a bit for my needs and removed cp/hp/mp bar in a funny way 🙂 ( they are still there but so up in the image that you can't see them even if you bring target window near buffs ^^ )

link : https://www.mediafire.com/file/mcp9v8fy8o0vd8u/interface.xdat/file

 

Still , if any good java developer can tell us why this is cp bar is not working without some server side modifications ?

Edited by arm4729
Posted
14 hours ago, arm4729 said:

Brother i dont think this is client problem, is server-side problem , same interface files are working on other servers , look i just changed interface to another one and have same problem , this is not from interface is a java issue side but i don't know where to look for

 image.png.73ab9884e518b69f426c001f3fcdf310.png

 

How can be client side if same interface works on other server look screenshot i logged on other server with same interface and worksimage.png.218fd788520d50021b09d6ed735943fd.png

 

Can this thing be implemented in other files than interface.u/interface.xdat ?

Your assumption is reasonable but this still remains a client problem. If you just copy pasted this from another server then you are probably missing some files (assuming that this specific interface works in other servers as you said). You have mentioned above that you use acis 382, although you edited your post like a million times. https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java server already sends information to client about cp. So probably client doesn't read/handle these information properly.

Posted (edited)
2 hours ago, Zake said:

Your assumption is reasonable but this still remains a client problem. If you just copy pasted this from another server then you are probably missing some files (assuming that this specific interface works in other servers as you said). You have mentioned above that you use acis 382, although you edited your post like a million times. https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/serverpackets/CharInfo.java server already sends information to client about cp. So probably client doesn't read/handle these information properly.

Hey , i am curently using acis rev 368 🙂 , ive been edited posts in order to add screenshots i hope that is not a problem 

Edited by arm4729
Posted (edited)
21 minutes ago, xPeNaChO said:

thank you , but i have some problem adding this , is this for acis pack ?

 

 

i can't fiind this line anywhere, even is last rev acis  "_actor.sendPacket(su);" 

 

Edited by arm4729
Posted
57 minutes ago, arm4729 said:

thank you , but i have some problem adding this , is this for acis pack ?

 

 

i can't fiind this line anywhere, even is last rev acis  "_actor.sendPacket(su);" 

 

https://gitlab.com/Tryskell/acis_public/-/blob/b5dc16dfe2a3f5b4e16c2744e95685d4b12aab7e/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java#L3263

Posted
10 minutes ago, arm4729 said:

i have some problem i can't set packet as bolean , im still working on it

Try it!

 

	public void broadcastStatusUpdate()
	{
		// Send StatusUpdate with current HP, MP and CP to this L2PcInstance
		StatusUpdate su = new StatusUpdate(this);
+		su.addAttribute(StatusUpdate.MAX_HP, getMaxHp());
		su.addAttribute(StatusUpdate.CUR_HP, (int) getCurrentHp());
+		su.addAttribute(StatusUpdate.MAX_MP, getMaxMp());
		su.addAttribute(StatusUpdate.CUR_MP, (int) getCurrentMp());
+		su.addAttribute(StatusUpdate.MAX_CP, getMaxCp());
		su.addAttribute(StatusUpdate.CUR_CP, (int) getCurrentCp());
-		su.addAttribute(StatusUpdate.MAX_CP, getMaxCp());
		sendPacket(su);

+		Broadcast.toKnownPlayersInRadius(this, su, 3000);
		
		final boolean needCpUpdate = needCpUpdate(352);
		final boolean needHpUpdate = needHpUpdate(352);

 

Posted

Thank you !! 

Broadcast.toKnownPlayersInRadius(this, su, 3000);

this is what ive been missing all this time , thank you very much man !! you saved me

Guest
This topic is now closed to further replies.


  • Posts

    • Inventory restock: Premium business accounts are now available.   ✔ Wallester Business EU 🇪🇺|💳 Unlimited virtual cards, physical cards, 🏦 multi-currency IBAN, ₿ crypto & stablecoin deposits. ✔ Stripe Business UK 🇬🇧|💳 Instant virtual cards (Visa/Mastercard), high-conversion checkout, multi-currency payouts, ₿ crypto payments, no-code payment links. ✔ Mercury Business US 🇺🇸|🏦 US checking & savings, 💳 unlimited virtual cards, domestic & International wires, native stablecoin settlement. ✔ Payset Business EU 🇪🇺|🏦 Multiple IBANs, UK sort code, SEPA Instant, 💳 unlimited virtual cards, multi-currency accounts. ✔ Novo Business US 🇺🇸|🏦 Business checking account, ACH payments & invoicing, 💳 virtual & physical cards, novo boost.
    • Let me see if I understand correctly, older gentlemen, when a newcomer shows up to create modern things with the help of AI, doing what you charge them to do, you point the finger and laugh. I believe that's why everything is stagnant. The product isn't for programming experts, it's for newcomers. Don't buy from you if they can do it themselves using this base. You're going to deliver a similar product, maybe even worse than this one, so why are you complaining? PowerShell, as you well know, started with it, then came new platforms and new apps, new creation models, all with different languages; I chose the simplest one for my taste. This is about being organized and knowing how to choose the right words for each situation. It's not 100%, but it already gives a good impression. Nothing is 100%, so a topic written by AI, and all the code that you charge an absurd amount for to prohibit and sell hacks, could be open source so that everyone can create new practices, new models, new information for passing packets, prohibiting the use of cheats that cause server owners to break so much. Let's remember that the Admin doesn't always shut down the server; it's the players who find problems and take advantage by buying and reselling items, and they say that the GM shuts down the server every week, but that's a lie. What they do is duplicate items with packages and sell them, but perhaps this could give some future developers a starting point to create their own protection following the model in the initial documentation. Because none of you answer a question from a newbie, you think you're superior because you have knowledge, but with AI, people like that can have the same knowledge as you, but with less practice. And if they practice a lot, 10,000 hours, they can be as good as all of you older developers in the L2J field.
  • 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..