Menu

Tried to modify value in source code and I got stuck

2016-02-15
2019-10-14
  • muhammad alfateh

    Sorry for necro post. I want to change maximum item can be carried. Found the line at ItemNode.java. If i am not mistaken it should be constant final item_max = 12. I change it to 100 and I got stuck here. I dont know how to make the jar file. I have bluej . Can someone point to me step by step how to change the max value that can be carried. or you can dou it for me?

     
  • muhammad alfateh

    EDIT:
    HAHA, I did it! How in the hell i forgot that I must package all source file. Oh btw, if anyone want to compile the source code, you must have resource class ( You can get it from flaps.jar (extract it) ) and place it inside flaps folder (the source file).

     
  • Jelle Kouwenhoven

    Sorry for reviving this... I'm trying to do the same but cannot find the line that needs to be edited? item_max=12 is not in the ItemNode.java or any other file i opened :(

     
  • Jonathan Mann

    Jonathan Mann - 2019-10-12

    It's in ItemList; MAX_ITEM_COUNT = 12

     
    • Jelle Kouwenhoven

      Thanks!

       

Log in to post a comment.