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:
just with this extender that I have shared it is not possible to start with c4 client, you have to make some changes to the extender and it works with c4 client perfectly.
regarding the updates in this last revision
🔹dll is not packaged with vmprotect
New custom zone types have been added:
🔹 NO_NOBLESS
begin MinX=84638 MaxX=92616 MinY=-87170 MaxY=-82018 MinZ=-6000 MaxZ=0 Type=NO_NOBLESS KickOutPos=83007/148057/-3464 end
▶️ This zone checks if the character is noble.
If it does not meet the condition, it will be automatically kicked to the indicated position (KickOutPos).
🔹 CUSTOM_SPAWN_ZONE
begin MinX=77275 MaxX=85704 MinY=10122 MaxY=18066 MinZ=-8000 MaxZ=5000 Type=CUSTOM_SPAWN_ZONE OutPos=83007/148057/-3464 Spawns={{82984/18066/-5256}};{{79275/15147/-5248}};{{82922/14263/-5256}};{{83704/10122/-5288}} end
▶️ This zone allows characters, upon death, to respawn with full buff, CP, HP and MP if they press “Fixed”.
They will only be able to revive in one of the positions defined in Spawns.
🔧 Both zones are fully configurable from territorydata.txt
Could you tell me what changed in this update?
more one question:
Is it possible to log in through the c4 client instead of interlude? That would be great
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