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.
@Hitcher what i found is that rates from MyExt64.ini are somehow ignored.
For example, if i set:
in L2Server.ini
[event]
adenaamount=0
itemrate=0
spoilrate=0
exprate=0
aiadenarate=0
aiexprate=0
and in MyExt64.ini
[rate]
; Adena rate
AdenaRate = 1.0
; Drop rate
DropRate = 1.0
; Spoil rate
SpoilRate = 1.0
; RB drop rate
BossDropRate = 1.0
; Herb drop rate
HerbRate = 1.0
; For highrate servers turn this on, lowers drop for mobs lvl 19- so you don't get 40 small shields
FixupLowLevel = false
; Items that are not affected by rate change
IgnoredItems = 6656,6657,6658,6659,6660,6661,6662,8191
; Whether dump drop/spoil to a file in DUMP folder
Dump = false
; Seal stone amount rate (multiplier)
SealStoneAmountRate = 1.0
The rates from MyExt64.ini are ignored.
Does anyone know what is the issue here?
I've also tried with the below setting as i read somewhere that 100 would be 1x
[event]
adenaamount=100
itemrate=100
spoilrate=100
exprate=100
aiadenarate=100
aiexprate=100
However, when i set this, the exp/sp/adena is somehow 3x in-game.
I've tested with killing 1 gremlin with lvl 1 char and the exp and sp is x3 the amount in acquire_exp_rate=382.07 acquire_sp=26.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
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.