Solved SimpleSkins Fix Help

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

Thread Status:
Not open for further replies.
  1. Offline

    DreTaX

    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.
     
  2. Offline

    DreTaX

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

    <Edit by Moderator: Redacted mediafire url>
     

    Attached Files:

    Last edited by a moderator: Nov 8, 2016
  3. 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.
     
  4. Offline

    MP5K

    hello DreTaX,
    "this$0" should equal "this.o" or "o"
     
  5. Offline

    DreTaX

    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
  6. Offline

    fireblast709

    DreTaX use Set<Integer> and HashSet<Integer>
     
  7. Offline

    DreTaX

    Could you paste it with the example of the code?^^ fireblast709
     
  8. Offline

    fireblast709

    Code:
    Set<Integer> ids = new HashSet<Integer>(this.this$1._citizenCapes.keySet());
     
  9. Offline

    DreTaX

    Woah, looks like it work. Thanks bro, i owe you one ^^ <3
     
Thread Status:
Not open for further replies.

Share This Page