Williams Posted November 21, 2020 Posted November 21, 2020 (edited) Configure your Skin your way. code : Skin Code (github.com Updated topic for aCis 401. Edited May 17, 2022 by Williams 2 Quote
StinkyMadness Posted November 22, 2020 Posted November 22, 2020 (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 November 22, 2020 by StinkyMadness Quote
HyperBlown Posted November 22, 2020 Posted November 22, 2020 (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 November 22, 2020 by HyperBlown Quote
Rootware Posted November 22, 2020 Posted November 22, 2020 Try to use more than 1 dressme item in XML and you will have client crashes everytime when will sent to you CharInfo packet. Quote
Williams Posted November 22, 2020 Author Posted November 22, 2020 I'm sorry I'm going to redo it, I didn't notice it, because I did it on prices Quote
Williams Posted November 22, 2020 Author Posted November 22, 2020 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? Quote
StinkyMadness Posted November 23, 2020 Posted November 23, 2020 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? 1 Quote
Williams Posted November 24, 2020 Author Posted November 24, 2020 here is the corrected version thanks a lot to the @StinkyMadnessfor the great help. https://pastebin.pl/view/61885863 Quote
HyperBlown Posted November 25, 2020 Posted November 25, 2020 He just ignored all the comments -q Quote
Williams Posted November 25, 2020 Author Posted November 25, 2020 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 Quote
-Invoke Posted December 22, 2020 Posted December 22, 2020 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 Quote
EdelioS Posted April 2, 2021 Posted April 2, 2021 On 11/25/2020 at 12:43 AM, Williams said: here is the corrected version thanks a lot to the @StinkyMadnessfor the great help. https://pastebin.pl/view/61885863 can upload to normal service? pastebin.pl not open.... Quote
Williams Posted May 17, 2022 Author Posted May 17, 2022 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.