Thread: Buying Zarketh Client\Server fix?

Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1 Buying Zarketh Client\Server fix? 
    Registered Member
    FuckThePolice's Avatar
    Join Date
    Feb 2009
    Age
    27
    Posts
    846
    Thanks given
    29
    Thanks received
    57
    Rep Power
    87
    Alright, I'm paying either 20m RS3 or 2m OSRS Gp to someone who can get my Zarketh Client & Server working, I'm not talking about the MySQL etc, I'm talking about the logging in, It tells me invalid username or password. I'm needing to be able to login & send friends client and they can login (I understand I have to portforward and all, not saying to do that I just mean like if I sent it to someone else htey won't have the same problem as me) and I would like you to explain to me what & how you are doing it it will be either over teamviewer. I will NOT help anyone get the SQL setup etc, so don't bother adding me if thats what you want.

    Thanks in advanced, I do believe the problem is around either.. Forum Integration or dir problems or anti leech? not sure

    Skype: Max_06933

    or pm me on here.
    Reply With Quote  
     

  2. #2  
    doge doge doge


    Join Date
    Dec 2013
    Posts
    92
    Thanks given
    2
    Thanks received
    11
    Rep Power
    11
    Hey , you just should make new table to sql.. user table missing at ther
    Reply With Quote  
     

  3. #3  
    Registered Member
    FuckThePolice's Avatar
    Join Date
    Feb 2009
    Age
    27
    Posts
    846
    Thanks given
    29
    Thanks received
    57
    Rep Power
    87
    Quote Originally Posted by Huzky View Post
    Hey , you just should make new table to sql.. user table missing at ther
    I'm not sure exactly what you're saying, I'm not good with SQL :l I mean I haven't even found anything that is trying to load users from SQL.. I've searched everywhere ;s
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    May 2013
    Posts
    1
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I don't have a complete fix, but I can point you in the right direction. I know that the MySQL is completely unrelated. If you look at the Constants.java, you will see an algorithm that creates paths to the folders containing character data, which are all empty by default. There are methods in PlayerLoading.java that create and read the files (all of the data is serialized, so the files aren't directly editable using text). I believe there was an anti-leech put in, or some of the developers deleted some code, because you can see a couple questionable comments on line ~113 on PlayerLoading.java where something could have been removed.

    Here is a list of all the associated *server* files and how parts of them function:

    RS2LoginDecoder.java -

    This is where it tells world.java to start the login process and fills PlayerDetails with the credentials entered in the client: line ~113:
    Code:
     World.getWorld().loadPlayer(new PlayerDetails(context.getChannel(), username, password, version, inCipher, outCipher));

    Player.java -

    This file is too huge to be helpful, but I found this constructor that was called in one of the beforementioned files: line ~879
    Code:
    public Player(Channel channel) {

    World.java -

    Under the loadPlayer method, there will be a system of string checking that will validate the credentials, but there is no formal line of code saying to create a new account if one doesn't already match...I think this is where the problem is. There is already a method in PlayerLoading that *might* be able to flawlessly create a player file when called.

    PlayerLoading.java -

    This just handles all the IO and sets the player credentials in the player class.

    The client sends the login request directly to the server and waits for a response. The client will then be sent a code to say what the display message will be, and whether or not the client will log a player in. The method starts at line ~8855 (Private void login()) of client.java (client file). Int k represents the returned server response saying what to do. If the code is 2, it is a successful login, otherwise, there are unique error messages for each scenario.

    This is all I got, and I haven't been able to successfully make it work either (it has been a few hours ). You will probably have to type new code, but try to focus on accessing the existing methods in PlayerLading.java. Good luck friend! if you find a solution, lemme know
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2014
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Nvm sorry.
    Reply With Quote  
     

  6. #6  
    Stand guard at the door of your mind

    Proto's Avatar
    Join Date
    Jul 2011
    Age
    26
    Posts
    1,234
    Thanks given
    152
    Thanks received
    413
    Rep Power
    462
    Quote Originally Posted by Insured View Post
    I don't have a complete fix, but I can point you in the right direction. I know that the MySQL is completely unrelated. If you look at the Constants.java, you will see an algorithm that creates paths to the folders containing character data, which are all empty by default. There are methods in PlayerLoading.java that create and read the files (all of the data is serialized, so the files aren't directly editable using text). I believe there was an anti-leech put in, or some of the developers deleted some code, because you can see a couple questionable comments on line ~113 on PlayerLoading.java where something could have been removed.

    Here is a list of all the associated *server* files and how parts of them function:

    RS2LoginDecoder.java -

    This is where it tells world.java to start the login process and fills PlayerDetails with the credentials entered in the client: line ~113:
    Code:
     World.getWorld().loadPlayer(new PlayerDetails(context.getChannel(), username, password, version, inCipher, outCipher));

    Player.java -

    This file is too huge to be helpful, but I found this constructor that was called in one of the beforementioned files: line ~879
    Code:
    public Player(Channel channel) {

    World.java -

    Under the loadPlayer method, there will be a system of string checking that will validate the credentials, but there is no formal line of code saying to create a new account if one doesn't already match...I think this is where the problem is. There is already a method in PlayerLoading that *might* be able to flawlessly create a player file when called.

    PlayerLoading.java -

    This just handles all the IO and sets the player credentials in the player class.

    The client sends the login request directly to the server and waits for a response. The client will then be sent a code to say what the display message will be, and whether or not the client will log a player in. The method starts at line ~8855 (Private void login()) of client.java (client file). Int k represents the returned server response saying what to do. If the code is 2, it is a successful login, otherwise, there are unique error messages for each scenario.

    This is all I got, and I haven't been able to successfully make it work either (it has been a few hours ). You will probably have to type new code, but try to focus on accessing the existing methods in PlayerLading.java. Good luck friend! if you find a solution, lemme know
    You are over complicating it my friend. There was no anti-leech in place. hint - your problem is in the login server
    [Only registered and activated users can see links. ]



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

  7. #7  
    Registered Member
    Join Date
    Feb 2014
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Proto View Post
    You are over complicating it my friend. There was no anti-leech in place. hint - your problem is in the login server

    Amen. Proto did you screw up the gwd on purpose or incomplete? Will pay you 25 bucks to advise me on how to fix.
    Reply With Quote  
     

  8. #8  
    Stand guard at the door of your mind

    Proto's Avatar
    Join Date
    Jul 2011
    Age
    26
    Posts
    1,234
    Thanks given
    152
    Thanks received
    413
    Rep Power
    462
    Quote Originally Posted by il0ve View Post
    Amen. Proto did you screw up the gwd on purpose or incomplete?
    Not sure dont remember.
    [Only registered and activated users can see links. ]



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

  9. #9  
    Registered Member
    Join Date
    Feb 2014
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Proto View Post
    Not sure dont remember.
    meh, alright. How do u add objects on the map though? ObjectMap.bin isn't cooperating.
    Reply With Quote  
     

  10. #10  
    Registered Member
    FuckThePolice's Avatar
    Join Date
    Feb 2009
    Age
    27
    Posts
    846
    Thanks given
    29
    Thanks received
    57
    Rep Power
    87
    Quote Originally Posted by Proto View Post
    You are over complicating it my friend. There was no anti-leech in place. hint - your problem is in the login server
    Thanks for the hint Proto but damnit, If only I knew where to start looking! lol
    Reply With Quote  
     

Page 1 of 3 123 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. Buying: PI Client / Server
    By Lies in forum Buying
    Replies: 1
    Last Post: 02-06-2014, 04:29 PM
  2. Buying Good Client/Server Help
    By .Optimum in forum Buying
    Replies: 3
    Last Post: 02-05-2014, 07:18 PM
  3. [PI Rsps] client/Server Fix/Add/Glitchs/Bugs
    By splitpk317 in forum Buying
    Replies: 5
    Last Post: 11-09-2013, 02:00 PM
  4. Buying a client server for pi
    By sonscape in forum Buying
    Replies: 0
    Last Post: 11-16-2012, 09:07 PM
  5. Replies: 5
    Last Post: 04-23-2010, 11:33 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
  •