Code Monkey home page Code Monkey logo

Comments (7)

md-5 avatar md-5 commented on July 17, 2024

Follow the examples and you wont have this issue:
https://www.spigotmc.org/threads/spigot-bungeecord-1-17-1-17-1.510208/#post-4184317

from specialsource.

AngryCarrot789 avatar AngryCarrot789 commented on July 17, 2024

im not sure those will help tbh, thats for minecraft 1.17 but im using 1.6.4 :(
ive also tried using some of the command parameters from one of the replies, but they dont seem to help either

from specialsource.

md-5 avatar md-5 commented on July 17, 2024

Same thing, you need an MC jar in your classpath or as a remapped depend if using the maven plugin

from specialsource.

AngryCarrot789 avatar AngryCarrot789 commented on July 17, 2024

i still cant get it to work :(

my full command is: java -classpath minecraft_server-mcpremap.jar -jar specialsource.jar --live --in-jar ModFileMCP.jar --out-jar ModFileObfus.jar --srg-in obf2srg.srg --reverse. all of these files are in the same directory too

it remapps the class names (converts EntityPlayer to uf, but the methods that were inherited aren't). on that forum they used the --live parameter, but it still doesn't work. i even tried changing the classpath from the minecraft_server-mcpremap (containing MCP class names/methods/fields) to the obfuscated version (obfuscated everything, no packages), but none of that works

and ive also tried supplying --srg-in with a folder which contains files like fields.csv, joined.srg, packaged.srg, etc. that didn't work either

from specialsource.

md-5 avatar md-5 commented on July 17, 2024

You can't mix -classpath and -jar. Read the forum post example closely.

from specialsource.

AngryCarrot789 avatar AngryCarrot789 commented on July 17, 2024

ah i see. i managed to get it to remap the function :) using java -cp specialsource.jar;minecraft_server-mcpremap.jar net.md_5.specialsource.SpecialSource --live -i ModFileMCP.jar -o ModFileObfus.jar -m obf2srg.srg --reverse

thanks for helping too :)))

from specialsource.

solarrabbit99 avatar solarrabbit99 commented on July 17, 2024

It seems that the issue raised applies when using SpecialSource jar in BuildTools.jar directory ./BuildData/bin/SpecialSource.jar, even with the manual commands presented in https://www.spigotmc.org/threads/spigot-bungeecord-1-17-1-17-1.510208/#post-4184317

from specialsource.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.