Jump to content

[Tekkit 3.0.3] Re-adding Balkon's Weapon Mod


Recommended Posts

Simple answer: Just don't install it. There is a reason why it isn't in Tekkit. It causes problems and could fuck up your worlds really bad.

Advanced answer: Don't install it! If you still want to have it, (dumb decision) I believe you can just drop it in the mods folder and it will work.

Link to comment
Share on other sites

Well, I added the mod to the "mod" folder and also added the config file for the weapons mod. After doing that the server seemed to boot up fine.

The issue seems to be people connecting client side. I'm not entirely sure, I'm rather new to hosting a Tekkit server. When trying to connect to the server I get an "End of Stream" error, and this is what shows up on the server.

01:01:53 [sEVERE] java.io.IOException: Received string length longer than maximu

m allowed (107 > 16)

01:01:53 [sEVERE]      at net.minecraft.server.Packet.a(Packet.java:120)

01:01:53 [sEVERE]      at net.minecraft.server.Packet1Login.a(Packet1Login.java

:38)

01:01:53 [sEVERE]      at net.minecraft.server.Packet.a(Packet.java:79)

01:01:53 [sEVERE]      at net.minecraft.server.NetworkManager.h(NetworkManager.

java:152)

01:01:53 [sEVERE]      at net.minecraft.server.NetworkManager.c(NetworkManager.

java:270)

01:01:53 [sEVERE]      at net.minecraft.server.NetworkReaderThread.run(SourceFi

le:76)

The reason I didn't add the error initially is because I wasn't looking for a fix to what I did, I assumed I had previously done it wrong. I was more so looking for an explanation on the proper way to do it.

Link to comment
Share on other sites

Okay, I downloaded a brand new Tekkit 3.0.3 server file. I ran it, it worked fine.

I added the "[3]Weaponmod_bukkit" .rar file and the "weaponmod" folder from the mod folder of Tekkit 2.1.1 to the mod folder of the new Tekkit 3.

This time I got this error:


C:\Users\Smith\Desktop\Minecraft Stuff\3.0.3>java -Xmx3G -Xms2G -jar Tekkit.jar

nogui

182 recipes

27 achievements

01:40:28 [iNFO] Starting minecraft server version 1.2.5

01:40:28 [iNFO] Forge Mod Loader version @MAJOR@.@MINOR@.@REV@.@BUILD@ for Minec

raft @MCVERSION@ loading

01:40:29 [iNFO] Loading mods from C:\Users\Smith\Desktop\Minecraft Stuff\3.0.3\m

ods

01:40:29 [sEVERE] java.lang.NoClassDefFoundError: net/minecraft/server/BaseModMp

 

01:40:29 [sEVERE]      at java.lang.ClassLoader.defineClass1(Native Method)

01:40:29 [sEVERE]      at java.lang.ClassLoader.defineClass(Unknown Source)

01:40:29 [sEVERE]      at java.security.SecureClassLoader.defineClass(Unknown S

ource)

01:40:29 [sEVERE]      at java.net.URLClassLoader.defineClass(Unknown Source)

01:40:29 [sEVERE]      at java.net.URLClassLoader.access$100(Unknown Source)

01:40:29 [sEVERE]      at java.net.URLClassLoader$1.run(Unknown Source)

01:40:29 [sEVERE]      at java.net.URLClassLoader$1.run(Unknown Source)

01:40:29 [sEVERE]      at java.security.AccessController.doPrivileged(Native Me

thod)

01:40:29 [sEVERE]      at java.net.URLClassLoader.findClass(Unknown Source)

01:40:29 [sEVERE]      at java.lang.ClassLoader.loadClass(Unknown Source)

01:40:29 [sEVERE]      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown So

urce)

01:40:29 [sEVERE]      at java.lang.ClassLoader.loadClass(Unknown Source)

01:40:29 [sEVERE]      at java.lang.ClassLoader.loadClass(Unknown Source)

01:40:29 [sEVERE]      at java.lang.Class.forName0(Native Method)

01:40:29 [sEVERE]      at java.lang.Class.forName(Unknown Source)

01:40:29 [sEVERE]      at cpw.mods.fml.common.Loader.loadModClass(Loader.java:4

40)

01:40:29 [sEVERE]      at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.jav

a:497)

01:40:29 [sEVERE]      at cpw.mods.fml.common.Loader.load(Loader.java:375)

01:40:29 [sEVERE]      at cpw.mods.fml.common.Loader.loadMods(Loader.java:527)

01:40:29 [sEVERE]      at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBuk

kitHandler.java:113)

01:40:29 [sEVERE]      at net.minecraft.server.MinecraftServer.init(MinecraftSe

rver.java:118)

01:40:29 [sEVERE]      at net.minecraft.server.MinecraftServer.run(MinecraftSer

ver.java:426)

01:40:29 [sEVERE]      at net.minecraft.server.ThreadServerApplication.run(Sour

ceFile:492)

01:40:29 [sEVERE] Caused by: java.lang.ClassNotFoundException: net.minecraft.ser

ver.BaseModMp

01:40:29 [sEVERE]      at java.net.URLClassLoader$1.run(Unknown Source)

01:40:29 [sEVERE]      at java.net.URLClassLoader$1.run(Unknown Source)

01:40:29 [sEVERE]      at java.security.AccessController.doPrivileged(Native Me

thod)

01:40:29 [sEVERE]      at java.net.URLClassLoader.findClass(Unknown Source)

01:40:29 [sEVERE]      at java.lang.ClassLoader.loadClass(Unknown Source)

01:40:29 [sEVERE]      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown So

urce)

01:40:29 [sEVERE]      at java.lang.ClassLoader.loadClass(Unknown Source)

01:40:29 [sEVERE]      ... 23 more

01:40:29 [sEVERE] Unexpected exception

java.lang.NoClassDefFoundError: net/minecraft/server/BaseModMp

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(Unknown Source)

        at java.security.SecureClassLoader.defineClass(Unknown Source)

        at java.net.URLClassLoader.defineClass(Unknown Source)

        at java.net.URLClassLoader.access$100(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at cpw.mods.fml.common.Loader.loadModClass(Loader.java:440)

        at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:497)

        at cpw.mods.fml.common.Loader.load(Loader.java:375)

        at cpw.mods.fml.common.Loader.loadMods(Loader.java:527)

        at cpw.mods.fml.server.FMLBukkitHandler.onPreLoad(FMLBukkitHandler.java:

113)

        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:118)

        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)

        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Caused by: java.lang.ClassNotFoundException: net.minecraft.server.BaseModMp

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        ... 23 more

>

Link to comment
Share on other sites

Ah, I see it requires ModloaderMP. Well, that isn't included in Tekkit anymore. It won't work with it either, so don't try it. It WILL crash. In other words, it is clear that it isn't possible to use this mod with Tekkit anymore. I didn't know the real reason behind it myself, just that it doesn't work. Now I know why.

Link to comment
Share on other sites

One thing i noticed.

You did say u used the weapons mod from 2.1.1, which is for minecraft 1.1.

We are now on minecraft 1.2.5 (or something) and that mod wont work anyways, however...

This is a 1.2.5 bukkit version of the mod:

https://github.com/downloads/Gamephantom/Balkon-s-Weapon-Mod-Bukkit-Version/BalkonsWeaponMod1.2.5.jar

And u can download the 1.2.5 client from this page:

http://www.minecraftforum.net/topic/211517-125-balkons-weaponmod-v86/

(i would link it properly, but adfly links are not allowed here)

Maybe this will work?

Good luck!

Link to comment
Share on other sites

Oh, thank you.

I added the new .jar to the mod folder as it said and the server now loads correctly (from what I see, I scanned through the command prompt and saw no errors). Then I added the client files into the mods folder for the client (in the Tekkit folder of the .technicpack), but when I try to connect to the server I get

"Received string length is less than zero! Weird string length!" in my client. Though I do connect, and the server says I connected fine but then lost connection due to an end of stream. For a brief milisecond I do hear the noises of MC on the client.. so this seems to be the only issue as of now.

Any help?

Link to comment
Share on other sites

Although there may be one or two people on here who may be able to help you, most have told you that it was removed for primarily this reason. It's buggy and will cause issues so if you get it to work without problems, post it up. Otherwise, don't expect anyone to hold your hand through it.

Link to comment
Share on other sites

Well, I suppose this topic was more so directed at the one or two people who may be able to help me, then. With that being said, I appreciate the assistance that I've received up to the point I'm currently at. I will continue to try to find a way to make it work.

I understand that it has issues and that is the reason that it wasn't included in Tekkit 3. However, I'm still curious to find a way to get it working. If anyone has any helpful information on the matter it'd still be appreciated. I'm not looking to 'have my hand held', just advice since I'm not exactly a professional. However big or small.

Link to comment
Share on other sites

Just being blunt mate, not trying to bust on you as much as you may think. I hope you find the help and we can get it working because I enjoy that mod myself. However, I'm just not willing to put in the time and effort because I don't enjoy it 'that much'.

Link to comment
Share on other sites

Just being blunt mate, not trying to bust on you as much as you may think. I hope you find the help and we can get it working because I enjoy that mod myself. However, I'm just not willing to put in the time and effort because I don't enjoy it 'that much'.

It's fine, I understand. I can understand you not being all that concerned with it. If by some chance I do find a solution I will let you know.

Well look at that! You found the reason it wasn't included in Tekkit 3. Good on you.

I assumed the Tekkit Forum would be a bit more open to people who are generally unfamiliar with things or seeking advice. Hostility and sarcasm aren't exactly necessary, especially from the staff. There's a reason why I started the topic; because I'm curious and unsure on the matter. I will attempt to deal with this myself, be it successful or not.

Thank you Iscamania and AlienX for assisting me up to the point I'm currently at. This topic can be closed, I'm done.

Link to comment
Share on other sites

  • Forum Administrators

Hostility and sarcasm? I was not being sarcastic or hostile. You actually ran into one of the same issues we did with the mod.

Link to comment
Share on other sites

I believe I may have potentially found a way to get it to work.

I am running my 3.0.3 server with v8.6 of Balkon's Weapon Mod, and it has loaded fine.

I am also running my 1.2.5 client with Balkon's as well, I have connected to the server without receiving the previous error. I can also see all of the weapons inside of NEI.

I will explain what I did, if anyone wants to they can scan it for potential errors I am not noticing.

  1. Downloaded the Bukkit version Balkon's Weapon Mod v8.6 & the client files.
  2. Placed the 'BalkonsWeaponMod1.2.5.jar" inside the "mod" folder for the server.
  3. Ran the server, it loaded Balkon's properly. There was now a 'weaponmod' folder containing it's properties file inside the server's 'mods' folder.
  4. Placed the 'WeaponMod.rar' and 'weaponmod' folder clients that I downloaded inside '.techniclauncher\tekkit\mods


    [This was where I was before, trying to log in at this point caused the 'Weird String!' error]


  5. I copied the properties file from the client version of Balkon's and replaced the server's properties file with it, so that they were the exact same.


  6. Things seem to work.

Now, that's as far as I am. I can equip the weapons, use them and craft them without any sort of problem. As far as my untrained eyes go, it looks like it works.

**EDIT: People are also able to connect to my server without issues.

Link to comment
Share on other sites

  • 3 weeks later...

Ok so, I followed up on what you said on changing the properties file. So I surfed the interwebz for a bit and looked at GamePhantoms instructions for installing the mod and he said use the servers properties files in the clients. That didn't work. But I had a feeling it was something with the property file that was causing the string less than 0 error. Turns out the property file is full of zeros for the ID's. So here is how you get it to work.

1. Go to balkons page on minecraft forums. He will have a link saying "Preset Properties File".

2. Click it and download.

3. Take whichever one you want. (I used all)

4.Use that properties file for both server and client.

5. Have fun ^_^!

~Running most up-to-date versions of all!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...