Skip to content

[Request]Craft Manager patch

Featured Replies

  • Author

anyone help me? need to make the craft manager read s80 recipies thats my only problem the rest works now  :-[

Its quite strange, cuz all recipes are done in the same way. If you cannot see s80 recipes in the recipe list, its because or isnt L2EtcItemType.RECIPE or isnt contained in the L2RecipeList class.

Check in database that those recipes has recipe as type and that those recipes are also added into data/recipes.xml

If you take a closer look at getRecipeIcon method,there is a grade called grade==5 that is not declared anywhere.

public String getRecipeIcon(int grade)
{
	return  "icon.etc_recipe_"+(
	 grade==1?"blue":
		grade==2?"yellow":
			grade==3?"red":
				grade==4?"violet":
				grade==5?"black":"white")+"_i00";
}

 

It might be completely useless but have a try.

 

String _crystal = _item.getItem().getCrystalType()==1?"D":
			  _item.getItem().getCrystalType()==2?"C":
				  _item.getItem().getCrystalType()==3?"B":
--                                       _item.getItem().getCrystalType()==4?"A":"S";
+					  _item.getItem().getCrystalType()==4?"A":
+                                        _item.getItem().getCrystalType()==5?"S":"S80";

public String getCrystalIcon(int grade)
{
	return  "icon.etc_crystal_"+(grade==1?"blue":
		grade==2?"green":
			grade==3?"red":
--					grade==4?"silver":"gold")+"_i00";
+                                      grade==4?"silver":
+                                             grade==5?"gold")+"_i00";
}

He is getting a message that makes the code stop before reach the code you are talking about

  • Author

Guys Here is the full source of L2CraftManagerInstance.java so you can check it.... Thanks guys for you help

 

 

 

 

@ parizakis

 

public String getCrystalIcon(int grade)
{
	return  "icon.etc_crystal_"+(grade==1?"blue":
		grade==2?"green":
			grade==3?"red":
--					grade==4?"silver":"gold")+"_i00";
+                                      grade==4?"silver":
+                                             grade==5?"gold")+"_i00";
}

 

This code is useless since this is just in crystallize section and theres nothing wrong with crystallization

 

I've also tried this code but still the same

String _crystal = _item.getItem().getCrystalType()==1?"D":
			  _item.getItem().getCrystalType()==2?"C":
				  _item.getItem().getCrystalType()==3?"B":
--                                       _item.getItem().getCrystalType()==4?"A":"S";
+					  _item.getItem().getCrystalType()==4?"A":
+                                        _item.getItem().getCrystalType()==5?"S":"S80";

 

I send to you the source so you can review it thanks again guys for helping me

  • Author

I think I've just discovered something it seems the craft manager can read s80 recipies but only 60% once not the 100%  :(

 

 

shot00000ih.png

 

 

so how do I include 100% recipe?

I think I've just discovered something it seems the craft manager can read s80 recipies but only 60% once not the 100%  :(

 

 

shot00000ih.png

 

 

so how do I include 100% recipe?

Do 100% recipes exist or is it some kind of client mod?I thought it was up to 60% in retail.

The least you can do is to change the chance of these ones.

  • Author

Do 100% recipes exist or is it some kind of client mod?I thought it was up to 60% in retail.

The least you can do is to change the chance of these ones.

 

yes it exist in the GM shop menu of Admins

 

look at this picture

 

shot00014u.th.jpg

 

yes it exist in the GM shop menu of Admins

 

look at this picture

 

shot00014u.th.jpg

 

Have u tried to register these recipes on dwarf to check if they work?

It might be dp issue.

  • Author

yes you are right its not registered in recipe.xml but anyway thanks for the help please lock the topic

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.