Thread: Double Login Same Account?

Results 1 to 3 of 3
  1. #1 Double Login Same Account? 
    Registered Member
    Join Date
    May 2012
    Posts
    518
    Thanks given
    43
    Thanks received
    13
    Rep Power
    14
    Im not sure if this is a client or server sided problem. But basically if im logged in on one client, and then attempt to log into the same account on another client, it lets me log in, but only to a black screen. You can see the chatbox and inventory ect, but it's a black screen. And It shows my character logging in and out on the other client.
    OFFERING GOOD SERVICES!
    http://www.rune-server.org/market/vi...aces-more.html
    Spoiler for My Vouches:
    Quote Originally Posted by Collin2234 View Post
    Vouch! He did my webclient, great work and a nice guy! Thanks.
    Quote Originally Posted by Clevv View Post
    Vouch for this guy. He went first. Well trusted and a nice guy.
    Quote Originally Posted by x25xquinton View Post
    VOUCH- He basically made my summoning interface for me, summoning tab witchever. Payed and went smooth.
    Reply With Quote  
     

  2. #2  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    Paste your RS2LoginProtocolDecoder class.
    Reply With Quote  
     

  3. #3  
    Registered Member
    _Ali's Avatar
    Join Date
    Apr 2014
    Posts
    382
    Thanks given
    67
    Thanks received
    147
    Rep Power
    252
    Without checking the class, I assume you don't have a condition to check if the player is already logged in. You can call the isplayeron method from your player handler class to check if the person is already logged in, and if so returncode that will show you are already logged in.

    You can also store all logins using sql into a table, and like so insert a condition, if the playername exists in the table then deny login. You would then have to remove the playersname from the table when they logout/dc (in destruct method in client), which you can do so by calling a method that will query the database and remove the players name from the table if exists. Also you can do the same in your update command, so during shutdown of server itll clear the full table, like so using a method that will truncate the table that stores the logins.
    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

Similar Threads

  1. Replies: 1
    Last Post: 07-07-2012, 04:48 AM
  2. Replies: 3
    Last Post: 04-10-2009, 05:29 PM
  3. Dupe (Same Account Twice)
    By Mr King Spiffy in forum Help
    Replies: 5
    Last Post: 04-01-2009, 07:25 AM
  4. Logging on same account dupe
    By Mr King Spiffy in forum Help
    Replies: 4
    Last Post: 03-31-2009, 03:31 AM
  5. How to have same accounts in 2 worlds
    By Jessemills1 in forum Tutorials
    Replies: 9
    Last Post: 05-18-2008, 10:51 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
  •