Contigo icon indicating copy to clipboard operation
Contigo copied to clipboard

Make Contigo load up correctly

Open djoveryde opened this issue 7 years ago • 42 comments

Next challenge is making the loader load up successfully. Right now it throws the following:

Exception in thread "main" java.lang.NoClassDefFoundError: joptsimple/OptionSpec at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:25) at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12) Caused by: java.lang.ClassNotFoundException: joptsimple.OptionSpec 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) ... 4 more

djoveryde avatar Aug 28 '17 21:08 djoveryde

@SantaGitHub knows the solution to this as its caused from the update to Jopt

CDAGaming avatar Aug 28 '17 21:08 CDAGaming

Hm, i seem to be getting another error

CDAGaming avatar Aug 28 '17 21:08 CDAGaming

2017-08-28 4

CDAGaming avatar Aug 28 '17 21:08 CDAGaming

Did you initially install the Forge server installer?

djoveryde avatar Aug 28 '17 21:08 djoveryde

facepalm Thought it would auto do that

CDAGaming avatar Aug 28 '17 21:08 CDAGaming

Ladies and Gentelmen, the biggest forge noob 👍

CDAGaming avatar Aug 28 '17 21:08 CDAGaming

lol, sadly not, not sure if thats to do with EULA on the minecrafts server jar or something.

djoveryde avatar Aug 28 '17 21:08 djoveryde

@djoveryde Also, are you going to add Travis back (I would but i do not have the perms to do so :P )

CDAGaming avatar Aug 28 '17 21:08 CDAGaming

Never dealt with travis, how do i do this?

djoveryde avatar Aug 28 '17 21:08 djoveryde

@djoveryde Well it should be as easy as going onto Travis and adding this repo to it Once you do that, then just have it trigger a custom build for an initial build

CDAGaming avatar Aug 28 '17 21:08 CDAGaming

For JOpt issue, it should be fixed in the update (Which Santa might have to properly configure)

CDAGaming avatar Aug 28 '17 21:08 CDAGaming

Yup, I've added everything to the folders so should work although even with special source and joptsimple being set to the correct set it's still not loading. Pondering if I need to add those to the ftp as well or wether we just add a library zip with those jars in it for people to grab along with a compiled version.

djoveryde avatar Aug 28 '17 23:08 djoveryde

Well, it mostly is (Because its building now)

Perhaps its something in that dependency screwing up, which @SantaGitHub did say it was successfully running, but with some changes...

CDAGaming avatar Aug 29 '17 00:08 CDAGaming

Прошу прощения за русский язык. Скачайте libraries.zip с 58 версии(Thermos).

1. Затем скачайте с интернета SpecialSource-1.7.4 и Jopt-simple 5.0.1 . 2. Распакуйте libraries рядом с вашим Jar файлом. 3. В папке libraries замените SpecialSource и Jopt-simple на новые версии, а старые удалите. 4. Запускайте сервер.

Download libraries.zip from version 58 (Thermos).

  1. Then download from the Internet SpecialSource-1.7.4 and Jopt-simple 5.0.1.
  2. Unpack the libraries next to your Jar file.
  3. In the libraries folder, replace SpecialSource and Jopt-simple with new versions, and delete the old ones.
  4. Start the server.

SantaGitHub avatar Aug 29 '17 03:08 SantaGitHub

@djoveryde Please add this files to repo - pw.prok:Damask:0.1.2.

Could not resolve all dependencies for configuration ':bootstrap'.
> Could not resolve pw.prok:Damask:0.1.2.
  Required by:
      cyberdynecc:Thermos:1.7.10-1614.UNOFFICIAL > pw.prok:KBootstrap:0.2.0
   > Could not resolve pw.prok:Damask:0.1.2.
      > Could not get resource 'https://djoveryde.000webhostapp.com/kcauldron/files/pw/prok/Damask/0.1.2/Damask-0.1.2.pom'.
         > Could not GET 'https://djoveryde.000webhostapp.com/kcauldron/files/pw/prok/Damask/0.1.2/Damask-0.1.2.pom'.
            > The target server failed to respond

SantaGitHub avatar Aug 29 '17 03:08 SantaGitHub

Done, how I missed that guy I have no idea. Let me know if there's any more

djoveryde avatar Aug 29 '17 08:08 djoveryde

To build a server + libraries, you must enter ./gradlew packageBundle.

SantaGitHub avatar Aug 29 '17 08:08 SantaGitHub

While packaging the bundle for some unknown reason it switches to the local drive to find the launchwrapper jar file.. Had to manually add that in

Server directory: D:\Users\djove\Desktop\New folder\Contigo\build\bundle Downloading net.minecraft:launchwrapper:1.12... java.io.FileNotFoundException: D:\Users\djove\Desktop\New folder\Contigo\build\bundle\bin\net\minecraft\launchwrapper\1.12\launchwrapper-1.12.jar (The system cannot find the file specified)

and another

java.io.FileNotFoundException: D:\Users\djove\Desktop\New folder\Contigo\build\bundle\bin\lzma\lzma\0.0.1\lzma-0.0.1.jar (The system cannot find the file specified)

They are on the repo so no idea why its not looking at it to grab the files

djoveryde avatar Aug 29 '17 10:08 djoveryde

I've made a release for this version along with downloadable library zip

djoveryde avatar Aug 29 '17 10:08 djoveryde

I've added it to travis now, build is failing however with:

symbol: variable set location: class OreDictionary /home/travis/build/djoveryde/Contigo/eclipse/cauldron/src/main/java/net/minecraftforge/oredict/OreDictionary.java:327: error: cannot find symbol Integer[] tmp = set.toArray(new Integer[set.size()]); "set" being the issue apparently

and

symbol: variable set location: class OreDictionary /home/travis/build/djoveryde/Contigo/eclipse/cauldron/src/main/java/net/minecraftforge/oredict/OreDictionary.java:325: error: cannot find symbol if (ids != null) set.addAll(ids);

Once again "set" being the issue

djoveryde avatar Aug 29 '17 11:08 djoveryde

Yea, had that come up in my travis as well Then again you need to set your repo, which ill commit now @djoveryde

CDAGaming avatar Aug 29 '17 11:08 CDAGaming

Ok cheers, at least were getting there one bug at a time 👍

djoveryde avatar Aug 29 '17 11:08 djoveryde

Потому что в KBootstrap прописан репо от Prok.

SantaGitHub avatar Aug 29 '17 11:08 SantaGitHub

It will however still error with the abstractmethod, bc it is using Gradle 3.2.1 The version needs to be set to 2.8 to build with success with travis

CDAGaming avatar Aug 29 '17 11:08 CDAGaming

bangs head against the table why did I forget to change the travis repo... stupid me lol

djoveryde avatar Aug 29 '17 11:08 djoveryde

@SantaGitHub presuming thats the section in the kbootstrap.pom file that references "https://prok.pw/gitlab/Prototik/KBootstrap.git"? Presuming that means we somehow need to find an old copy of their kbootstrap git repo?

djoveryde avatar Aug 29 '17 11:08 djoveryde

Tried finding any trace of the kbootstrap git but seems no one backed it up :-/

djoveryde avatar Aug 29 '17 11:08 djoveryde

@CDAGaming Do you reckon we would be able to safely remove kbootstrap from the dependencies?

djoveryde avatar Aug 29 '17 11:08 djoveryde

Not sure, working on #8 at this time, extending from previous attempt at it by AscII

CDAGaming avatar Aug 29 '17 11:08 CDAGaming

I'll add a new repo for 1.11.2 contigo, at least that way we have a baseline 1.7.10 and then an updated choice to work on

djoveryde avatar Aug 29 '17 11:08 djoveryde