Thread: Integrating Your Private Server With vBulletin - Tested 100% Works

Page 13 of 17 FirstFirst ... 31112131415 ... LastLast
Results 121 to 130 of 164
  1. #121  
    Banned

    Join Date
    May 2008
    Posts
    823
    Thanks given
    16
    Thanks received
    31
    Rep Power
    0
    You cant use 000webhost, it doesnt allow incoming SQL connections.
    Reply With Quote  
     

  2. #122  
    Klownsrus
    Guest
    you have this code wrong!
    This is why people cant host their server and get any connections from there datbase from a website like 000webhost or frihost, which is alot better than 000website, i recomend using frihost

    public static String MySQLURL = "jdbc:mysql://WEBSITE URL/DATBASENAME";
    public static String MySQLUser = "PhpmyadminUsername(Usually root)";
    public static String MySQLPassword = "PhpmyadminPassword";
    it should be this....

    public static String MySQLURL = "jdbc:mysql://localhost:3066/DatabaseName";
    public static String MySQLUser = "USER";
    public static String MySQLPassword = "PASSWORD";
    Note: Website url on needs basic url like ***************** (You dont need http:// or [Only registered and activated users can see links. ]
    if you notice, i put the port in for the mysql database, this is very helpfull if you decide to host your website forums through another hoster instead of hosting it by yourslef. All mysql servers ports are on 3306
    Reply With Quote  
     

  3. #123  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    What are you talking about?

    the jdbc:mysql: driver already defines the port. Webhosts won't allow it if they dont support incoming SQL connections.

    Reply With Quote  
     

  4. #124  
    CodyHacker
    Guest
    fucking over 10000 errors it broke my compiler u little shit
    Reply With Quote  
     

  5. #125  
    Registered Member
    Omer5454's Avatar
    Join Date
    Sep 2009
    Posts
    139
    Thanks given
    0
    Thanks received
    6
    Rep Power
    246
    Ok I have 2 errors from my savegame method that uses passhash. Here are the errors.

    Code:
    client.java:20932: passHash(java.lang.String,java.lang.String) in client cannot
    be applied to (java.lang.String)
                            characterfile.write(passHash(playerPass), 0, passHash(pl
    ayerPass)
                                                ^
    client.java:20932: passHash(java.lang.String,java.lang.String) in client cannot
    be applied to (java.lang.String)
                            characterfile.write(passHash(playerPass), 0, passHash(pl
    ayerPass)
                                                                         ^
    2 errors
    Press any key to continue . . .
    I know what the error means, but whenever I try to fix, it keeps telling me invalid user or pass when I try to login and in the command prompt it says client null disconnected. I will give you the piece of coding you need to fix on my server to get it working!

    Code:
    			characterfile.write(passHash(playerPass), 0, passHash(playerPass)
    					.length());
    So if anyone can fix that coding and give to me, this will be working completely! And ty for this because it connected me to the SQL database already!
    Ecstasy



    Reply With Quote  
     

  6. #126  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Hmm... Well, take your old passHash method, add it again but rename it to passwordHash(

    then replace passHash( (in that method, not this tutorial) with passwordHash(

    Reply With Quote  
     

  7. #127  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Quote Originally Posted by CodyHacker View Post
    fucking over 10000 errors it broke my compiler u little shit
    You have officially been diagnosed with down syndrom.

    Reply With Quote  
     

  8. #128  
    Registered Member
    Omer5454's Avatar
    Join Date
    Sep 2009
    Posts
    139
    Thanks given
    0
    Thanks received
    6
    Rep Power
    246
    ok u newblet newb, newb..

    OnTopic: I go test and see if it works!
    Ecstasy



    Reply With Quote  
     

  9. #129  
    Donator

    Ecstasy's Avatar
    Join Date
    Sep 2008
    Age
    26
    Posts
    5,032
    Thanks given
    324
    Thanks received
    596
    Rep Power
    843
    Tell me if you have any problems, I can help fix.

    Reply With Quote  
     

  10. #130  
    Registered Member
    Omer5454's Avatar
    Join Date
    Sep 2009
    Posts
    139
    Thanks given
    0
    Thanks received
    6
    Rep Power
    246
    Ok so new problem now.. I run the server, it says connected to SQL database. I open my client. I make a new vB acc to test login and check if all works. When I try to login with forums username and pass, it says invalid username or password. And in the run.bat cmd prompt it says
    Code:
    Connection from (my ip address, not showing it!): 
    Client null disconnected (my ip address, not showing it!)
    Ecstasy



    Reply With Quote  
     

Page 13 of 17 FirstFirst ... 31112131415 ... LastLast

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
  •