Posted July 23, 201510 yr For some reason my shaders code is crashing when the mod is compiled but it works fine normally. Crash report: http://pastebin.com/5RBjk4Wd Shaders code: http://pastebin.com/abMcq1iJ It seems to not successfully be trying to activate the shader but I can figure out why? BioWarfare Mod: http://goo.gl/BYWQty
July 24, 201510 yr Which line is 150? Your reflection probably won't work on obfuscated clients since the method is present with its SRG name (EntityRenderer#func_175069_a) rather than its MCP (deobfuscated) name. FML's ReflectionHelper and ObfuscationReflectionHelper will help with this. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
July 24, 201510 yr Ah, I wasn't entirely sure what ObfuscationReflectionHelper was for. Thanks for informing me. ReflectionHelper won't automatically obfuscate/deobfuscate names for you, but it does let you provide both the MCP and SRG names of a field/method to save you the trouble of using reflection on both names individually. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
July 24, 201510 yr Author OK and how do I test if it is in the workspace or compiled for weather to use the obfuscated names or not? BioWarfare Mod: http://goo.gl/BYWQty
July 25, 201510 yr Author Hmm I replaced "loadShader" with "func_148042_a" just to see if it would work when compiled and it didn't it crashed again. http://pastebin.com/9G6S06CF BioWarfare Mod: http://goo.gl/BYWQty
July 25, 201510 yr Author Same as before but just with the replaced method name. http://pastebin.com/rVz97SkJ BioWarfare Mod: http://goo.gl/BYWQty
July 25, 201510 yr Author Ah right there are three loadShader methods. So which one is in the EntityRenderer Class? BioWarfare Mod: http://goo.gl/BYWQty
July 25, 201510 yr Author I am new to MCPbot so I am not really sure what I am doing I get [19:47] <Shocky> Use .r to make a factoid. Then type ?factoidname to see what it does. If the factoid already exists consider making a local, channel factoid using .r . factoidname [19:47] -MCPBot_Reborn- You need to register your nick before using the bot. I am not sure how to register a nick. BioWarfare Mod: http://goo.gl/BYWQty
July 25, 201510 yr Author Ok so i managed to find the right method but it still crashes when compiled. Crash log: http://pastebin.com/U7SdqDka Code: http://pastebin.com/GKSLRANX BioWarfare Mod: http://goo.gl/BYWQty
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.