Solved SimpleSkins Fix Help

Discussion in 'Plugin Development' started by DreTaX, Dec 28, 2012.

Thread Status:
Not open for further replies.
  1. Hello everyone.

    I'm trying to fix SimpleSkins. I cleared most of the errors everywhere, but i kinda stuck.

    I'm having a problem that "this$0" cannot be resolved as a field.
    Here is the code of the class:

    http://pastebin.com/zvrPFMia

    Any help would be appreciated.

    Thanks.

    I uploaded the java file, so everyone can see it clearly.

    <Edit by Moderator: Redacted mediafire url>

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 18, 2020
  2. Offline

    GodzOfMadness

    i suggest using a better decompiler if your going to fix a plugin
    EDIT:
    Java Decompiler
    ^^^^^ this is a good decompiler
    now make sure you have permission to edit this plugin though :)
    unless they abandoned it and your for sure they did
    I'm getting off for tonight so if you respond to this you would have to wait in the morning for a answer from me bye.
     
  3. Offline

    MP5K

    hello DreTaX,
    "this$0" should equal "this.o" or "o"
     
  4. Jeeeez i use that decompiler.... xD It's abandoned

    What do you mean?

    Problem fixed. My friend helped :)

    Having a problem with the last part of it:

    That id's crashed plugin on startup:

    http://store.dretaxmc.eu/data/file/uploads/dretaxscreen/2012-12-28_1729.png

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  5. Offline

    fireblast709

    DreTaX use Set<Integer> and HashSet<Integer>
     
  6. Could you paste it with the example of the code?^^ fireblast709
     
  7. Offline

    fireblast709

    Code:
    Set<Integer> ids = new HashSet<Integer>(this.this$1._citizenCapes.keySet());
     
  8. Woah, looks like it work. Thanks bro, i owe you one ^^ <3
     
Thread Status:
Not open for further replies.

Share This Page