Jump to content
  • 0

Community board's top button handlers


Question

11 answers to this question

Recommended Posts

  • 0
Posted

The all buttons on the top of community board window locates inside interface.xdat as Tabs in TabControl element of BoardWnd scheme.

 

You need XDAT Editor for making changes. How to use this tool a lot a videos and manuals.

  • Upvote 1
  • 0
Posted

Depends, if you just want to edit their name sysstring-e.dat is your file. If you want to edit the bypass name you should do what root mentioned. If though you want to edit/create bypasses for each button you should do it server side.

  • 0
Posted
8 hours ago, Zake said:

Depends, if you just want to edit their name sysstring-e.dat is your file. If you want to edit the bypass name you should do what root mentioned. If though you want to edit/create bypasses for each button you should do it server side.

I want to change their bypass, I want for example, if the memo takes you to your notes to take you somewhere else

  • 0
Posted
12 hours ago, Jobalabido said:

I want to change their bypass, I want for example, if the memo takes you to your notes to take you somewhere else

requestbypasstoserver may help you find where cb bypasses are handled. Usually its under gameserver/communityboard. Although which pack do you use?

  • 0
Posted
2 hours ago, Zake said:

requestbypasstoserver may help you find where cb bypasses are handled. Usually its under gameserver/communityboard. Although which pack do you use?

mobius

  • 0
Posted (edited)

For changing bypass commands for Community board need edit Interface scripts into client side and all places from server side scripts and classes.

 

From my PoV this act of madness and better way is delete the tab system from client side and use usual HTML viewer as uses for NPC dialogues. This will give more deployment for making own Community board command ierarchy.

 

But you can be disagree with me and continue to write shitcode because it easy and isn't requeres a lot of knowledge.

 

I'm sure/belive what all client modifications available even for classic clients.

Edited by Rootware
Fix text typos.
  • 0
Posted
5 hours ago, Rootware said:

For changing bypass commands for Community board need edit Interface scripts into client side and all places from server side scripts and classes.

 

From my PoV this act of madness and better way is delete the tab system from client side and use usual HTML viewer as uses for NPC dialogues. This will give more deployment for making own Community board command ierarchy.

 

But you can be disagree with me and continue to write shitcode because it easy and isn't requeres a lot of knowledge.

 

I'm sure/belive what all client modifications available even for classic clients.

 

what about ShowBoard packet? afaik it affects most CB bypasses

  • 0
Posted
16 hours ago, xdem said:

 

what about ShowBoard packet? afaik it affects most CB bypasses

 

I know what i said. That packet do nothing w/o client side edit. Look at this before:

class BoardWnd extends UIScriptEx;

var bool	m_bShow;
var bool	m_bBtnLock;
var string 	m_Command[8];

var HtmlHandle	m_hBoardWndHtmlViewer;

var TabHandle	m_hBoardWndTabCtrl;

function OnRegisterEvent()
{
	RegisterEvent( EV_ShowBBS );
	RegisterEvent( EV_ShowBoardPacket );
}

function OnLoad()
{
	if(CREATE_ON_DEMAND==0)
		OnRegisterEvent();


	m_hBoardWndHtmlViewer=GetHtmlHandle("BoardWnd.HtmlViewer");
	m_hBoardWndTabCtrl=GetTabHandle("BoardWnd.TabCtrl");

	m_bShow = false;
	m_bBtnLock = false;
}

function OnShow()
{
	m_bShow = true;
}

function OnHide()
{
	m_bShow = false;
	class'UIAPI_WINDOW'.static.SetFocus("ChatWnd");
	
}

function OnEvent(int Event_ID, string param)
{
	if (Event_ID == EV_ShowBBS)
	{
		HandleShowBBS(param);
	}
	else if (Event_ID == EV_ShowBoardPacket)
	{
		HandleShowBoardPacket(param);
	}
}

function OnClickButton( string strID )
{	
	Debug( "-->" @ strID );


	switch( strID )
	{
	case "btnBookmark":
		OnClickBookmark();
		break;
	}
	
	//ЕЗ№цЖ° Е¬ёЇ
	if (Left(strID, 7) == "TabCtrl")
	{
		strID = Mid(strID, 7);
		if (!class'UIAPI_WINDOW'.static.IsMinimizedWindow( "BoardWnd" ))
		{
			ShowBBSTab(int(strID));
		}
	}
}

//ГК±вИ­
function Clear()
{
	
}

function HandleShowBBS(string param)
{
	local int Index;
	local int Init;
	
	ParseInt(param, "Index", Index);
	ParseInt(param, "Init", Init);
	
	//ГК±в»уЕВ·О ї©ґВ°Ў? (SystemMenu·ОєОЕН)
	if (Init>0)
	{
		if (m_bShow)
		{
			//АМ№М єёАМ°н АЦАёёй ґЭґВґЩ.
			PlayConsoleSound(IFST_WINDOW_CLOSE);
			class'UIAPI_WINDOW'.static.HideWindow("BoardWnd");
			return;
		}
		else
		{
			if (!m_hBoardWndHtmlViewer.IsPageLock())
			{
				m_hBoardWndHtmlViewer.SetPageLock(true);
				m_hBoardWndTabCtrl.SetTopOrder(0, false);
				m_hBoardWndHtmlViewer.Clear();
				RequestBBSBoard();
			}
		}
		
		//іЄБЯїЎ HandleShowBoardPacketїЎј­ ShowWindowё¦ ЗСґЩ.
	}
	else
	{
		m_hBoardWndTabCtrl.SetTopOrder(Index, false);
		m_hBoardWndHtmlViewer.Clear();
		ShowBBSTab(Index);
	}
}

function HandleShowBoardPacket(string param)
{
	local int idx;
	local int OK;
	local string Address;
	
	ParseInt(param, "OK", OK);
	if (OK<1)
	{
		class'UIAPI_WINDOW'.static.HideWindow("BoardWnd");
		return;
	}
	
	//Clear
	for (idx=0; idx<8; idx++)
		m_Command[idx] = "";
	
	ParseString(param, "Command1", m_Command[0]);
	ParseString(param, "Command2", m_Command[1]);
	ParseString(param, "Command3", m_Command[2]);
	ParseString(param, "Command4", m_Command[3]);
	ParseString(param, "Command5", m_Command[4]);
	ParseString(param, "Command6", m_Command[5]);
	ParseString(param, "Command7", m_Command[6]);
	ParseString(param, "Command8", m_Command[7]);
	m_bBtnLock = false;
	
	ParseString(param, "Address", Address);
	m_hBoardWndHtmlViewer.SetHtmlBuffData(Address);
	if (!m_bShow)
	{
		PlayConsoleSound(IFST_WINDOW_OPEN);
		class'UIAPI_WINDOW'.static.ShowWindow("BoardWnd");
		class'UIAPI_WINDOW'.static.SetFocus("BoardWnd");
	}
}

function ShowBBSTab(int Index)
{
	local string strBypass;
	local EControlReturnType Ret;
	
	switch( Index )
	{
	//ГіАЅАё·О
	case 0:
		strBypass = "bypass _bbshome";
		break; 
	//Бс°ЬГЈ±в
	case 1:
		strBypass = "bypass _bbsgetfav"; 
		break;
	//ИЁЖдАМБц ёµЕ©(10.1.11 №®ј±БШ јцБ¤)
	case 2:
		strBypass = "bypass _bbslink";
		break;
	//БцїЄёµЕ©
	case 3:
		strBypass = "bypass _bbsloc";
		break;
	//ЗчёНёµЕ©
	case 4:
		strBypass = "bypass _bbsclan";
		break;
	//ёЮёр
	case 5:
		strBypass = "bypass _bbsmemo";
		break;
	//ёЮАП
	case 6:
		strBypass = "bypass _maillist_0_1_0_"; 
		break;
	//ДЈ±ё°ьё®
	case 7:
		strBypass = "bypass _friendlist_0_"; 
		break;
	}
	
	if (Len(strBypass)>0)
	{
		Ret = m_hBoardWndHtmlViewer.ControllerExecution(strBypass);
		if (Ret == CRTT_CONTROL_USE)
		{
			m_bBtnLock = true;
		}
	}	
}

function OnClickBookmark()
{
	local EControlReturnType Ret;
	
	if (Len(m_Command[7])>0 && !m_bBtnLock)
	{
		Ret = m_hBoardWndHtmlViewer.ControllerExecution(m_Command[7]);
		if (Ret == CRTT_CONTROL_USE)
		{
			m_bBtnLock = true;
		}
	}
}
defaultproperties
{
}

 

All bypasses is hardcoded.

  • 0
Posted (edited)

@Jobalabido

 

Let us know if you've fixed the handlers so we can provide you the help you need.

Thanks in advance!

Edited by SectoneART
Guest
This topic is now closed to further replies.


  • Posts

    • L2-LORENA x100 MID RATE   Interlude Nostalgia Meets Modern Gameplay   OFFICIAL OPENING:  April 4 (Saturday)  19:00 UTC+1 ⸻  MAIN INFORMATION  Adena: x5  Drop: x10  Spoil: x10  Raid Boss: x10  Seal Stones: x2  Quests: x10 ⸻  FEATURES  GM Shop up to B-Grade  Full Buffer  Premium System (x2 bonuses)  AutoFarm – FREE for everyone ⸻  SERVER CONCEPT  Classic Interlude nostalgia  Enhanced with modern interface & mechanics  Balanced PvP & PvE gameplay  Active development & custom features ⸻  WHY JOIN L2-LORENA?  No Pay-to-Win  Smooth gameplay & stable server  Competitive PvP environment  Friendly & active community ⸻  JOIN US NOW L2-LORENA 100X <<< LINK Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr   L2-LORENA Link << Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr
    • https://web.archive.org/web/20260306183214/https://maxcheaters.com/topic/241828-l2j-l2damage/page/3/ https://l2topzone.com/forum/l2-server-support-problems/9/l2damage-stopped/30514 Also we will try to push longer seasons ever ! (1135-100)/9 = 115 online
    • ONE SIDE – AND EVERYTHING BREAKS ▪ Looks like a simple case: Florida DL, back side, barcode – “clean and minimal”. ▪ In reality, these are exactly the tasks that fail most often. – data provided as plain text – request only for the back side – focus on the barcode (PDF417) ▪ And here’s the key point: ▪ A barcode is not just a “picture on the back”. It’s compressed logic of the entire document. ▪ If it doesn’t match the front, format, and data structure – the system flags it instantly. ▪ Many create a “similar-looking” code. But systems don’t read “similar” – they read by specification. ▪ In cases like this, it’s not about design. It’s about correct data assembly and how it behaves inside the format. ▪ Today only – 15% off for verification cases. ▪ Want it to pass, not just look right? Describe your case – we’ll show where even clean files break. › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #editing #photoshop #documents #verification #case
    • Your anonymity is a corpse. Blockchain forgets nothing. Your transactions are direct footprints in the hands of anyone who takes an interest. [✘] Still believe in "mixing"? Forget it. Classic Bitcoin mixers are an illusion of security. For Chainalysis and Elliptic algorithms, any attempt to hide tracks in the ledger is transparent. Your "mixing" is an artifact that gets filtered out in seconds. Every transaction leaves a trail that leads to frozen assets or unwanted questions from exchanges.  We don't mix. We break the link. [-] Input: Your "dirty" coins (Dirty BTC/ETH) with all their history and digital markers stay with us. [+] Output: You receive absolutely clean assets (Clean Crypto) from our reserves, which have never intersected with your past. This isn't a game of hide and seek. This is the surgical removal of your financial history from the system.   ------------------------------------------------------------------- Technical indexing: Bitcoin Mixer, Crypto Mixer, Clean BTC, Clean ETH, Anti-Chainalysis, Best Bitcoin Mixer, Anonymous Crypto Exchange, NoLog Mixing Service.
  • Topics

×
×
  • Create New...

Important Information

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