I'm sorry if i took wrong section, but since the creator of this code/system is inactive i would like to ask everyone's help.
So what I'm talking about? - Masterio Rank PVP System 3.8.9 [iL - H5].
I know its old, so i have made it to fit my owns l2jfrozen latest rev's code. I know you might don't have idea what's that system and how many faults there might be, but i get only 1 problem, maybe you could help me out:
When i write ingame .pvpinfo (it should drop me a htm with targets pvp info table) i get GS error:
ERROR Client: [Character: Admin - Account: admin - IP: 127.0.0.1] - Failed reading: [C] 38 Say2 ; null
java.lang.NullPointerException
at com.l2jfrozen.gameserver.masteriopack.rankpvpsystem.RankPvpSystemPvpStatus.preparePage(RankPvpSystemPvpStatus.java:146)
at com.l2jfrozen.gameserver.masteriopack.rankpvpsystem.RankPvpSystemPvpStatus.sendPage(RankPvpSystemPvpStatus.java:40)
at com.l2jfrozen.gameserver.masteriopack.rankpvpsystem.VoicedCommandHandlerPvpInfo.useVoicedCommand(VoicedCommandHandlerPvpInfo.java
:55)
at com.l2jfrozen.gameserver.network.clientpackets.Say2.runImpl(Say2.java:507)
at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:77)
at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:1213)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
PreparePage: In that direction where the error is starting exists theese lines: (146 line starts at: tb:= "<tr><td width=......)
SendPage: The second direction: (40 line starts: n.setHtml (pre.....)
NpcHtmlMessage n = new NpcHtmlMessage(0);
n.setHtml(preparePage(player, playerTarget));
player.sendPacket(n);
So, maybe you could tell what can be wrong with it? maybe i dont see something... Any clues? Maybe im searching for the solution not where i should to?
P.S. While compiling no errors, when applied this patch manually no missmatches.
New update!
A gift coupon system has been added.
Now you can activate gift coupons directly in the bot:
Open "My Profile"
Tap "Activate gift coupon"
Enter the coupon code
The balance will be topped up automatically.
Received a coupon? Activate it and top up your balance.
Buy Telegram Stars with maximum benefit in our bot
New update!
A gift coupon system has been added.
Now you can activate gift coupons directly in the bot:
Open "My Profile"
Tap "Activate gift coupon"
Enter the coupon code
The balance will be topped up automatically.
Received a coupon? Activate it and top up your balance.
Buy Telegram Stars with maximum benefit in our bot
New update!
A gift coupon system has been added.
Now you can activate gift coupons directly in the bot:
Open "My Profile"
Tap "Activate gift coupon"
Enter the coupon code
The balance will be topped up automatically.
Received a coupon? Activate it and top up your balance.
Buy Telegram Stars with maximum benefit in our bot
Dear users! We are happy to announce a major update of our bot!
What’s new:
Long-term number rental
You can now rent virtual numbers for a long period (hours, days, or months)! This is perfect for those who need constant access to a number to receive SMS from various services.
Number history
A new feature allows you to view all your rented numbers in one place! You can:
• See the full history of all numbers (instant and long-term)
• View all received SMS codes
• Return to active numbers to receive additional SMS
• See the status of each number
Gift coupon system
You can now activate gift coupons directly in the bot! Just go to your profile and click “Activate gift coupon” — your balance will be topped up automatically!
Chinese language
Full support for the Chinese language has been added! The bot is now available in three languages: Russian, English, and Chinese. Switching languages has become even more convenient.
Improved rental process
Before purchasing a number, detailed service information is now displayed:
• Service name
• Ability to receive repeated SMS
• Rental duration
• Cost
This will help you make a more informed decision before renting.
Quick rental
The “Virtual numbers (SMS)” button has now been renamed to “Quick rental” for greater clarity and convenience.
Go to the SMS service
Question
improved
Hi,
I'm sorry if i took wrong section, but since the creator of this code/system is inactive i would like to ask everyone's help.
So what I'm talking about? - Masterio Rank PVP System 3.8.9 [iL - H5].
I know its old, so i have made it to fit my owns l2jfrozen latest rev's code. I know you might don't have idea what's that system and how many faults there might be, but i get only 1 problem, maybe you could help me out:
When i write ingame .pvpinfo (it should drop me a htm with targets pvp info table) i get GS error:
ERROR Client: [Character: Admin - Account: admin - IP: 127.0.0.1] - Failed reading: [C] 38 Say2 ; null java.lang.NullPointerException at com.l2jfrozen.gameserver.masteriopack.rankpvpsystem.RankPvpSystemPvpStatus.preparePage(RankPvpSystemPvpStatus.java:146) at com.l2jfrozen.gameserver.masteriopack.rankpvpsystem.RankPvpSystemPvpStatus.sendPage(RankPvpSystemPvpStatus.java:40) at com.l2jfrozen.gameserver.masteriopack.rankpvpsystem.VoicedCommandHandlerPvpInfo.useVoicedCommand(VoicedCommandHandlerPvpInfo.java :55) at com.l2jfrozen.gameserver.network.clientpackets.Say2.runImpl(Say2.java:507) at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:77) at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:1213) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)PreparePage: In that direction where the error is starting exists theese lines: (146 line starts at: tb:= "<tr><td width=......)
if(RankPvpSystemConfig.RANKS_ENABLED) { tb += "<tr><td width=135 height=22 align=left><font color=ae9977>Rank</font></td><td width=135 height=22 align=left><font color=ffff00>"+targetPvpStats.getRank().getName()+"</font></td></tr>"; tb += "<tr><td width=135 height=22 align=left><font color=ae9977>Rank Points</font></td><td width=135 height=22 align=left><font color=ffa000>"+RankPvpSystemUtil.preparePrice(targetPvpStats.getTotalRankPoints())+"</font></td></tr>"; }SendPage: The second direction: (40 line starts: n.setHtml (pre.....)
So, maybe you could tell what can be wrong with it? maybe i dont see something... Any clues? Maybe im searching for the solution not where i should to?
P.S. While compiling no errors, when applied this patch manually no missmatches.
5 answers to this question
Recommended Posts