Jump to content

Recommended Posts

Posted (edited)

You have test this code with more than one "dress" inside XML?

The code its total wrong in many ways, i hope you rework and fix it else its not share but troll.

Edited by StinkyMadness
Posted (edited)

I wouldn't use this code. Why is there a for loop in the UserInfo and CharInfo class? Doing like this the player will always have the last dress in the list... Also, you dont save to db, so player will always need to reuse the same thing again. 
Fix those problems and it will be usable. 

Edited by HyperBlown
Posted

Add Time for Skin 

 

 

I added the time in memo, if you know any shorter method leaves here, about the crash I will redo the part of charInfo and UserInfo, soon I will be updating

 

long remainingTime = player.getMemos().getLong("dressTime", 0);
		if (remainingTime > 0)
			player.getMemos().set("dressTime", remainingTime + TimeUnit.HOURS.toMillis(dress.getDressTime()));
		else
		{
			player.getMemos().set("dressTime", System.currentTimeMillis() + TimeUnit.HOURS.toMillis(dress.getDressTime()));

 

set up your dressme in hours.

 

<dressme itemId="9245">
         <appearance chestId="15000" hairId="15001" dressTime="1"/>
     </dressme>

9 hours ago, StinkyMadness said:

You have test this code with more than one "dress" inside XML?

The code its total wrong in many ways, i hope you rework and fix it else its not share but troll.

which points are wrong can you tell me to fix it?

Posted
18 hours ago, StinkyMadness said:

You have test this code with more than one "dress" inside XML?

 

12 hours ago, Rootware said:

Try to use more than 1 dressme item in XML and you will have client crashes everytime when will sent to you CharInfo packet.


 

 

8 hours ago, Williams said:

which points are wrong can you tell me to fix it?

We both told you the major problem, you have used forLoop inside serverpackages.
Even on your second video you clicked on "Green Archer" and your vision its red.
You did not notice anything?

  • Thanks 1
Posted
4 hours ago, HyperBlown said:

Ele apenas ignorou todos os comentários -q

I didn’t ignore Stinky helped me improve the code and now it’s working perfectly look the code is a new method

  • 4 weeks later...
Posted

Mind me if i am wrong but you don't mention anywhere the getItemId in the DressMe.java

 

maybe u missed the DressMe.java from model folder in your new upload, check it again

  • 3 months later...
  • 3 months later...
  • 10 months later...
Posted
On 7/2/2021 at 4:47 AM, JackCerutti said:

Code incomplete

 

On 5/8/2022 at 6:37 PM, Charm3R said:

Is this code functional?

 

Updated topic for aCis 401.

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

    • 我们正在寻找合作伙伴和账号供应商进行合作 我们愿意与以下约会服务的可靠账号供应商建立合作关系: ➡ Tinder ➡ Badoo ➡ Bumble ➡ Hinge ➡ Happn ➡ Meetic ➡ VK Dating 我们考虑长期合作、稳定的供应量以及互利共赢的合作条件。 如果您有任何合作提议,我们很乐意讨论具体细节。 请通过以下联系方式与我们联系。 ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • We are looking for partners and account suppliers for cooperation We are open to partnerships with reliable account suppliers for the following dating services: ➡ Tinder ➡ Badoo ➡ Bumble ➡ Hinge ➡ Happn ➡ Meetic ➡ VK Dating We are considering long-term cooperation, stable volumes, and mutually beneficial terms. If you have any offers, we will be glad to discuss the details. Contact us using the details below. ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • We are looking for partners and account suppliers for cooperation We are open to partnerships with reliable account suppliers for the following dating services: ➡ Tinder ➡ Badoo ➡ Bumble ➡ Hinge ➡ Happn ➡ Meetic ➡ VK Dating We are considering long-term cooperation, stable volumes, and mutually beneficial terms. If you have any offers, we will be glad to discuss the details. Contact us using the details below. ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • 社交指标至关重要 可见度、信任度、互动度——这一切都可以通过系统化方式进行提升。 通过我们的 SMM 面板 ,您将获得把活跃度转化为增长的工具:粉丝、互动、转发和点击——一站式解决。 有效链接: SMM 面板: 前往 – 推广您的社交媒体账号。 促销活动 首次试用 SMM 面板即可获得 $1:只需在我们的网站(Support)提交主题为 “Get Trial Bonus” 的工单即可。
    • 社交指标至关重要 可见度、信任度、互动度——这一切都可以通过系统化方式进行提升。 通过我们的 SMM 面板 ,您将获得把活跃度转化为增长的工具:粉丝、互动、转发和点击——一站式解决。 有效链接: SMM 面板: 前往 – 推广您的社交媒体账号。 促销活动 首次试用 SMM 面板即可获得 $1:只需在我们的网站(Support)提交主题为 “Get Trial Bonus” 的工单即可。
  • 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