Thread: Use my client on Battlescape?

Results 1 to 6 of 6
  1. #1 Use my client on Battlescape? 
    Registered Member

    Join Date
    Nov 2007
    Age
    25
    Posts
    644
    Thanks given
    7
    Thanks received
    6
    Rep Power
    104
    I need help editing my client so that it will connect to the battlescape 317 server that Palidino released. Also, see my thread in the server help section about this
    [Only registered and activated users can see links. ]

    What will I have to change in my client.java to what Palidino has in his BS client source's client.java so that my client will be able to connect and play on the server?

    Help please! If you need anymore info/etc just ask!
    [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Member Market Banned Market Banned

    Zee Best's Avatar
    Join Date
    Feb 2007
    Age
    29
    Posts
    3,036
    Thanks given
    24
    Thanks received
    210
    Rep Power
    1171
    Unless dalton went through the bother of rewriting his packet ids then it will take quite a while to edit your client to connect to his server.

    Basically, from what i remember he changed like all the packet id's around and added in a few other junk parts to packets to stop people doing this very thing, you will just have to go through his client and checking against yours for the packet id's or just live with his client.


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

  3. #3  
    Registered Member
    Join Date
    Apr 2008
    Posts
    199
    Thanks given
    8
    Thanks received
    8
    Rep Power
    50
    i hate how he changed the packet ids.. its really aggravating...especially when trying to add stuff
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jul 2008
    Age
    25
    Posts
    284
    Thanks given
    6
    Thanks received
    9
    Rep Power
    104
    if im not mistaken i dont think you can as dalton did around 40-50% of the server client sided? i believe thats why most people couldnt use other clients when they got the leaked version of his source? i think it would be easier just to edit daltons client
    Reply With Quote  
     

  5. #5  
    Respected Member


    Josh's Avatar
    Join Date
    Aug 2008
    Age
    27
    Posts
    2,863
    Thanks given
    6
    Thanks received
    1,342
    Rep Power
    5000
    Do what Zee Best said, it doesn't take too long.
    In the battlescape client find
    Code:
    loginPackets
    And compare w/ your client etc.



    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Nov 2007
    Age
    25
    Posts
    644
    Thanks given
    7
    Thanks received
    6
    Rep Power
    104
    Quote Originally Posted by Josh View Post
    Do what Zee Best said, it doesn't take too long.
    In the client find
    Code:
    loginPackets
    And compare w/ your client etc.



    I actually did that before :O
    I get this T2 sometimes (it's having trouble loading interfaces)
    Code:
    Error: T2 - 171,-1,-1 - 3,0,0 - 2,-3,37,
    java.lang.ArrayIndexOutOfBoundsException: 64805
            at client.parsePacket(client.java:11510)
            at client.mainGameProcessor(client.java:2964)
            at client.processGameLoop(client.java:2028)
            at RSApplet.run(RSApplet.java:109)
            at client.run(client.java:4600)
            at java.lang.Thread.run(Unknown Source)
    Error: T2 - 171,171,-1 - 3,0,0 - 87,101,108,
    java.lang.ArrayIndexOutOfBoundsException: 25964
            at client.parsePacket(client.java:11510)
            at client.mainGameProcessor(client.java:2964)
            at client.processGameLoop(client.java:2028)
            at RSApplet.run(RSApplet.java:109)
            at client.run(client.java:4600)
            at java.lang.Thread.run(Unknown Source)
    Error: T2 - 171,171,171 - 3,0,0 - 99,111,109,
    java.lang.ArrayIndexOutOfBoundsException: 28525
            at client.parsePacket(client.java:11510)
            at client.mainGameProcessor(client.java:2964)
            at client.processGameLoop(client.java:2028)
            at RSApplet.run(RSApplet.java:109)
            at client.run(client.java:4600)
            at java.lang.Thread.run(Unknown Source)
    and typically I get random T1 errors.
    exampleS:
    Code:
    Error: T1 - 198,0 - -1,-1
    Wtf?
    Error: T1 - 58,0 - -1,-1
    Wtf?
    Error: T1 - 154,0 - -1,-1
    Wtf?
    Error: T1 - 209,0 - -1,-1
    Wtf?
    Error: T1 - 7,0 - -1,-1
    Wtf?
    Error: T1 - 2,0 - -1,-1
    Wtf?
    Error: T1 - 211,0 - -1,-1
    Wtf?
    Error: T1 - 58,0 - -1,-1
    Wtf?
    (the ID of the T1 is different almost everytime)

    I did replace my entire parsePacket method with palidino's...
    and I'm pretty sure I replaced that loginpacket array correctly.

    Also. Where do I change the byte255 (default 255) being sent to the server? (in the client) Palidino's is set at 4 to accept the login. I currently have it edited in the server to 255 but I would like to change it in the client.

    It logs me on, but it doesn't get past the black screen. I disconnect instantly before it even sends "welcome to battlescape"
    [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ]
    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

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