Jump to content

fihgu

Members
  • Posts

    13
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

fihgu's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Oh never mind, just realized that have nothing to do with forge but everything with mcp update.
  2. The method ServerConfigurationManager.initializeConnectionToPlayer(NetworkManager p_72355_1_, EntityPlayerMP p_72355_2_, NetHandlerPlayServer nethandlerplayserver) somehow did not get obfuscated for forge version forge_10.13.4.1448. for all older versions it was obfuscated to oi/a and this version it just stayed oi/initializeConnectionToPlayer. (confirmed with no other mod installed) anyone have an idea why? this stops my mod from firing custom events properly. if those method names just be obfuscated one day and not obfuscated another day, it will cause a lot of pain for coremods. please fix it.
  3. so I have to wait for forge to add new events? I just don't think there will be a event I can use for my mod in the near future. If you are telling me not to edit base class, you are telling me not to mod. what if someone want to fix a vanilla bug? or make changes to vanilla mob/blocks? that's just how mod is: modifying the game. forge alone can never cover all the needs, so editing base class is necessary.
  4. I'm having a hard time to get use to gradlew, it used to be: you just run the reobfuscate.bat file, and it will do all the work for you and give you a obfuscated class file like "aa.class" which you can just drop it into minecraft.jar. if this class file doesn't work when you drop it directly into a jar, then it won't work when you load it into memory with a ClassTransformer either. so a partly obfuscated class won't do. is there any way I can install forge into MCP like the old times?
  5. just checked the link, the FE mod. That mod requires other mod to use it's api, I believe they have got it working pretty well, but what i need is a light weight mod that does some .equals() check on /commands a player sends, and doesn't need to make others apply my API.
  6. My question is still not answered yet: How to get a obfuscated class file with forge gradlew? PS: yes class names are deobfuscated in the runtime environment, but ClassTransformer.transform method happens as you trying to load a class file into the environment, and those bytes here is obfuscated. I don't have to patch every mod, just prevent the action of editing blocks from something other than the owner of the block. and my permission system has been working since Minecraft 1.4.7, and people is asking me to update it.
  7. yes, those plugins are kinda the objective I'm trying to achieve here, having a 2nd pw is helpful to protect a server running with online-mode set to false. and I'm also making lots other stuff that requires events like overriding vanilla command permission, with a fully configurable module, and a anti-grief system that protects things from Mining machines from other mods.
  8. I am making a mod that ask for a password before actually login a player. It's just way too much work if Im editing it with inserting/removing java bytecode.
  9. oh btw, it didn't work because as it will give me exceptions like: "index out of bounds" "can't find type" when I run it outside of eclipse work space, I believe my code is working correctly since it works fine in eclipse, All I need is getting a reobfuscated class file that I can get the edited bytes from.
  10. I am using forge-1.7.10-10.13.0.1180. I was trying to replace a base class to fire some my custom events. I followed this tutorial (the replace whole base class section): http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571568-tutorial-1-6-2-changing-vanilla-without-editing Then I'm stuck on this problem: How do I get an reobfuscated class file like the "te.class" in that tutorial? I've tried to get a clean(since I can no longer install forge on MCP) MCP workspace, then copy my edited base class into "/bin" and reobfuscate it there, although it did give me a class file, but it didn't work just like how I expected..
  11. I want to fire some of my own events in NetServerHandler
  12. Hi there, I need a tutorial on: how to modifiy base class without go in minecraft.jar I thought that's what coremods folder are there for, but im not sure. I have been searching for a long time, but there haven't been any tutorial on how to make a coremod, and what it does. All i need is to be able to change how a few method works in netserverhandler.class. and it would make it way more compatible if i can only edit that method only.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.