Jump to content
  • 0

Rebirth Command


InFocus

Question

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?

 

Link to comment
Share on other sites

Recommended Posts

  • 0
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

Link to comment
Share on other sites

  • 0
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

Link to comment
Share on other sites

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