Jump to content

Question

Posted

I have problem with bypass i think in my server. I add rebirth system and i get one error, i don't know if it's from CORE or from bypasses.

[20:07:44] WARN: [Character: xxxxxxxx[268481155] - Account: xxx - IP: xxx.xxx.xx.xx] sent not handled RequestBypassToServer: [custom_rebirth_confirmrequest]. and here it is java code

public void handleCommand(L2PcInstance player, String command)
	{
		if (command.startsWith("custom_rebirth_requestrebirth"))
		{
			displayRebirthWindow(player);
		}
		else if (command.startsWith("custom_rebirth_confirmrequest"))
		{
			requestRebirth(player);
		}
	}

I think here i have a problem cuz i have in HTML 

<tr><td align=center><button action="bypass -h custom_rebirth_confirmrequest" value="Perform Rebirth" width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>

Smeone can save me?

 

Recommended Posts

  • 0
Posted
On 7/19/2018 at 8:11 PM, InFocus said:

I have problem with bypass i think in my server. I add rebirth system and i get one error, i don't know if it's from CORE or from bypasses. 

[20:07:44] WARN: [Character: xxxxxxxx[268481155] - Account: xxx - IP: xxx.xxx.xx.xx] sent not handled RequestBypassToServer: [custom_rebirth_confirmrequest]. and here it is java code


public void handleCommand(L2PcInstance player, String command)
	{
		if (command.startsWith("custom_rebirth_requestrebirth"))
		{
			displayRebirthWindow(player);
		}
		else if (command.startsWith("custom_rebirth_confirmrequest"))
		{
			requestRebirth(player);
		}
	}

I think here i have a problem cuz i have in HTML 


<tr><td align=center><button action="bypass -h custom_rebirth_confirmrequest" value="Perform Rebirth" width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_HeroConfirm_Down" fore="L2UI_CT1.OlympiadWnd_DF_HeroConfirm"></td></tr>

Smeone can save me?

 

try to add this if/elseif to requestbypasstoserver.java class as elseif/elseif before the final else in this class

  • 0
Posted
19 minutes ago, InFocus said:

Impossible to fix, everything i do, no work....:/ Really now

RequestBypassToServer.java you must create bypass for it or use .voiced of you already have it and dont event need to use the handlecommands...

Just the usecommand

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...