- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
janiko
ScheThis είναι σενάριο forCan κάποιος να με βοηθήσει?
Can Someone Help me?
[glow=red,2,300]Θα χρησιμοποιηθεί _ και μου δίνει αυτό το λάθος και όταν το πεδίο είναι κενό μου δίνει ίδια.[/glow]
[glow=red,2,300]I used _ and gives me this error and when the field is empty it gives me same.[/glow]
com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer runImpl
WARNING: [Character: Staff[268483852] - Account: katalonia - IP: 188.169.148.222] sent bad RequestBypassToServer: "Aioitem_scheme_createprofile [glow=red,2,300]_[/glow]"
java.lang.ArrayIndexOutOfBoundsException: 1
at handlers.aioitemhandler.AIOSchemeHandler.onBypassUse(AIOSchemeHandler.java:61)
at com.l2jserver.gameserver.datatables.AIOItemTable.handleBypass(AIOItemTable.java:613)
at com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:273)
at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)
at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1012)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
ScheThis είναι σενάριο για Aio Scheme.java
This is script for Aio Scheme.java
/* * Send main's scheme page */ if(actualCmd.equalsIgnoreCase("main")) { sendSchemePageToPlayer(player); } /* * Create scheme profile */ else if(actualCmd.equalsIgnoreCase("createprofile")) { if(player.getProfileNames().size() == CustomConfig.AIOITEM_SCHEME_MAX_PROFILES) { player.sendMessage("You alredy reached the max allowed profiles per char!"); return; } String secondCmd = subCommands[1]; if(secondCmd == null || secondCmd.isEmpty()) { _log.severe("Null Scheme profile from: "+player.getName()); return; } if(player.getProfileNames().contains(secondCmd)) { player.sendMessage("The given profile alredy exist in your list!"); return; } if(!paymentDone(player, Action.CREATE_PROFILE)) { return; } player.addNewProfile(secondCmd); player.needSaveSchemes(); sendSchemePageToPlayer(player); }0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now