Jump to content

Recommended Posts

Posted

The NPC.sql is correct; if I change it to a different class, like L2NPC, it'll spawn, but it just becomes a regular NPC, not the buffer.

 

And yeah, those lines are there.

 

Sorry for troubling you all with this problem... =/

Posted

I havent read the code...

i want toask, It heals your mana and HP every time you take the buffs?

Posted

yep

Thanks for your answer, I download it...

Iread 3 times all the Java files and I cant find where it heals HP because I want to remove it)

Maybe I am Blind?

where it is?

Posted

That's what i did and I can say that you have donwa great job! But Just look::

if (currentCommand.startsWith("givebuffs"))
	{
		String targettype = st.nextToken();
		String scheme_key = st.nextToken();
		int cost = Integer.parseInt(st.nextToken());

		if (cost == 0 || cost <= player.getInventory().getAdena()) 
		{
			L2Character target = player;
			if (targettype.equalsIgnoreCase("pet"))
				target = player.getPet();

			else if (target != null)
			{			
				for (L2Skill sk : CharSchemesTable.getInstance().getScheme(player.getObjectId(), scheme_key))
				{
					sk.getEffects(this, target);
				}	
				player.reduceAdena("NPC Buffer", cost, this, true);
			}
			else
			{
				player.sendMessage("Incorrect Pet");
				// go to main menu
				NpcHtmlMessage html = new NpcHtmlMessage(1);
				html.setFile(PARENT_DIR+"menu.htm");
				sendHtmlMessage(player, html);
			}				
		}
		else
		{
			player.sendMessage("Not enough adena");
			showGiveBuffsWindow(player, targettype);
		}




	}

 

  • 3 weeks later...
Posted

can i ask something ? is there a way to make this buffer without the schemes ? just a window with htm buttons for buffs and non-closed window while clicking each buff.. ? i mean a core buffer without schemes ^^

 

thanks :)

  • 2 weeks later...
  • 1 month later...
Posted

no work for me :(

and i dont know then what do with the .java files this i cannot apply patch it write me error. at the begin

 

 

 

check it out 2gshm39.jpg

Posted

no work for me :(

and i dont know then what do with the .java files this i cannot apply patch it write me error. at the begin

 

 

 

check it out 2gshm39.jpg

 

insert it by hand rofl...

  • 1 month later...
Guest
This topic is now closed to further replies.



  • Posts

    • you can use my share Dress me item  
    • I haven't played L2 in many years but was recently talking to some old friends from back in the day (supreme / azure, paradise) and we thought we would try playing together again. Checked out official and it has went full on P2W and bot infested, not interested. Private servers seem to be pretty volatile and the community fragmented, we have not been able to find a server or community that has the right vibe.   So us old farts decided why the hell not build our own server and see if we can pull in some of those old day vibes and magic, maybe get a good community built. Maybe that magic is gone forever, that comraderie that we shared in the old days. But I think it is likely there is a lot of players out there just like our little group from the old days that made lifelong friendships in all those 100s and 1000s of hours we spent together in the game together.   I have reached out to some developer friends from back in the day and have one that has come on board, probably one of the most OG OFF devs out there, pretty stoked about that, he never stopped L2 developing for all these years, wild. I can't think of too many other games that evoke such loyalty and love of the game.   So, the choice has been made, and the journey begins. We have really solid and battle tested H5 files so we will roll with those. We are not using any pack with locked down extender, we have all the flexibility we need to make changes, fixes, add features, etc. Also have a great antibot and box limiting system as well as active GMs so bots impact should be pretty min imal. Do have some features that we will be adding but I'll keep those under my hat.      What do you guys think, you think there is enough of that old-school magic left out there to have a server and community of the old days?
    • We create legends in the dark, leading the light into the worlds Base - l2jmobius Chronicles HIGH-FIVE     https://gitea.com/Debug/ShadowCraftCore
    • We create legends in the dark, leading the light into the worlds Base - l2jmobius Chronicles HIGH-FIVE     https://gitea.com/Debug/ShadowCraftCore
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock