Thread: Diff client on Battlescape?

Results 1 to 7 of 7
  1. #1 Diff client on Battlescape? 
    Registered Member

    Join Date
    Nov 2007
    Age
    28
    Posts
    644
    Thanks given
    7
    Thanks received
    6
    Rep Power
    104
    Yeah. I want to use my own client to connect to the Battlescape server source that palidino released. I need help modifying Battlescape server source and/or my client (mopar's renamed xD) so that I can play with it.

    I changed "if (byte255 != 4)"
    to "if (byte255 != 255)" now it allows me to log in, but I get a blackscreen for about 1 ms then an instant DC. It's sending my client random packets with a length of 0 (T1 error)

    Now I'm stuck. Lol... so, help please?

    also: where is the byte255 being sent to the server in the client's client.java?

    SCROLL DOWN FOR MORE INFO
    Reply With Quote  
     

  2. #2  
    Registered Member
    unk563's Avatar
    Join Date
    Jul 2009
    Posts
    230
    Thanks given
    1
    Thanks received
    11
    Rep Power
    155
    It may be some interfaces causing it. That happened to me once.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Nov 2007
    Age
    28
    Posts
    644
    Thanks given
    7
    Thanks received
    6
    Rep Power
    104
    It doesn't get to the point where it even says "hello bla bla, welcome back to battlescape" It crashes that fast.
    It's giving me t1 errors in the client which is an unsupported packet...

    Can anyone help me with this?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Nov 2009
    Posts
    45
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Deleted
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jan 2009
    Age
    31
    Posts
    2,661
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    just change the run() in client.java
    the update crap in playerhandler.java
    the _player slot stuff in playerhandler.java
    the player appearence in player.java
    the run() in server.java
    the initialize() in client.java

    change those to what all the other servers have.
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Nov 2007
    Age
    28
    Posts
    644
    Thanks given
    7
    Thanks received
    6
    Rep Power
    104
    Quote Originally Posted by supablue View Post
    It may have that thing where it only allows that client work, any way check the server.config and if it has it "client required = 0" Or sumthing
    Already changed that. It's that byte255. Default is 255, battlescapes was 4.

    Heres what happens in my client's cmd:
    Code:
    Error: T1 - 146,0 - 79,79
    Wtf?
    Error: T1 - 103,0 - -1,-1
    Wtf?
    Error: T1 - 62,0 - -1,-1
    Wtf?
    Error: T1 - 39,0 - -1,-1
    Wtf?
    Error: T1 - 192,0 - -1,-1
    Wtf?
    Error: T1 - 169,0 - -1,-1
    Wtf?
    Error: T1 - 234,0 - -1,-1
    Wtf?
    Error: T1 - 227,0 - -1,-1
    Wtf?
    Error: T1 - 7,0 - -1,-1
    Wtf?
    Error: T1 - 7,0 - -1,-1
    Wtf?
    Error: T1 - 129,0 - -1,-1
    Wtf?
    I get ONE T1 error each login attempt. They SEEM to be random packets everytime with no size...
    It crashes me before the blackscreen goes away and maps/players can load.

    Quote Originally Posted by digistr View Post
    just change the run() in client.java
    the update crap in playerhandler.java
    the _player slot stuff in playerhandler.java
    the player appearence in player.java
    the run() in server.java
    the initialize() in client.java

    change those to what all the other servers have.
    Ill try all of that. I did already copy parsePackets from battlescape's client.
    EDIT: could I get some help with this?
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Nov 2007
    Age
    28
    Posts
    644
    Thanks given
    7
    Thanks received
    6
    Rep Power
    104
    Dang. I really need some help on this. If anyone needs more info to help, just ask.
    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
  •