Jump to content

Question

Posted

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);
	}

 

4thv6.png

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...