Could someone help me how do I create a probability with 2 arrays?
The problem is this, I created a npc for ticket exchange per item, and using Luckywhell that posted here in the forum, the item configuration is like this: IDItem, Quantity, Enchant, Chance.
But the chance is according to the quantity of items, not by chance of each item, could you help me to solve this problem?
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.
This specific modification was tested on a clean L2 C6 client and works perfectly. On ‘modified’ engine.dll I don’t know if it will work — find a clean engine.dll that is Windows 10 ready for C6 and try again!
Hello everyone, Martin here - aka tehSx1, junior developer. I’m currently looking for work in private server development. I have experience working with L2JLucera, L2JEternity, L2JMobius, with Classic, Interlude, and H5 clients. The last project I participated in was L2-Avalon, a rework of Interlude using Classic files. I’m from Argentina, but I understand English very well for fluent communication.
I can work on configuration, maintenance, creating NPCs, mobs, items, fixing skills, or anything related to the server side. I also have basic knowledge to work on the client side as well. I have some self-taught knowledge of Java, so with a bit of time and ChatGPT I can get things done there too.
Anyone interested can contact me on Discord (Smookes420#4425) to discuss terms. I’m open to new opportunities and excited to take part in new projects to continue my learning process.
P.S.: I’ve been playing Lineage 2 since I was 6 years old on Chronicle C1. I’m 26 now. It’s all about the passion for the game, bro.
Question
KillSwith
Could someone help me how do I create a probability with 2 arrays?
The problem is this, I created a npc for ticket exchange per item, and using Luckywhell that posted here in the forum, the item configuration is like this: IDItem, Quantity, Enchant, Chance.
But the chance is according to the quantity of items, not by chance of each item, could you help me to solve this problem?
10 answers to this question
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.