Jump to content

Recommended Posts

Posted (edited)

dude i think you made a logical mistake, in community patch you have this

else if(command.startsWith("_bbsrps") && RankPvpSystemConfig.RANK_PVP_SYSTEM_ENABLED && RankPvpSystemConfig.TOP_LIST_ENABLED)
{
     RankPvpSystemBBSManager.getInstance().parsecmd(command, activeChar);
}
 
and in that method you call you check if top lists are enabled else do something else i think it will always be true ;)
correct me if i am wrong
Edited by valanths1990
Posted

I think it is correct:

else if(command.startsWith("_bbsrps") && RankPvpSystemConfig.RANK_PVP_SYSTEM_ENABLED && RankPvpSystemConfig.TOP_LIST_ENABLED)
{
     RankPvpSystemBBSManager.getInstance().parsecmd(command, activeChar);
}
else if (command is fetched AND rank pvp system enabled AND top list enabled)
{
       do something...
}

If one of conditions returns false, the code inside will be not executed.

 

Example: if TOP_LIST_ENABLED is FALSE then the code inside will be skipped.

Posted (edited)

Not used it, nor checked the code, but the Rank System may refer to few options, like top pvp/pk. So, you can just enable for example JUST pk list, so the check is correct.

Edited by SweeTs
Posted (edited)

valanths1990

 

CommunityBoard:







// Rank PvP System by Masterio
else if(command.startsWith("_bbsrps"))
{ 
	RankPvpSystemBBSManager.getInstance().parsecmd(command, activeChar);
}

RankPvpSystemBBSManager:

	@Override
	public void parsecmd(String command, L2PcInstance activeChar)
	{
		if(RankPvpSystemConfig.RANK_PVP_SYSTEM_ENABLED && RankPvpSystemConfig.TOP_LIST_ENABLED)
		{
			if(command.startsWith("_bbsrps:"))
			{
				int page = 0;
				try
				{
					page = Integer.parseInt(command.split(":", 2)[1].trim());
				}
				catch(Exception e)
				{
					log.info(e.getMessage());
					page = 0;
				}
				
				separateAndSend(RankPvpSystemBBSHtm.getPage(activeChar, page), activeChar);
			}
		}
		else if(!RankPvpSystemConfig.TOP_LIST_ENABLED)
		{
			ShowBoard sb = null;

			sb = new ShowBoard("<html><body><br><br><center>Community Board Top List is disabled in config file</center><br><br></body></html>", "101");

			activeChar.sendPacket(sb);
			activeChar.sendPacket(new ShowBoard(null, "102"));
			activeChar.sendPacket(new ShowBoard(null, "103"));
			
			sb = null;
		}
	}

Fixed.

Edited by >Masterio<
Posted

First af all your share is awesome...thanks

 

But i have a little problem with TopTable, my top killers, top gatherers never update. It always says the message "No one ot top 10 list yet"

 I am using l2frozen(Iinterlude)

Posted

Hi, I have problem with PvP Count, I use Freya version, but I always get the notice: 

 

You can't earn RPC on innocent players!

You can't earn Rank Points on innocent players!

 

If I disable it, only receive PvP when kill Karma player, please help me

Posted

Hey, I love your work and I really want to use your engine, but I have a question. Do you happen to have any of your old versions?

I am forced to use H5 rev. 5667 and there have been quite some changes, so I can't apply your current patch :( I am forced to use old revision because hNoke (Owner of Nexus Engine) isn't updating his engine at all.. And his events and buffer are the most important thing on my server :/

 

Looking forward to reading your answer

 

Best Regards,

DeathSpank

Guest
This topic is now closed to further replies.



  • Posts

    • 🌐 Works Globally Without VPN: Activate 5TB + Gemini Pro anywhere in the world on your personal Google account in under 60 seconds!     FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
    • The server will officially launch on 2026-10-24, at 10:00 AM (GMT+3).
    • L2OFF Vanganth Gracia Final P110 [Experimental Pre-Alpha] Hello everyone! I would like to share some early gameplay footage of my L2OFF Vanganth Gracia Final P110 project. The project is currently in Experimental Pre-Alpha development. Many systems have already been implemented or adapted to Protocol 110, but there is still a lot of work and testing to be done.   Current Development Progress: Character creation, login and gameplay Character movement, combat and skills NPCs, monsters and basic interactions Inventory, equipment and visual effects Clan and party systems Warehouse and freight systems NPC shops, multisell and trading Mail system Pets and summons Skill Enchant and Ability system Fishing, quests and other gameplay features Various additional features and improvements Please note: Not all features are fully functional yet. Some systems are still incomplete, and bugs or unexpected issues are expected. This is an early experimental project, and a lot more testing, fixes and improvements are required before it can be considered stable.   Gameplay Preview #1       Gameplay Preview #2     More updates and gameplay previews will be shared as development continues.   Project Status: Experimental Pre-Alpha Platform: L2OFF Vanganth Gracia Final Client Protocol: P110 (Grand Crusade) Thanks for watching!
  • 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..