perpetualgamer Posted April 16, 2012 Share Posted April 16, 2012 Is it possible (without redistributing the mod to clients) to disallow the transmutation of a specific item, can this be done with a bukkit plugin? Or config file? Link to comment Share on other sites More sharing options...
jakj Posted April 16, 2012 Share Posted April 16, 2012 In theory, yes: It's possible to alter the EE classes serverside to remove an item from the EMC table, which should do what you want. However, it might cause horrible crashes when clients try to do it, and it expects it to work but doesn't. I don't personally work with SMP, so you'll have to find someone who does, but the possibility is there. You can try to either use reflection to edit the EMC list, or else decompile/alter/recompile the classes to not add it in the first place. Link to comment Share on other sites More sharing options...
Jay? Posted April 16, 2012 Share Posted April 16, 2012 In theory, yes: It's possible to alter the EE classes serverside to remove an item from the EMC table, which should do what you want. However, it might cause horrible crashes when clients try to do it, and it expects it to work but doesn't. I don't personally work with SMP, so you'll have to find someone who does, but the possibility is there. You can try to either use reflection to edit the EMC list, or else decompile/alter/recompile the classes to not add it in the first place What you Could do is change the EMC value of certain things to be so high that transmuting them wasn't worth it. Link to comment Share on other sites More sharing options...
jakj Posted April 16, 2012 Share Posted April 16, 2012 What you Could do is change the EMC value of certain things to be so high that transmuting them wasn't worth it. Still the same possible issue, if the EE client makes assumptions based on the value, puts the item in the client's inventory when the server hasn't, and then kerboom eventually. I have not looked at the EE source to see whether or not this would work. You could do that with nothing but reflection, though, so no decompiliation or base-class editing. Link to comment Share on other sites More sharing options...
PsychoBob Posted April 16, 2012 Share Posted April 16, 2012 Im curious if you can make it so the emc you get from the item is lower than the cost to transmute the item. Like getting 1 cobblestone by transmuting 2 of them. Link to comment Share on other sites More sharing options...
Valkon Posted April 16, 2012 Share Posted April 16, 2012 Im curious if you can make it so the emc you get from the item is lower than the cost to transmute the item. Like getting 1 cobblestone by transmuting 2 of them. That really doesn't follow the idea of equivalent exchange. Link to comment Share on other sites More sharing options...
jakj Posted April 16, 2012 Share Posted April 16, 2012 You'd have to rewrite EE entirely to get something like that to work. Right now it just does simple addition and comparison out of a numeric table. It'd be like trying to make 1+1=1. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now