Jump to content
  • 0

[ReOpened] Craft manager


Question

Posted

hi guys I reopen this topic since after L2J released freya I've updated my source here and now I've got problems I've solve some of it but not this problem here

 

so I might need your help on this one thanks devs

 

I've also checked MultiSell.java but the spelling is the same its kinda wierd...  8)

 

error1z.jpg

 

[javac] E:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2CraftManagerInstance.java:57: separateAndSend(int,com.l2jserver.gameserver.model.actor.instance.L2PcInstance,com.l2jserver.gameserver.model.actor.L2Npc,boolean) in com.l2jserver.gameserver.datatables.MultiSell cannot be applied to (int,com.l2jserver.gameserver.model.actor.instance.L2PcInstance,int,boolean,double)

    [javac] MultiSell.getInstance().separateAndSend(Integer.parseInt(command.substring(9).trim()), player,32076, false, getCastle().getTaxRate());

    [javac]                       ^

    [javac] 1 error

 

BUILD FAILED

10 answers to this question

Recommended Posts

  • 0
Posted

This is the Method on Freya:

public final void separateAndSend(int listId, L2PcInstance player, L2Npc npc, boolean inventoryOnly)

And here the old one from Epilogue:

public void separateAndSend(int listId, L2PcInstance player, int npcId, boolean inventoryOnly, double taxRate)

 

At least one integer more on old Epilogue server.... double taxRate

  • 0
Posted

here is the separateAndSend in MultiClass.java

 

public final void separateAndSend(int listId, L2PcInstance player, L2Npc npc, boolean inventoryOnly)
{
	ListContainer template = _entries.get(listId);
	if (template == null)
	{
		_log.warning("[MultiSell] can't find list id: " + listId + " requested by player: " + player.getName() + ", npcId:" + (npc != null ? npc.getNpcId() : 0));
		return;
	}

	final PreparedListContainer list = new PreparedListContainer(template, inventoryOnly, player, npc);
	int index = 0;
	do
	{
		// send list at least once even if size = 0
		player.sendPacket(new MultiSellList(list, index));
		index += PAGE_SIZE;
	}
	while (index < list.getEntries().size());

	player.setMultiSell(list);
}

8)

  • 0
Posted

This is the Method on Freya:

public final void separateAndSend(int listId, L2PcInstance player, L2Npc npc, boolean inventoryOnly)

And here the old one from Epilogue:

public void separateAndSend(int listId, L2PcInstance player, int npcId, boolean inventoryOnly, double taxRate)

 

At least one integer more on old Epilogue server.... double taxRate

He has already answered..

just remove the last integer

 

  • 0
Posted

I remove the last integer and still I got this error its now like this

 

MultiSell.getInstance().separateAndSend(Integer.parseInt(command.substring(9).trim()), player,32076, false);

 

erry.jpg

 

how do I edit this

 

(int, l2pinstance, int, boolean)

 

to this

 

(int, l2pinstance, L2NPC, boolean)

 

I think the code has a problem in it and I can't understand where it is  :(

  • 0
Posted

Well as you can see I only need a code that represents L2NPC

 

MultiSell.getInstance().separateAndSend(Integer.parseInt(command.substring(9).trim()), player,IDONTKNOW, false);

 

wherein I need this (int, L2PcInstance, L2NPC, boolean)

 

and that will be

 

int - Integer.parseInt(command.substring(9).trim())

 

L2PcInstance - player

 

L2NPC - IDONTKNOW <--------- This is my problem

 

boolean - false

 

I hope someone help me figure this out.. 8)

 

Guest
This topic is now closed to further replies.


  • Posts

    • It seems the author is simply not familiar with what l2-scripts and Bonux represents today. His opinion is likely based on our older materials — which is understandable. We haven't been standing still. Over the years, the studio has moved to a fundamentally different level of development. Our early builds are still available on the legacy site at very accessible prices — and they remain entirely viable for launching a project. As practice shows, solid servers can still be built on them, albeit with greater effort. As for the market — Classic, Essence, and Main have long been running on l2-scripts engines, and the majority of successful servers have, at one stage or another, used our source code as their foundation. This isn't self-promotion — it's the history of the industry. Today, for established projects with a reputation, we offer a different format: private partnership with individual terms tailored to your business goals. If you're interested in long-term collaboration — we're open to the conversation. We have solutions for every level — from newcomers to top-tier projects. Feel free to reach out, and we'll be happy to discuss.
    • implemented Black Market NPC that can copy and make discount on desired multisells , spawns despawns and fully configurable with schedule and random timer   implemented Dungeon Finder , fully configurable for custom dungeons and can be accessed from 2-9 party size. Your choice! 
    • https://en.l2oops.com/chronicle/lineage-2-essence   almost all the servers on here are using l2scripts or bonux files..
    • Before you jump on anything with limited slots, I’d just make sure you’re thinking about safety. I once tried a Fortnite Cronus Zen script in Creative mode only, just to test controller feel, and even then I was careful because anything that gives unfair advantages can put accounts at risk. Solid performance is great, but long‑term safety matters more than flashy features.
    • SkyLord, we don't disclose client projects — that's standard practice in private development. If you were expecting us to drop server names on a public forum, that tells me you don't have much experience with how professional work actually operates. The antibot you're referencing is old. It has been updated and improved. What you saw then is not what exists now. The web panel — we don't have one, never sold one. We have a master account system that is actively maintained and improved every year. You either bought from someone else or you're confusing products. You're free to have opinions. But opinions without evidence are just noise. You haven't pointed to a single failed project or dissatisfied client — just old memories and assumptions. We've been doing this for 20 years. We're not going to start justifying ourselves to someone who has never worked with us and has no actual proof of anything. Focus on your own work — that's the most productive thing you can do here. And please — keep this thread clean and don't interfere with other people's work. Those who make a habit of trashing others usually have nothing worth showing themselves. Create a separate theme where you will advertise your server.   PS:   Interesting that the person questioning our quality has relaunched their project over 50 times. Maybe that's exactly why it keeps relaunching. Our contacts are in the first post — happy to help. 😉  
  • 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..