Hello I am trying to create a function using an old system message (SystemMessageId.S1_S2_SUCCESSFULLY_ENCHANTED). The code in which the packet is sent can be seen below:
SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1_S2_SUCCESSFULLY_ENCHANTED);
sm.addInt(enchant);
sm.addItemName(this);
player.sendPacket(sm);
player.broadcastUserInfo();
The message is sent properly with the name and the enchant level, however I noticed it also opens a small dialog window with a confirm button that should show the exact same message. Instead the dialog does not show the item nor its enchantlevel (See attachment below). Should I create a new ConfirmDlg sending the packet again or is there a more efficient way? Any help would be greatly appreciated!
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.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
hello everyone !
I need help with a l2script Rev H5-Salvation/Classic build. I compiled the project, installed everything but I can't log in to the server, it won't log me in. I tried a thousand ways without good results. I leave you the error when logging in either with the H5-Salvation Client.
ERROR ---> WARN: IPBANMANAGER ---> IP !!!!
I'm waiting for help! Thank you!
Question
Meydex
Hello
I am trying to create a function using an old system message (SystemMessageId.S1_S2_SUCCESSFULLY_ENCHANTED).
The code in which the packet is sent can be seen below:
The message is sent properly with the name and the enchant level, however I noticed it also opens a small dialog window with a confirm button that should show the exact same message.
Instead the dialog does not show the item nor its enchantlevel (See attachment below). Should I create a new ConfirmDlg sending the packet again or is there a more efficient way? Any help would be greatly appreciated!
2 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.