[Guide] TopCP

Page 1 of 3 123 LastLast
Results 1 to 15 of 36
  1. #1
    Alpha Member Heaven is offline
    MemberRank
    Feb 2008 Join Date
    1,707Posts

    [Guide] TopCP

    ALL CREDITS GO TO SJIKKE!!
    I will explain how did i do it, there are other ways and many other ways i will focuse in a easy way.

    Get - ToPCP


    ToPCP --> http://forum.ragezone.com/redirector...3Fd%3DWVOIQER3

    Install - XAMPP

    First of all we will dowload XAMPP, wich will provied use a service of apache(php)/mysql and other...

    http://www.apachefriends.org/download.php?xampp-win32-1.6.6a-installer.exe

    Once download is done. Time to install it. Its all easy asa do next next and next. Until it finished.

    Time to run it, after installit a new icon should appear in your destop.



    Doble click it.



    And now then where it says Apache, press start. With this now php is running.

    Install - ToPCP

    Now is time to "install" ToPCP, first of all after download ToPCP, and exctract it, we copy the folder where ToPCP is in. And we paste where we installed xampp.

    If you didnt touch the destination, its in C: so we go to "C:/XAMPP/HTDOCS/" and paste here the folder that contains ToPCP.



    With this ToPCP is alredy "installed".

    To acces ToPCP you will acces like this http://localhost/nameofthefolder/ in your case http://localhost/ToPCP/.

    Configure - ToPCP


    Now that that is done run the test.php how to do so? http://localhost/nameofthefolder/test.php

    It will give a number our case is "0" your might be different.

    Then lest edit the config.php with notepad. And find this line.

    Quote
    if(strcasecmp($line[2],$eng_job) == 2) // YOU MIGHT NEED TO CHANGE THIS!!!

    Where it says 2 put the number test.php gived to you. Ok now lets head at the start of config.php. You will see this:

    Quote
    $host = '5.205.63.65';
    $username = 'sa';
    $password = 'ola';
    $chinese_jobs = false; //are the jobs stored in chinese?
    $count_gm_in_top = true; // Should GMs be counted in the Top 10 lists?
    $guild_name_change_price = 100000; // the amount of money it should cost for a guild leader to


    The host you should put the ip you use to conect to your server.
    Username -->is the sa dont not touch it.
    Password -->the one from when you installed the mssql, if you dont rember, you can go change it the password in the mssql for the username sa. *IMPORTANT* maybe the password is nothing '' try it too.

    Save the config.php, and go to: http://localhost/nameofthefolder/ and enjoy this great admin and a puer gemmer ^^ for your chars xD If all works will apear this.



    If no check it all again before asking, and if its some sql problem or some query or something ask Sjikke shes de genius ^^

    ERROR

    Quote
    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 5.205.63.65 in C:\xampp\htdocs\ToPCP\config.php on line 17
    Can't connect to DB!!

    If, show this your services of db are stop, start it.

    -If you dont see the character and account for edit is that you logged with and account that dont have set the permisions of gm lvl to 99. If so go to the open the gamedb the table account and put the gm colum to 99 to your account

    is this ToPCP compatible for 1.35 database?

    Warning: mssql_query() [function.mssql-query]: message: Cannot insert explicit value for identity column in table 'account_login' when IDENTITY_INSERT is set to OFF. (severity 16) in C:\xampp\htdocs\PrivateServer\config.php on line 23

    Warning: mssql_query() [function.mssql-query]: Query failed in C:\xampp\htdocs\PrivateServer\config.php on line 23



    Do this....
    Third time I repeat myself. The database has changed, so it wont work that easily on the 1.35 database.

    The quickest fix is this:

    Look for (in reg.php)
    Code:
    do_query("INSERT INTO account_login (id,name,password,originalPassword) VALUES ('$id','$login','$encr_pass','$pass')","AccountServer");
    Change into
    Code:
    do_query("INSERT INTO account_login (name,password,originalPassword) VALUES ('$login','$encr_pass','$pass')","AccountServer");
    Yeay you can register accounts again!!! Hurray
    Last edited by Heaven; 18-10-08 at 02:35 PM.


  2. #2
    Enthusiast superkilla is offline
    MemberRank
    Nov 2005 Join Date
    28Posts

    Re: [Guide]TopCP

    what version of TOP does this work with?

  3. #3
    Alpha Member Heaven is offline
    MemberRank
    Feb 2008 Join Date
    1,707Posts

    Re: [Guide]TopCP

    Any version???? Dude this is for a registering website..rAwr

  4. #4
    OLDER BRO matrixane is offline
    MemberRank
    Nov 2005 Join Date
    ArgentinaLocation
    1,187Posts

    Re: [Guide]TopCP

    any can reupload this data stuff.thanks

  5. #5
    Apprentice ISkullI is offline
    MemberRank
    Aug 2008 Join Date
    11Posts

    Re: [Guide]TopCP

    Code:
    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: local in C:\xampp\htdocs\ToPCP\config.php on line 17
    Can't connect to DB!!!
    Checked out everythin from the other post (jae's dbbackup.exe files) and i've got the sql runnin, and still get this error.

  6. #6
    Carri3xFoFonG xcaliboper is offline
    MemberRank
    Apr 2004 Join Date
    Pirates LegacyLocation
    237Posts

    Re: [Guide]TopCP

    Link for TopCP needed

  7. #7
    Apprentice ninjapls is offline
    MemberRank
    Sep 2008 Join Date
    10Posts

    Re: [Guide]TopCP

    Quote Originally Posted by kuniiyo View Post

    Save the config.php, and go to: http://localhost/nameofthefolder/ and enjoy this great admin and a puer gemmer ^^ for your chars xD If all works will apear this.
    You can use this program to gem weapons/armors??
    if so tell me how.

  8. #8
    Apprentice patoyuko is offline
    MemberRank
    Aug 2008 Join Date
    6Posts

    Question Re: [Guide]TopCP

    omg what its this
    Parse error: syntax error, unexpected T_DNUMBER, expecting T_VARIABLE or '$' in C:\xampp\htdocs\ToPCP\config.php on line 17
    thats say in http://localhost/ToPCP/
    pliss need help maybe my pass on database user r incorrect?
    but i cant change...or how to change it?
    help!! help!!!:punch:
    Last edited by patoyuko; 16-09-08 at 06:06 PM. Reason: wrong...

  9. #9
    Account Upgraded | Title Enabled! Jake? is offline
    MemberRank
    Jun 2007 Join Date
    United KingdomLocation
    390Posts

    Re: [Guide]TopCP

    Dead link. >.>

  10. #10
    Alpha Member Heaven is offline
    MemberRank
    Feb 2008 Join Date
    1,707Posts

    Re: [Guide]TopCP

    Damnit, if any of my friend have it still, I will re-upload it.. Sorry guys..

  11. #11
    Apprentice XxAnequinxX is offline
    MemberRank
    Sep 2008 Join Date
    13Posts

    Question Re: [Guide]TopCP

    How do I fix this error?
    Parse error: syntax error, unexpected T_DNUMBER in C:\xampp\htdocs\top_cp\config.php on line 10

  12. #12
    is bored Link404 is offline
    MemberRank
    Aug 2008 Join Date
    427Posts

    Re: [Guide]TopCP


  13. #13
    Alpha Member Heaven is offline
    MemberRank
    Feb 2008 Join Date
    1,707Posts

    Re: [Guide]TopCP

    Thank you very much, I will post it on my original post. Let me look at it first though.

  14. #14
    Novice firdah is offline
    MemberRank
    Oct 2008 Join Date
    2Posts

    Re: [Guide]TopCP

    erm erm can giv me sum example to do my own database?blur...

  15. #15
    Apprentice s313n3 is offline
    MemberRank
    Oct 2008 Join Date
    9Posts

    Re: [Guide]TopCP

    i need help: the problem...
    I can connect to my TopCP from my pc, but when i give the link to other ppl, shows an error, i dunno why cuz i dont got http:localhost, i got my hamachi ip.. if some1 knows how to help me tyvm ^^



Page 1 of 3 123 LastLast

Advertisement