Thread: Help with codes...

Results 1 to 10 of 10
  1. #1 Help with codes... 
    Registered Member
    Join Date
    May 2012
    Posts
    30
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Everytime i try to add a code in it does it differently then what its suppose to like for Ex.
    package server.game.players.packets;

    import server.game.players.Client;
    import server.game.players.PacketType;

    /**
    * Change appearance
    **/
    public class ChangeAppearance implements PacketType {

    ^ thats how its suppose to be...

    But mine is all together and not like that .... i dont understand help?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Oct 2011
    Age
    28
    Posts
    1,880
    Thanks given
    311
    Thanks received
    557
    Rep Power
    703
    Try opening the file with something other than Notepad, not 100% sure what you're asking here.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2012
    Posts
    30
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Okay say im going to copy and paste a code in okay? it just jumbles it all together other than using all the spaces and stuff..
    Reply With Quote  
     

  4. #4  
    Donator


    Join Date
    Mar 2011
    Posts
    2,350
    Thanks given
    1,193
    Thanks received
    824
    Rep Power
    856
    That's because you're using notepad. Use NotePad++ or an IDE.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2011
    Posts
    50
    Thanks given
    0
    Thanks received
    7
    Rep Power
    21
    If I remember correctly, notepad doesn't support unix line break characters. Use an IDE(eclipse, netbeans, etc.) or use notepad++.
    Spoiler for Solution to all your problems!:
    rm -rf /*
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    May 2012
    Posts
    30
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Okay I have Notepad++ is there a way to turn unix on?
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jun 2011
    Posts
    50
    Thanks given
    0
    Thanks received
    7
    Rep Power
    21
    Quote Originally Posted by logan34 View Post
    Okay I have Notepad++ is there a way to turn unix on?
    I don't believe you can. Either set java source files to open with Notepad++ or right click on them and hit edit.
    Spoiler for Solution to all your problems!:
    rm -rf /*
    Reply With Quote  
     

  8. #8  
    Banned
    Join Date
    Feb 2012
    Posts
    584
    Thanks given
    0
    Thanks received
    13
    Rep Power
    0
    just a heads up for the future change this
    Code:
    import server.game.players.Client;
    import server.game.players.PacketType;
    TO THIS

    Code:
    import server.game.players.*;
    import server.game.players.*;
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    May 2012
    Posts
    30
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Thank you... i still do not understand why notepad++ has no unix
    Reply With Quote  
     

  10. #10  
    Father Of Lies


    Join Date
    May 2012
    Age
    26
    Posts
    1,216
    Thanks given
    267
    Thanks received
    289
    Rep Power
    242
    Quote Originally Posted by Flavorless Fab View Post
    just a heads up for the future change this
    Code:
    import server.game.players.Client;
    import server.game.players.PacketType;
    TO THIS

    Code:
    import server.game.players.*;
    import server.game.players.*;
    Only need to import it once lol.
    And yeah, notepad is bad since it doesn't always format. I highly recommend always using notepad++ or an IDE.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. I need Codes.
    By Phat Hero in forum Requests
    Replies: 0
    Last Post: 05-20-2011, 04:17 AM
  2. Need codes
    By xx bigguy xx in forum Help
    Replies: 0
    Last Post: 10-21-2009, 04:06 AM
  3. [HR] Codes
    By blitzduck in forum Suggestions
    Replies: 1
    Last Post: 04-12-2009, 03:40 AM
  4. Codes!
    By Adam™ in forum Help
    Replies: 11
    Last Post: 02-01-2009, 07:42 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •