Jump to content

Recommended Posts

Posted

BTW. It was not DC it was Client Crash ;) This crash can happened when htm file have missing tag or error.

I will check again all htm files, for sure ;)

RankPvpSystemConfig eclipse error latest l2j h5 beta hast change in config.java http://trac.l2jserver.com/changeset/6194#file1

Posted (edited)

1. I repeat, it is ONLY for H5 Chrinicles, I will fit it to lower chronicles after beta tests.

2. New revision:

 

Download

 

 

v3.7.3 [26.09.2013]:

  + Reworked ImageConverter classes. Now is faster and cleaner  [probably no more problems with import to all chronicles].
  + Fixed index.htm example for community board (thanks snacks).
  + Reworked RankPvpSystemConfig, changed L2Properties to Properties (thanks O_o).
Edited by matthewmaster04
Posted
		// Rank PvP System by Masterio:
		if(RankPvpSystemConfig.NICK_COLOR_ENABLED || RankPvpSystemConfig.TITLE_COLOR_ENABLED)
		{
			KillerPvpStats activeCharPvpStats = PvpTable.getInstance().getKillerPvpStats(activeChar.getObjectId());
			
			if(RankPvpSystemConfig.NICK_COLOR_ENABLED)
			{
				activeChar.getAppearance().setNameColor(activeCharPvpStats.getRank().getNickColor());
			}
			
			if(RankPvpSystemConfig.TITLE_COLOR_ENABLED)
			{
				activeChar.getAppearance().setTitleColor(activeCharPvpStats.getRank().getTitleColor());
			}
		}

i removed some lines you can paste it there.

 

If you have objections, write here.

Posted (edited)

Thank you for everything.. :) Well you have done an excellent job and if i had the opportunity i will had donate on  you. You deserve it :)

 

but i had this problem on compiling :

 

  [javac] C:\Documents and Settings\Owner\workspace\L2Server\gameserver\head-src\com\l2jfrozen\gameserver\network\clientpackets\EnterWorld.java:722: error: cannot find symbol
    [javac] KillerPvpStats activeCharPvpStats = PvpTable.getInstance().getKillerPvpStats(activeChar.getObjectId());
    [javac] ^
    [javac]   symbol:   class KillerPvpStats
    [javac]   location: class EnterWorld
    [javac] 1 error
    [javac] 1 warning
Edited by andon19
Posted

KillerPvpStats <- this is the claas from my package, just correct imports check if u have this line in imports:

import com.l2jfrozen.gameserver.masteriopack.rankpvpsystem.KillerPvpStats;
import com.l2jfrozen.gameserver.masteriopack.rankpvpsystem.PvpTable;
import com.l2jfrozen.gameserver.masteriopack.rankpvpsystem.RankPvpSystemConfig;
Posted (edited)

Nice idea!

 

BUT the implementation is not that nice..

Why didn't u wrote that as a DP sided script..

Also u're using thread-safe classes where u don't need to, and not thread-safe where u had to..

Using public variables to access from outside and methods to access inner vars is not so nice either.

Btw we use to add '_' (underscore) prefix to global variables not to local ones so you don't have to use explicit 'this.var = var'

Also we stopped using e.printStackTrace() because in windows it doesn't gets logged on log files, we use Logger for that (Same goes for System.out.println())

(new Thread(new RankPvpSystemPvpTask(player, target))).start();

 Why don't u simply use that instead.

ThreadPoolManager.getInstance().executeTask(new RankPvpSystemPvpTask(player, target));

It also executes the task in another thread without having to create new thread because there is already created a pool of threads used by the whole server.

 

Actually the code is really messed up (That's what we call spaghetti  code) that's why u have 20 pages of typo reports, i think u should start writing a bit more cleaner & safe.

Here i attach similar script i started some time ago, it doesn't supports most of the things u did but count it as an example of how i write things.

Note: This is an alpha version, totally not ready for use version, it may work but it still needs work to be done to consider it as a final version.

PvP.zip

Edited by UnAfraid
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..