Hellbound Opened by default, code help (I have advances)

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
ganoncl
Posts: 23
Joined: Sat Jan 03, 2015 7:17 pm
Location: Chile
Contact:

Hellbound Opened by default, code help (I have advances)

Post by ganoncl »

Hello Guys,

First of all, nice to meet you, I'm new on L2j big code, but old developing games, really I work programming games since 2009 in Chile south america.

I'm trying right now to make custom changes on l2j code, and one of my tasks is to make Hellbound opened by default.

I made the following changes rigth now.

on general.properties:
HellboundWithoutQuest = True

on //L2J_DataPack/dist/game/data/scripts/hellbound/HellboundEngine.java:

Code: Select all

	/**
	 * Gets the Hellbound level.
	 * @return the level
	 */
	public int getLevel()
	{
		return 11; //new
		// return GlobalVariablesManager.getInstance().getInt("HBLevel", 0); //old
	}
and

Code: Select all

	/**
	 * Gets the trust.
	 * @return the trust
	 */
	public int getTrust()
	{
		return 4000000; //new
		// return GlobalVariablesManager.getInstance().getInt("HBTrust", 0);
	}
Then when I testing Hellbound, all seems fine, except when I'm trying to enter to steel citadel on "moonlight tombstone" (I have the quest key), It doesn't work and show me the dialog related to minimu requeriments for quest generic.

Someone can help me or give me some orientation on this custom change.

Sorry my bad english.

Thanks!
:)
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Hellbound Opened by default, code help (I have advances)

Post by Zoey76 »

You can use GM command to set HB to max level.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
ganoncl
Posts: 23
Joined: Sat Jan 03, 2015 7:17 pm
Location: Chile
Contact:

Re: Hellbound Opened by default, code help (I have advances)

Post by ganoncl »

It's necessary to introduce the GM command for each server up?

I'm trying to find the way to set Hellbound opened by default but I have problems with "moonlight tombstone" NPC.

Thanks :)
:)
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Hellbound Opened by default, code help (I have advances)

Post by Zoey76 »

ganoncl wrote:It's necessary to introduce the GM command for each server up?

I'm trying to find the way to set Hellbound opened by default but I have problems with "moonlight tombstone" NPC.

Thanks :)
No, after you set it to max level (11), it will remain like that if everything works correct.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Sdw
L2j Veteran
L2j Veteran
Posts: 855
Joined: Mon May 03, 2010 8:38 am
Location: France

Re: Hellbound Opened by default, code help (I have advances)

Post by Sdw »

But it doesn't :D
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Hellbound Opened by default, code help (I have advances)

Post by Zoey76 »

Sdw wrote:But it doesn't :D
This was a reported bug and it was fixed, Hellbound should stay open :D
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Post Reply