Thread: log in problems...Mysql integration

Results 1 to 10 of 10
  1. #1 log in problems...Mysql integration 
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    Alright so ive made a post before and have not gotten much help...

    I will make this as detailed as possible.

    Story: I have integrated the server with my forums...you need to register on my forums to log into the server. For some reason when i click log in...all my client says is im already logged in or it says that i need to register at my site.

    Some times what happens...is that it will let me log in...but if i log out or dc...it will continue to say already logged in then it says i need to register an account to play. my pass is invalid or user. I have to restart my server to log on.

    I had Ronaldo test it...and i had to restart it 3 times for him to log on.

    Please help

    My source is Woashiescape (i know its delta )
    I'm using a Deltascape client that it came with.

    Media Pics of me being registered on forums. Loading the client. Logging in. Logging out. Restarting.




    Alright now that log in pic...once im in im in...but if i log out or dc...i cant log back in unless i restart my server...


    Please please please help me!
    Reply With Quote  
     

  2. #2  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Nvm.

    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    what code do you need to see?
    Reply With Quote  
     

  4. #4  
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    Sorry but if you want help your going to have to post your snippet of code, that's if you want help.
    Reply With Quote  
     

  5. #5  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    tbh just use a different source & it'll be fixed...

    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Nov 2007
    Posts
    200
    Thanks given
    2
    Thanks received
    2
    Rep Power
    0
    Because your checking forum password (Right?) It's overwriting it (with a hashed one).

    Just a guess as i can't see your code.
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    What code do you need?

    and i was told its my log out packet??

    its like currupt or some shit?

    here is the error i get.

    on my run.bat

    Sucessfully connceted to the database.
    Loaded WorldMap In (76 ms)...
    Your server is now online.
    Loaded DialogueHandler by Crystal Meth
    Connection from c-24-126-193-46.hsd1.ga.comcast.net:57976
    [client-1-Runewep]: Loading Process Completed [Regular player, lag: 2 ms]
    Connection from c-24-126-193-46.hsd1.ga.comcast.net:58010
    [client-2-Runewep]: Loading Process Completed [Regular player, lag: 5 ms]
    ClientHandler: Client null disconnected (c-24-126-193-46.hsd1.ga.comcast.net)
    Exception encountered while parsing incoming packets from Runewep.
    java.net.SocketException: Software caused connection abort: recv failed
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream. java:129)
    at java.net.SocketInputStream.read(SocketInputStream. java:182)
    at client.packetProcess(client.java:15992)
    at PlayerHandler.process(PlayerHandler.java:273)
    at process.run(process.java:16)
    at java.lang.Thread.run(Thread.java:619)
    ClientHandler: Client Runewep disconnected (c-24-126-193-46.hsd1.ga.comcast.net)


    Reply With Quote  
     

  8. #8  
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    Seems to be somthing to do with your packets, sorry not entirely sure dude...
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    Alright. Thanks for trying...Any one else got any ideas?
    Reply With Quote  
     

  10. #10  
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    Quote Originally Posted by Vodka I C E View Post
    Because your checking forum password (Right?) It's overwriting it (with a hashed one).

    Just a guess as i can't see your code.


    Hey i noticed somethen...i think your right...

    the error always comes back as invalid user or pass...i think its having problems reading the password being used...how would i fix this?


    This is what the load game thing method is. not sure if its right...but here is what i have.

    if (loadgame == 3 || getMysqlManager().loadAccount(playerName, playerPass) == false){
    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
  •