Jump to content

xxxgamer

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by xxxgamer

  1. Updated main topic to now to include a fix for the mysql connector not working.
  2. Hi guys thanks for the replys, The download and full installation instructions can be found here: Minecraft Forge Mysql Logblock
  3. Hey guys, Just a short introduction for a mod package that I have working on our main server at the moment and getting ready for release, I am developing this package with the only purpose of trying to maintain a lag free server and seeing what is going on (what players are doing). Forge LogBlock with Mysql Credit also goes to KeepCalm for his blockBreak API The Forge LogBlock will enable you to see who built what on your server. Each time a player places or breaks a block an entry will be made into your database from which you can then check who placed or destroyed the blocks around you Download Minecraft Forge Mysql Logblock for Forge 1.4.6 & Installation Instructions Usage: /logblock placed <radius> /logblock destroyed <radius> We will be looking into developing a rollback function like we are used to in bukkit but for now we will be looking into accurately saving and retrieving the data before we start messing around with rolling back the world This is a screenshot of it what the output currently looks like: http://maxedgaming.com/forum/download/file.php?id=2512[/img] Forge WorldDrops Remove This mod was essential to us in keeping a lag free server while running industrialization mods, You have probably ran into the issue of overflowing quarries a number of times. This mod enables you to display how many drops are currently lagging up your server, You may be surprised by the number the first time you use this. This mod will show you how many drops are currently in the world but also the coordinates of each drop which allows you to go investigate who is causing havok and lagging up your server. You can also choose to remove all drops from the world in one go. Usage: /worldDrops /worldDrops show /worldDrops remove We ware planning on sorting the locations where the most drops are in future to make it easier to see where a high number of drops are lying around your world. This is only for the main world. Forge Vanish The classic invisibility mod in forge. Stalk players on your server to see what they are up to, Helps quite alot when someone new joins the server who wants to just cause trouble. Usage: /vanish on /vanish off Please take note: You will only be invisible, Right now you can still be heard/hit by a player so be careful when stalking as they could end up hearing you. This only works in the main world. Download Minecraft Forge Mysql Logblock for forge 1.4.6& Installation Instructions Reason I am linking off to that 1 topic is because I have 3-4 different topics on various minecraft forums and its alot easier just updating 1 topic with the latest info! Looking forward to your feedback.
  4. Hey guys, Anyone out there that knows how to add the mysql jdbc connector to their mod? I have tried just adding the jar file into coremods but obviously it wont run due to an incorrect manifest, Anyone know how to load up the jdbc connector so the server has access to it?
  5. Hey guys, Quick question, What is the best way to get the server ticks/times without running a function which is continuously looping just to get the server tick? For example if I want to trigger an event every 5 minutes from server time, Is it possible to get an event to trigger that without just having a function in a loop checking the tick constantly?
  6. Hey guys, Just wondering are players assigned individual ID's once they join the server so you can get them by that id instead of their username? This would have to be constant not something that gets assigned new each time they log in.
  7. That looks like you have 2 classes that have the same @mod name in then, They need to be unique.
  8. So now that ive changed the code to look like this: @ForgeSubscribe public void onBlockBreak(PlayerBreakBlockEvent ev) { System.out.println("Break!:" ); } @Init public void init(FMLInitializationEvent ev) { MinecraftForge.EVENT_BUS.register(this); } Then I can see that the server does indeed go there but when I break a block I get no output from it, am I still missing something?
  9. Did you initialize it? MinecraftForge.EVENT_BUS.register(new ForgeEventHandler()) Again this is what he says to do on github, but for me again there is no ForgeEventHandler?? Edit: Sorry I think I just realised im supposed to create that ForgeEventHandler class?? As you said you registered your own class on the even bus
  10. keepcalm has a small api for this: https://github.com/keepcalm/BlockBreak Now I have been trying it myself but I can not get it working due to the methods not existing that are shown in the readme, Give that a try and let me know how you get on because I need to use it myself aswell. Now as for adding blocks etc..I dont know Anyone else that can help would be great.
  11. Thanks keepcalm thats going in the right direction, I have one problem tho: EntityTrackerEntry ete = (EntityTrackerEntry) et.trackedEntityIDs.lookup(player.entityId); the "trackedEntityIds" is a private variable on entitytrackerentry so I have no access to it and I dont want to edit any src files, Any idea of how else I could get a handle on it?
  12. Thanks dude, Have this so far if anyone else interested aswell: EntityPlayerMP playerMP = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(var1.getCommandSenderName()); WorldServer[] worldservers = MinecraftServer.getServer().worldServers; worldservers[1].getEntityTracker().removeEntityFromAllTrackingPlayers(playerMP); Just testing with worldserver1 for now, Is there anyway to actively debug while the server/client is running? The code above removes the player allright but it also makes everyone else invisible to that player. Looking into updating with onTick now (I think thats why everyone else disapears).
  13. Hey guys, Short question, Looking for a hook for the server side so I can set a player to invisible somehow? Have searched the forums and been looking through the player classes but Im missing something. Im trying to set a player to invisible from the server side so he disappears on all clients? Should be possible to do without editing client files?
  14. So after a bit of research I was being a bit over enthusiastic, I am running a feed the beast server which is on version 1.4.2 and im pretty sure I downloaded 1.4.5 of the forge/mcp packages, (which would explain why im getting these errors). Have tried with a new 1.4.2mcp and 1.4.2 forge and decompiling etc.. but the eclipse project seems to be very messed up that comes with older versions? Anyone any suggestions as to go about getting older versions running and compiling?
  15. Hey guys, I have everything working when I launch the client/server through eclipse but when I want to move the mod over to my live server it crashes, Have posted a new topic for new problem: http://www.minecraftforge.net/forum/index.php/topic,4024.0.html Would appreciate it if ye could help me out to get me up and running on a live server Thanks guys.
  16. Hey guys, I went through the steps of recompiling and obfuscating and then grabbed my folder (package) and zipped it up. When I drop that folder into the mod folder on the live server it then crashes with the following error: [sEVERE] Encountered an unexpected exception VerifyError java.lang.VerifyError: (class: maxedgaming/worldDropsCheck/worldDropsCheck, method: test signature: ()V) Incompatible argument to function at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:410) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83) at cpw.mods.fml.common.Loader.loadMods(Loader.java:478) at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:80) at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:342) at hg.c(DedicatedServer.java:49) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:454) at fp.run(SourceFile:818) It says the method test signature has incopatible arguments? That method must have been added on compile or something as I have not added any method with that name? Any help appreciated.
  17. Thank you sir! All working! Appreciate the help mate. Thanks for getting me off to a good start with forge.
  18. Yep have that in there, I could actually launch the client and use the ingame server commands and all off a sudden it started crashing. Full Error is: And the lines specific to that are: Where ICommandManager commandManager = server.getCommandManager(); is line 42. Edit: Just to make it clearer, I only want to have these files on the server, I'm sure the client doesn't need any of these as I am just working with server instance and processing commands which shouldn't be files required on a client level correct?
  19. Thanks Jammas, Making progress, Have registered the events and I can see them doing exactly what I want on the server, but now my client crashes due to this line: ServerCommandManager serverCommandManager = ((ServerCommandManager)commandManager); How do I specify that I ONLY want these files loaded on the server? The client does not needs these files as it is only command server side. Thanks again mate.
  20. Thank you very much both of you! One last question and I am aware this is probably covered in a few areas somewhere, Once I have my extra command for the server I can just compile it and then drop "only" that package onto the server? So I dont need to upload a full new server.jar correct? (I dont want an answer explaining how to, I can look that up, just if that is the way its done, So similar to bukkit where you just drop your extra files onto the server?) Thanks again guys!
  21. Hi guys, Just downloaded and got everything set up and wondering could someone please give me some pointers to how to create new custom server side commands that I can type into the chat. I am currently looking at the Commandkill.java class along with all the other CommandServer classes but still a bit confussed. How would I get a hook into displaying how many drops are currently in the world? Appreciate any help!
×
×
  • Create New...

Important Information

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