Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MCCoding

Members
  • Joined

  • Last visited

  1. I have already done all the Bukkit side if things but it's not receiving the message, so it would have to be something I've done wrong on the client side. But what I the Vinilla packet code?
  2. I'll give the Forge mod a go if that works out sweet if not I always have the server side anti-hack in place. I have created a IMessage Handler based off this tutorial http://www.minecraftforge.net/forum/index.php/topic,28953.0.html and I'm now trying to send the server a message from the client but it seems that the server is not recieving anything. I know the server side stuff works since it was before, Here is the FMLInitializationEvent code that should be registering the channel @EventHandler public void init(FMLInitializationEvent event) { network = NetworkRegistry.INSTANCE.newSimpleChannel("MBAH"); network.registerMessage(Messenger.Handler.class, Messenger.class, 0, Side.SERVER); FMLCommonHandler.instance().bus().register(new ConnectionHandler()); } This should send a message to the server when a client joins a server, I tried different variations of the message encase the plugin wasn't picking it up and still nothing, so I'm assuming I'm sending it wrong or something. @SubscribeEvent public void onConenctionEvent(ClientConnectedToServerEvent event) { FairFight.network.sendToServer(new Messenger("Send")); FairFight.network.sendToServer(new Messenger("MBAH Send MD5")); }
  3. Okay I do see where you're all coming from, I'll trial the server side anti-cheat to ensure that I'm not getting any false positives, but what do you mean by use server plugins that check incoming packet data with big anti-cheat net?
  4. Then what would you recommend me to do? That wouldn't be extremely simple to bypass
  5. I understand that it can be spoofed easily, but 95% of people who would be playing on the server would have no idea on how to do it. I do potential cheat detection on the server side all the client would be is just another security measure that would be put into place to reduce the amount of people that would be hacking making their job a lot harder.
  6. The reason I don't want to use Forge is that people who would be trying to bypass the Anti-Hack would have a really easy job since all they would need to do is go through my Forge mod and change around some code to bypass the client, where changing the base files would require then to go though hundreds of files and find what has been changed from the original vanilla client that's why I just want to know how to stop the launcher from overriding my modified bas classes.
  7. All I need to do it get the client to send a plugin message to my plugin of the clients MD5 so I can check if it is not running any hacks, all of that is done the only problem is that when I add the modified files they get deleted by the launcher when I start the game.
  8. Ah okay, I'm looking into it all now since i have not added any extra classes I have only modified NetHandlerPlayClient class would I have to do anything different since the client is going to try and run that class regardless? or do I allow it to run then override the class with the modified version of it? I have found the constructor of the ITweaker, where would I call for this class to override the class? also is there any documentation on how the constructor works and what each argument does? @Override public void acceptOptions(List<String> args, File gameDir, File assetsDir, String profile) { }
  9. Would I need FML to pull this off? Since what I have done does not require FML.
  10. I'm not new to coding or Java it's that I've never really stepped outside of the server side of thing the majority of things I code are Bukkit plugins, as for coding a class transformer that allows me to modify the class itself right before it's loaded I don't even know where to start. Do I add it inside of the minecraft.jar? the launcher? What is the ASM library, what is it used for?
  11. oh okay, as I said in the OP I'm new to all this client stuff so bit of a noob when it comes to this. What classes would I need to modify to prevent the launcher from overriding my modified classes? Also what would I need to do with ITweaker?
  12. So I would have to modify the launcher as well?
  13. Would you be able to explain how to do this? I have never done it before.
  14. I have managed to code it all without using on the Forge API but every time I get my modified 1.8 client from MCP an put it into my main version directory (without launching the client with the startclient batch file) and I press play it overrides the modified files with new ones which stop the mod from running, any idea how I can stop this or what is causing it to occur?
  15. Well is what I have done correct so far? As the OP post stated I'm new with all this client side modding, I don't think the packet is getting sent, Maybe you might know? But if it's now how would I send it correctly?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.