Olymps Posted April 18, 2012 Posted April 18, 2012 How can i change the effe of firework when a armor being +6 there is a firework.. who i can change it and put on every enchant? thnx! Quote
0 Zake Posted April 18, 2012 Posted April 18, 2012 How can i change the effe of firework when a armor being +6 there is a firework.. who i can change it and put on every enchant? thnx! find this item.setEnchantLevel(item.getEnchantLevel()+1); in RequestEnchantItem.java and after this paste this MagicSkillUser MSU = new MagicSkillUser(activeChar, activeChar, 2024, 1, 1, 0);//Fireworks Display activeChar.broadcastPacket(MSU); Quote
0 Olymps Posted April 18, 2012 Author Posted April 18, 2012 find this item.setEnchantLevel(item.getEnchantLevel()+1); in RequestEnchantItem.java and after this paste this MagicSkillUser MSU = new MagicSkillUser(activeChar, activeChar, 2024, 1, 1, 0);//Fireworks Display activeChar.broadcastPacket(MSU); okey.. i'll try.. and after every enchant.. it would pop up a firework? Quote
0 Zake Posted April 18, 2012 Posted April 18, 2012 okey.. i'll try.. and after every enchant.. it would pop up a firework? yes, but why do you want to do this? It's gonna be annoying for players Quote
0 Olymps Posted April 18, 2012 Author Posted April 18, 2012 yes, but why do you want to do this? It's gonna be annoying for players well thats true... i just wanna try it to see how it is!! :) Quote
0 Tryskell Posted April 18, 2012 Posted April 18, 2012 yes, but why do you want to do this? It's gonna be annoying for players It's retail (on GoD anyway), and your code doesn't take in consideration the +6 requirement. Quote
0 Bleadd Posted April 19, 2012 Posted April 19, 2012 as Tryskell said, when you'll reach +6 and +15, two fireworks will pop... I think it's better to find, where it's actually coded for +6 and +15 and change for every enchant. Quote
0 Fanky Posted April 19, 2012 Posted April 19, 2012 yes, but why do you want to do this? It's gonna be annoying for players Αlso,it will prolly crash your console many times. Quote
0 Tryskell Posted April 19, 2012 Posted April 19, 2012 Αlso,it will prolly crash your console many times. Urban legend. Have you a simple idea of how many social Actions are played in same time by NPCs ? How many AIs running in same time to determine when is the next random walk, or the next buff ? Your reply is nonsense. The server is actually doing FAR heavier things, and you don't even notice it. If you were broadcasting a firework on every movement, ok you will be packet flooded and eventually disconnected (but that would be funny), but that's not the case. Quote
0 Zake Posted April 19, 2012 Posted April 19, 2012 Urban legend. Have you a simple idea of how many social Actions are played in same time by NPCs ? How many AIs running in same time to determine when is the next random walk, or the next buff ? Your reply is nonsense. The server is actually doing FAR heavier things, and you don't even notice it. If you were broadcasting a firework on every movement, ok you will be packet flooded and eventually disconnected (but that would be funny), but that's not the case. But what if the server is pvp and there are many people enchanting on the same town the same time? Quote
0 Tryskell Posted April 19, 2012 Posted April 19, 2012 But what if the server is pvp and there are many people enchanting on the same town the same time? Lol, be serious :). Did you ever opened L2PHX on your server to see packet traffic ? Do you know //give_all_skills is actually sending between 200 and 1200 packets instantly ? So why do you care about 5 packets max ? And in the hypothetical way where all your player (let's say 200) enchant in same time at +6 on the same town, that's still 200 packets sent per player. It sent a packet only when the item goes for +6 or +15... There will have a problem if you would send 10 packets everytime you walk, but that's not the case. Quote
0 Bleadd Posted April 19, 2012 Posted April 19, 2012 I think he won't say about server side but client side. If in giran for example, 15 ppl make OE in the same time, it will be boring i guess (if i understand good..) Quote
0 Zake Posted April 20, 2012 Posted April 20, 2012 I think he won't say about server side but client side. If in giran for example, 15 ppl make OE in the same time, it will be boring i guess (if i understand good..) What does OE stand for? Quote
0 Bleadd Posted April 20, 2012 Posted April 20, 2012 OverEnchant. They enchant all the stuff in the same time from 0 to the max Quote
0 Zake Posted April 20, 2012 Posted April 20, 2012 OverEnchant. They enchant all the stuff in the same time from 0 to the max OverEnchant is when an item has enchant value more than the max one. Quote
0 Zoey76 Posted April 21, 2012 Posted April 21, 2012 OverEnchant is when an item has enchant value more than the max one. No, overenchant is when you go past the safe value. You cannot go past the max and if you can, the server code you are using sucks. Quote
Question
Olymps
How can i change the effe of firework when a armor being +6 there is a firework.. who i can change it and put on every enchant? thnx!
20 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.