Page 1 of 1

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

Posted: Sat Jan 10, 2015 7:22 pm
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!

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

Posted: Sat Jan 10, 2015 7:55 pm
by Zoey76
You can use GM command to set HB to max level.

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

Posted: Mon Jan 12, 2015 9:26 pm
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 :)

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

Posted: Mon Jan 12, 2015 10:15 pm
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.

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

Posted: Thu Jan 15, 2015 10:34 am
by Sdw
But it doesn't :D

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

Posted: Thu Jan 15, 2015 1:52 pm
by Zoey76
Sdw wrote:But it doesn't :D
This was a reported bug and it was fixed, Hellbound should stay open :D