Thread: 1 little error ! easy for u master to fix :D pelas help got a pic

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 1 little error ! easy for u master to fix :D pelas help got a pic 
    Registered Member
    Join Date
    Jan 2009
    Posts
    54
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Reply With Quote  
     

  2. #2  
    Registered Member
    Santaher0's Avatar
    Join Date
    Sep 2008
    Posts
    2,033
    Thanks given
    324
    Thanks received
    49
    Rep Power
    1282
    do somthing with your imports(basic java knowledge needed)
    - Support my project [Only registered and activated users can see links. ]

    - Santaher0's [Only registered and activated users can see links. ]

    - Santaher0's [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Community Veteran


    Join Date
    Dec 2008
    Posts
    4,264
    Thanks given
    405
    Thanks received
    432
    Discord
    View profile
    Rep Power
    1684
    change the imports and package on bankutils
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2009
    Posts
    54
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by Jonathan View Post
    change the imports and package on bankutils
    to what ? idk
    Reply With Quote  
     

  5. #5  
    Community Veteran


    Join Date
    Dec 2008
    Posts
    4,264
    Thanks given
    405
    Thanks received
    432
    Discord
    View profile
    Rep Power
    1684
    Quote Originally Posted by im a secret View Post
    to what ? idk
    post ur bank utils.java pls
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jan 2009
    Posts
    54
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    u meen dis ?


    Reply With Quote  
     

  7. #7  
    Community Veteran


    Join Date
    Dec 2008
    Posts
    4,264
    Thanks given
    405
    Thanks received
    432
    Discord
    View profile
    Rep Power
    1684
    yes all u gotta do is copy and paste on here u dont need pic lol
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jan 2009
    Posts
    54
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    package Bulby.players.items;

    import java.util.LinkedList;
    import bulby.Engine;
    import bulby.world.items.ItemList;
    import bulby.world.items.Items;

    /**
    *
    * @author Gravediggah, Edited by Axed
    */
    public class BankUtils {
    public BankUtils() {

    }

    public boolean isNote(int itemId) {
    String description = Engine.items.getItemDescription(itemId);
    return description.toLowerCase().startsWith("swap");
    }

    public boolean canBeNoted(int itemId) {
    return (findNote(itemId)>-1);
    }

    public int findNote(int itemId) {
    for(ItemList i : Engine.items.itemLists) {
    if (i !=null) {
    if (i.itemDescription.toLowerCase().startsWith("swap" ) &&
    i.itemName.equals(Engine.items.getItemName(itemId) )) {
    return i.itemId;
    }
    }
    }
    return -1;
    }

    public int findUnNote(int itemId) {
    for(ItemList i : Engine.items.itemLists) {
    if (i !=null) {
    if (!i.itemDescription.toLowerCase().startsWith("swap ") &&
    i.itemName.equals(Engine.items.getItemName(itemId) )) {
    return i.itemId;
    }
    }
    }
    return -1;
    }
    }
    Reply With Quote  
     

  9. #9  
    #Flippergang

    Alberto's Avatar
    Join Date
    May 2008
    Posts
    756
    Thanks given
    46
    Thanks received
    40
    Rep Power
    121
    You gota put it in the right folder and make sure you save as .java not .JAVA.
    Should be in folder, Bulby ->Players-> Items
    Hopes and Dreams
    Need something programmed and willing to pay?
    Pm me.
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Jun 2007
    Age
    26
    Posts
    3,007
    Thanks given
    52
    Thanks received
    98
    Rep Power
    3208
    change

    the lowercase b's to B's on the imports.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •