Jump to content
  • 0

[Request]Craft Manager patch


madzkull

Question

hi guys I'm trying to make this one work but I can't compile this cause it gives me compile errors... I might need your help on this one

 

http://www.maxcheaters.com/forum/index.php?topic=167212.0

 

Thats the latest craft manager I've seen... Please help me make it work in epilogue... :( Thanks in advance guys..

Link to comment
Share on other sites

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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";
}

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • 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