Thread: Song playing on 474 client

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Song playing on 474 client 
    Registered Member
    Join Date
    Mar 2018
    Posts
    24
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Does this work for anyone? I can't get it to work for some reason.

    Code:
    	public ActionSender playSong(int id) {		
    		PacketBuilder bldr = new PacketBuilder(121);
    		bldr.putLEShortA(id);
    		player.getSession().write(bldr.toPacket());
    		return this;
    	}
    Everytime I activate this, I get this message;

    Code:
    apr. 02, 2018 1:57:33 P.M. org.apache.mina.filter.firewall.ConnectionThrottleFilter isConnectionOk
    WARNING: Session connection interval too short
    apr. 02, 2018 1:57:33 P.M. org.apache.mina.filter.firewall.ConnectionThrottleFilter sessionCreated
    WARNING: Connections coming in too fast; closing.
    Maybe I'm looking over something...anyone suggestions?

    EDIT: The client cache index is empty, you have to add the songs into the cache
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Mar 2018
    Posts
    24
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Anyone?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2018
    Posts
    24
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Hello anyone?
    Reply With Quote  
     

  4. #4  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    try:
    Code:
    	public ActionSender playSong(int id, int delay) {		
    		PacketBuilder bldr = new PacketBuilder(121);
    		bldr.putLEShortA(id);
                    bldr.putLEShortA(delay);
    		player.getSession().write(bldr.toPacket());
    		return this;
    	}


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Mar 2018
    Posts
    24
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by arch337 View Post
    try:
    Code:
    	public ActionSender playSong(int id, int delay) {		
    		PacketBuilder bldr = new PacketBuilder(121);
    		bldr.putLEShortA(id);
                    bldr.putLEShortA(delay);
    		player.getSession().write(bldr.toPacket());
    		return this;
    	}
    Not working, does this work for you?
    Where did you get it from?

    In client looks like this;

    Code:
    			if ((Class37_Sub9_Sub17.anInt3225 ^ 0xffffffff) == -122) {
    				int i_46_ = Class83.byteVector.method956(2);
    				if (i_46_ == 65535) {
    					i_46_ = -1;
    				}
    				
    				Class37_Sub9_Sub10.method805((byte) -75, i_46_);
    				Class37_Sub9_Sub17.anInt3225 = -1;
    				return true;
    			}
    So what I have should be okay, but for some reason something is off..
    Reply With Quote  
     

  6. #6  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Lifetime View Post
    Not working, does this work for you?
    Where did you get it from?

    In client looks like this;

    Code:
    			if ((Class37_Sub9_Sub17.anInt3225 ^ 0xffffffff) == -122) {
    				int i_46_ = Class83.byteVector.method956(2);
    				if (i_46_ == 65535) {
    					i_46_ = -1;
    				}
    				
    				Class37_Sub9_Sub10.method805((byte) -75, i_46_);
    				Class37_Sub9_Sub17.anInt3225 = -1;
    				return true;
    			}
    So what I have should be okay, but for some reason something is off..
    Are you sure that is the right one? As far as I can see it says '-122'


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  7. #7  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Quote Originally Posted by arch337 View Post
    Are you sure that is the right one? As far as I can see it says '-122'
    That's bitwise XOR operation.
    -122 ^ 0xffffffff = 121
    121 ^ 0xffffffff = -122

    That packet is not the same by the way, packets get scrambled. You're both displaying different revisions from each-other.
    Attached image
    Reply With Quote  
     

  8. #8  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Kris View Post
    That's bitwise XOR operation.
    -122 ^ 0xffffffff = 121
    121 ^ 0xffffffff = -122

    That packet is not the same by the way, packets get scrambled. You're both displaying different revisions from each-other.
    Alright, cheers for the clear up.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Mar 2018
    Posts
    24
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11


    Anyone?
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Mar 2018
    Posts
    24
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    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

Similar Threads

  1. being able to make songs play on client
    By DEATHPLAGUE in forum Help
    Replies: 0
    Last Post: 05-05-2010, 12:14 AM
  2. LOL Animation config editing on 474 client
    By Harry in forum Show-off
    Replies: 13
    Last Post: 08-13-2009, 10:17 PM
  3. Replies: 9
    Last Post: 06-14-2009, 06:21 PM
  4. Replies: 40
    Last Post: 05-10-2009, 09:12 PM
  5. Replies: 2
    Last Post: 04-22-2009, 01:19 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
  •