I thought of making a voice command for gambling. What it does is by typing .luck a window appears and lets you choose an amount of adenas between 1kk, 10kk and 50kk.
You have 50% chance to double them or lose them. However, when I click on a button nothing happens, while the Cancel button works fine. Here is the code:
Hello. You may encounter the Push item fail error when trying to pick up an item dropped on the ground by a mob.
or
You can throw something out of your inventory and pick it up again, several times.
Probably this is a quantum dependency) I don't understand at what point this happens, sometimes two items one after another experience push item errors, and sometimes I don't have enough thousands of attempts to repeat this trick)
In any case, this is just a visual error and after the relog, the item appears in the inventory. I think first i need to disconnect the extender and check it on a bare server. I still need time to check this, maybe it's not even about the autoloot function.
https://youtu.be/6mcfmdImofE
-----------
In general, I would like to thank our wonderful Emca Eressea for her deep knowledge in programming and reverse engineering. And for the fact that her work is open to everyone, this is very amazing, and incredibly valuable.
Question
G-hamsteR
Hello everyone and Happy New Year!
I thought of making a voice command for gambling. What it does is by typing .luck a window appears and lets you choose an amount of adenas between 1kk, 10kk and 50kk.
You have 50% chance to double them or lose them. However, when I click on a button nothing happens, while the Cancel button works fine. Here is the code:
Luck.java: http://pastebin.com/1MA2VBEH
HTML buttons: http://pastebin.com/71M50bHV
It's coded for L2jFrozen Interlude, latest rev (1004).
Thank you for your time reading this. I apologize for my low Java knowledge.
9 answers to this question
Recommended Posts