Jump to content

Recommended Posts

Posted

Nice one!I like it

 

this is just an awesome share man! really thanks! :)

 

:) thx

 

You're all just obvious shitspammers. The buffer has some important typos which won't allow to use it AT ALL :troll:

 

@povis111

 

Check your strings from sql queries. Tip: a A b B

 

Ignore if it only happens to unix-based platforms ( :y u no?:)

Posted

50e34ec14f39.jpg

 

how to delete this?  :dat:

 

To be able not to tick that silly box, you will have to open 'EnterWorld.java' and add some lines, like:

 

setBuffQStarted(activeChar);

 

in the 'protected void runImpl()'

 

and

 

private static void setBuffQStarted(L2PcInstance player)
{
	QuestState qs = player.getQuestState("Buffer");
	player.setQuestState(qs);
}

 

at the end of  'protected void runImpl()', i mean after the void itself

 

or, wait a sec, i just got an idea :D, will show it in the evening... the idea would help you not to edit source code

 

evening: okay, so for now the idea doesn't work, i will try to make that later...

  • 1 month later...
Posted

	public Buffer(int questId, String name, String descr)
{
	super(questId, name, descr);

	addStartNpc(npcId);
	addTalkId(npcId);
	addFirstTalkId(npcId);
}

 

	@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
	QuestState st = player.getQuestState(getName());
	if (st == null)
		newQuestState(player);

	return "something.htm";
 }

@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
		return "something.htm";
}

 

Nothing more than just that, povis.

Posted

	public Buffer(int questId, String name, String descr)
{
	super(questId, name, descr);

	addStartNpc(npcId);
	addTalkId(npcId);
	addFirstTalkId(npcId);
}

 

	@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
	QuestState st = player.getQuestState(getName());
	if (st == null)
		newQuestState(player);

	return "something.htm";
 }

@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
		return "something.htm";
}

 

Nothing more than just that, povis.

 

thanks ;D i had no idea how quest start works... the code was very hard for me to understand in there :)

Posted

some one can help?

 

Class not found L2BufferInstance.

 

rev 290

Use the guide... you don't have to make any instances... it's a quest

 

Posted

I've done that

 

How to install?
1. Add this in the gs/data/ scripts.cfg
Code: [select]

custom/Buffer/Buffer.java

2. Buffer folder to
Code: [select]

gameserver\data\scripts\custom

3. Edit gameserver\data\scripts\custom\Buffer Buffer.java and change npc's id
Code: [select]

int NPC_BUFF_ID = 12345;   //Buffer's id

4. Npc's type must be L2Npc.
5. Enjoy and test  8).

 

In game i can spawn him and talk, i see option "scheme buffer" but when i try to click on that option it disappear.

 

 

///edit

 

sory my mistake i did install another buffer before your's and thats why i got that message

 

But still i see that :

 

errrerrer.png and when i click on it window disappear.

Posted

you can addapt this buffer for l2jfrozen ?

download it and just put the scripts i gave you before!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...