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!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Add some share links, would be nice for people that still looking for them!
    • Please do not insult anybody and respect other works. Do not have hateful behaviour, last warning.
    • You cant add cloaks on interlude packs, is possible to find ones but will never work correct on character.
    • Hello everyone, want to sell some of my custom features in my server, someone might be interested. Collections: (50euro) - you need ingredients (min/max) - can you choose enchant level  - reward : custom skills Enemy Inventory and stats checker: (25euro) - you can check what is your enemy wearing - how much is it enchanted - you can see his detailed info about stats - pvp/pk/rebirth/pve dmg etc anything can be added Gamble (random craft item) - (50 euro)  - by using command .gamble - windown will pop up  - name of the item / chances / % of your points / maximum you can have shows  - you can buy instantly points / or item can be made for that  - each pack can have different prices/items  - refresh give another 5 random items. Custom Enchant System: (20euro)  - target all grades - one scroll can be used for any grade  - increaseEnchantby / decreaseEnchantBy Custom Rotated Farm Zone: (50euro)  - players will be automaticly flagged when enter / unflagged when leave  - you can make any zone like that  - you can add any restriction you want or dont.  - Rotation will be announced in Global  Chat  - in zone drop will be increased by 30% - or you can modify by config  - maybe you want zone where they need lets say 10x Enter to enter can be done - i can give you code, or i can also implement for you - if you want some other custom code, and im able to do it you can ask me discord:expllo#8222 or just expllo - if you won't find, message me here.  
  • 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..