madzkull Posted August 23, 2010 Share Posted August 23, 2010 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 More sharing options...
0 B1ggBoss Posted September 21, 2010 Share Posted September 21, 2010 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 More sharing options...
0 DnR Posted September 21, 2010 Share Posted September 21, 2010 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 More sharing options...
0 B1ggBoss Posted September 21, 2010 Share Posted September 21, 2010 He is getting a message that makes the code stop before reach the code you are talking about Link to comment Share on other sites More sharing options...
0 madzkull Posted September 21, 2010 Author Share Posted September 21, 2010 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 More sharing options...
0 madzkull Posted September 21, 2010 Author Share Posted September 21, 2010 I think I've just discovered something it seems the craft manager can read s80 recipies but only 60% once not the 100% :( so how do I include 100% recipe? Link to comment Share on other sites More sharing options...
0 DnR Posted September 21, 2010 Share Posted September 21, 2010 I think I've just discovered something it seems the craft manager can read s80 recipies but only 60% once not the 100% :( 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 More sharing options...
0 madzkull Posted September 22, 2010 Author Share Posted September 22, 2010 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 Link to comment Share on other sites More sharing options...
0 DnR Posted September 22, 2010 Share Posted September 22, 2010 yes it exist in the GM shop menu of Admins look at this picture Have u tried to register these recipes on dwarf to check if they work? It might be dp issue. Link to comment Share on other sites More sharing options...
0 madzkull Posted September 25, 2010 Author Share Posted September 25, 2010 yes you are right its not registered in recipe.xml but anyway thanks for the help please lock the topic Link to comment Share on other sites More sharing options...
Question
madzkull
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
24 answers to this question
Recommended Posts