Sign in to follow this  
Tom Prest

Fix for dispensers crashing server when redstone signal is applied. [3.1.2]

Recommended Posts

Hey guys,

If you weren't already aware, an issue exists with Tekkit where dispensers will crash the server once a redstone signal is applied to them. This has nothing to do with redstone or dispensers themselves, but rather Balkon's Weapon Mod. This is what you'll see, or something to this effect:

at mod_WeaponMod.dispenseEntity(mod_WeaponMod.java:622)

at BaseMod.dispense(BaseMod.java:85)

at cpw.mods.fml.client.FMLClientHandler.tryDispensingEntity(FMLClientHandler.java:411)

at alj.c(BlockDispenser.java:172)

at alj.a(BlockDispenser.java:266)

I haven't done enough homework to know the story behind the dispenseEntity part of the mod_WeaponMod.class file, but it's pretty obvious that this is designed to alter the way dispensers work in order to allow vanilla dispensers to fire bolts and arrows etc., rather than just dumping them on the ground like a regular item.This is the issue that causes the crash - I don't know Java well enough to understand how and why this occurs, but I am capable of removing the code that causes it.

Of course, this means that dispensers will NOT shoot crossbow bolts and other Balkon's projectiles in the same manner as arrows. This is the best compromise, however, as allowing it results in server crashes and the only other feasible solutions are removing the mod or banning dispensers.

Disclaimer: Firstly, I apologise if a similar fix exists. I have scoured the internet and cannot find one. Secondly, use this edited mod at your own risk. I run it on my personal server and everything seems fine. Of course, feel free to run this on a test server to confirm that this is legitimate and safe. As always, BACK UP YOUR WORLD before using this .jar.

Message me for "BalkonsWeaponMod1.2.5.jar" either here or at [email protected] and I'll gladly send it! - Drop this into your mods folder and overwrite the original.

Happy Tekkiting! :)

~ Prez

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this