Thread: Sounds & Music

Page 15 of 19 FirstFirst ... 51314151617 ... LastLast
Results 141 to 150 of 182
  1. #141  
    Registered Member
    Join Date
    May 2012
    Posts
    183
    Thanks given
    5
    Thanks received
    17
    Rep Power
    47
    I'm so confused, I keep getting T1 errors on login. It plays the title screen music, logs in and loads inventory and character etc for about 1 second then logs off with a T1 error.

    I don't get what you guys are saying about a resetFolow() in a packet 174, I thought packet 174 was for the sounds playing...

    EDIT: My T1 error indicates that something is up with packet 173, any ideas?
    Reply With Quote  
     

  2. #142  
    Registered Member
    Join Date
    May 2012
    Posts
    183
    Thanks given
    5
    Thanks received
    17
    Rep Power
    47
    Crap, I added this to my server but it wouldn't work so I went back to a clean client, and ripped the added code server side out but the client still gives me T1 errors, something with packet 173...
    Reply With Quote  
     

  3. #143  
    Registered Member
    dead fury's Avatar
    Join Date
    Dec 2009
    Posts
    714
    Thanks given
    123
    Thanks received
    219
    Rep Power
    163
    Well done! Have no use for it, but very well done ! Thanks for releasing and helping this community.

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #144 This is my error 
    Registered Member
    Join Date
    Nov 2012
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Stream.java:6: error: cannot access signlink
    import sign.signlink;
    ^
    bad source file: .\sign\signlink.java
    file does not contain class sign.signlink
    Please remove or make sure it appears in the correct subdirectory of the sou
    rcepath.
    Press any key to continue . . .


    Plus i don't know where the client and server packets are located at? You never stated where galkon are they meant to be in client.java, if somebody can please help me through teamviewer that would be sweeet.
    Reply With Quote  
     

  5. #145  
    Registered Member
    Emnesty's Avatar
    Join Date
    Jan 2012
    Posts
    1,819
    Thanks given
    441
    Thanks received
    340
    Rep Power
    211
    When log in, I get tons of errors..and I disconnect. Yes I did change the packet size (Try'd 6 & 7).
    NOTE: This is just for sounds.



    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #146  
    Registered Member
    Stratified's Avatar
    Join Date
    Nov 2012
    Age
    22
    Posts
    1,200
    Thanks given
    1,539
    Thanks received
    223
    Rep Power
    524
    Server errors:
    Code:
    src\server\Server.java:256: error: cannot find symbol                if(c.getOut() != null && c != null && id != -1) {
                       ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:256: error: cannot find symbol
                    if(c.getOut() != null && c != null && id != -1) {
                                             ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:257: error: cannot find symbol
                            c.getOut().putOpCode(174);
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:258: error: cannot find symbol
                            c.getOut().writeShort(id);
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:259: error: cannot find symbol
                            c.getOut().writeByte(type);
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:260: error: cannot find symbol
                            c.getOut().writeShort(delay);
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:261: error: cannot find symbol
                            c.getOut().writeShort(volume);
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:262: error: cannot find symbol
                            c.flushOutStream();
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:266: error: cannot find symbol
                    if (c.getOut() != null && c != null && id != -1) {
                        ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:266: error: cannot find symbol
                    if (c.getOut() != null && c != null && id != -1) {
                                              ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:267: error: cannot find symbol
                            c.getOut().putOpCode(74);
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:268: error: cannot find symbol
                            c.getOut().writeWordBigEndian(id);
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:273: error: cannot find symbol
                    if (c.getOut() != null && c != null) {
                        ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:273: error: cannot find symbol
                    if (c.getOut() != null && c != null) {
                                              ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:274: error: cannot find symbol
                            c.getOut().putOpCode(121);
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:275: error: cannot find symbol
                            c.getOut().writeWordBigEndian(id);
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:276: error: cannot find symbol
                            c.getOut().writeWordBigEndian(songDelay);
                            ^
      symbol:   variable c
      location: class Server
    src\server\Server.java:277: error: cannot find symbol
                            c.flushOutStream();
                            ^
      symbol:   variable c
      location: class Server
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    18 errors
    Press any key to continue . . .
    Client errors:
    Code:
    client.java:2407: error: cannot find symbol
                                    previousSong = 0;
                                    ^
      symbol:   variable previousSong
      location: class client
    .\SoundPlayer.java:10: error: duplicate class: src.SoundPlayer
    public class SoundPlayer implements Runnable {
           ^
    client.java:2412: error: cannot access SoundPlayer
                    SoundPlayer.setVolume(k);
                    ^
      bad source file: .\SoundPlayer.java
        file does not contain class SoundPlayer
        Please remove or make sure it appears in the correct subdirectory of the sou
    rcepath.
    3 errors
    Press any key to continue . . .

    Reply With Quote  
     

  7. #147  
    Banned

    Join Date
    Apr 2012
    Posts
    806
    Thanks given
    179
    Thanks received
    125
    Rep Power
    0
    I would like to thank you for this tutorial galkon
    Reply With Quote  
     

  8. #148  
    Banned

    Join Date
    May 2011
    Posts
    1,785
    Thanks given
    854
    Thanks received
    853
    Rep Power
    0
    Quote Originally Posted by Angerfist View Post
    I only added the music part for now, but I don't quite understand this part.



    Also, I do not have method 'getOut()'

    Any help, please?
    getOut() = getOutStream()

    that part is where you replace your packets in client.java look in the switch statement in the method; parsePacket
    Reply With Quote  
     

  9. #149  
    Registered Member Rojeh's Avatar
    Join Date
    Jun 2012
    Age
    24
    Posts
    325
    Thanks given
    6
    Thanks received
    15
    Rep Power
    47
    Edit~

    NVM... Your explanation is shit bro.
    Not saying it doesn't work but the way you explain stuff is dumb. (If you ever think about being a teacher i suggest you to think twice before doing it.)

    -Rojeh

    Doing my best
    Reply With Quote  
     

  10. #150  
    Banned
    Join Date
    May 2013
    Posts
    231
    Thanks given
    9
    Thanks received
    54
    Rep Power
    0
    This is a snippet.. not a tutorial..
    Reply With Quote  
     

Page 15 of 19 FirstFirst ... 51314151617 ... LastLast

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. Replies: 7
    Last Post: 03-14-2012, 02:54 PM
  2. Sounds and Music
    By Dennis in forum Help
    Replies: 2
    Last Post: 06-01-2010, 01:31 AM
  3. Music and Sounds
    By Viii in forum Tutorials
    Replies: 43
    Last Post: 07-05-2009, 01:12 PM
  4. Sounds, music and more.
    By Inside Sin in forum Requests
    Replies: 0
    Last Post: 10-05-2008, 06:40 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •